Mercurial > gemma
comparison client/src/components/App.vue @ 2384:c06b001dc26b
client: improved popup implementation
For deleting users and templates there was a more or less quick n' dirty implementation of
a confirmation dialog/popup. Since we need this kind of dialog in several more places I
generalized the implementation a bit and made it more robust.
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Mon, 25 Feb 2019 13:11:30 +0100 |
parents | c69432c1c4ac |
children | e120631797f6 |
comparison
equal
deleted
inserted
replaced
2383:8d025f85a3fe | 2384:c06b001dc26b |
---|---|
27 </div> | 27 </div> |
28 <Zoom v-if="isMapVisible"></Zoom> | 28 <Zoom v-if="isMapVisible"></Zoom> |
29 </div> | 29 </div> |
30 <div class="d-flex flex-column"><router-view /></div> | 30 <div class="d-flex flex-column"><router-view /></div> |
31 <vue-snotify></vue-snotify> | 31 <vue-snotify></vue-snotify> |
32 <Popup /> | |
32 </div> | 33 </div> |
33 </template> | 34 </template> |
34 | 35 |
35 <style lang="scss" scoped> | 36 <style lang="scss" scoped> |
36 .small { | 37 .small { |
112 Identify: () => import("./identify/Identify"), | 113 Identify: () => import("./identify/Identify"), |
113 Layers: () => import("./layers/Layers"), | 114 Layers: () => import("./layers/Layers"), |
114 Sidebar: () => import("./Sidebar"), | 115 Sidebar: () => import("./Sidebar"), |
115 Search: () => import("./Search"), | 116 Search: () => import("./Search"), |
116 Contextbox: () => import("./Contextbox"), | 117 Contextbox: () => import("./Contextbox"), |
117 Toolbar: () => import("./toolbar/Toolbar") | 118 Toolbar: () => import("./toolbar/Toolbar"), |
119 Popup: () => import("./Popup") | |
118 } | 120 } |
119 }; | 121 }; |
120 </script> | 122 </script> |