Mercurial > gemma
comparison client/src/components/Sidebar.vue @ 3309:80037790032d
client: fully implemented sections
- added map layer with new style
- implemented in identify tool, map popup and fairway availability dialog
- added sidebar menu item
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Fri, 17 May 2019 12:45:13 +0200 |
parents | 1b8bb4f89227 |
children | 954f8b751fb0 |
comparison
equal
deleted
inserted
replaced
3308:1128b29aed8b | 3309:80037790032d |
---|---|
10 > | 10 > |
11 <font-awesome-icon class="fa-fw" icon="bars" /> | 11 <font-awesome-icon class="fa-fw" icon="bars" /> |
12 </div> | 12 </div> |
13 <div class="menu text-nowrap text-left"> | 13 <div class="menu text-nowrap text-left"> |
14 <router-link to="/"> | 14 <router-link to="/"> |
15 <font-awesome-icon | 15 <font-awesome-icon class="mr-2" fixed-width icon="map-marked-alt" /> |
16 class="fa-fw mr-2" | |
17 fixed-width | |
18 icon="map-marked-alt" | |
19 /> | |
20 <span class="fix-trans-space" v-translate>Map</span> | 16 <span class="fix-trans-space" v-translate>Map</span> |
21 </router-link> | 17 </router-link> |
22 <router-link to="/bottlenecks"> | 18 <router-link to="/bottlenecks"> |
23 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="ship" /> | 19 <font-awesome-icon class="mr-2" fixed-width icon="ship" /> |
24 <span class="fix-trans-space" v-translate>Bottlenecks</span> | 20 <span class="fix-trans-space" v-translate>Bottlenecks</span> |
25 </router-link> | 21 </router-link> |
26 <div v-if="isWaterwayAdmin"> | 22 <div v-if="isWaterwayAdmin"> |
27 <router-link to="/imports/overview" class="position-relative"> | 23 <router-link to="/imports/overview" class="position-relative"> |
28 <font-awesome-icon | 24 <font-awesome-icon |
29 class="fa-fw mr-2" | 25 class="mr-2" |
30 fixed-width | 26 fixed-width |
31 icon="clipboard-check" | 27 icon="clipboard-check" |
32 /> | 28 /> |
33 <span class="fix-trans-space" v-translate>Import review</span> | 29 <span class="fix-trans-space" v-translate>Import review</span> |
34 <span class="indicator" v-if="showSidebar && stagingNotifications"> | 30 <span class="indicator" v-if="showSidebar && stagingNotifications"> |
36 </span> | 32 </span> |
37 </router-link> | 33 </router-link> |
38 </div> | 34 </div> |
39 <div v-if="isSysAdmin"> | 35 <div v-if="isSysAdmin"> |
40 <router-link to="/stretches"> | 36 <router-link to="/stretches"> |
41 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="road" /> | 37 <font-awesome-icon class="mr-2" fixed-width icon="road" /> |
42 <span class="fix-trans-space" v-translate>Define stretches</span> | 38 <span class="fix-trans-space" v-translate>Define stretches</span> |
43 </router-link> | 39 </router-link> |
44 </div> | 40 </div> |
45 <div v-if="isWaterwayAdmin"> | 41 <div v-if="isWaterwayAdmin"> |
42 <router-link to="/sections"> | |
43 <font-awesome-icon class="mr-2" fixed-width icon="road" /> | |
44 <span class="fix-trans-space" v-translate>Define sections</span> | |
45 </router-link> | |
46 </div> | |
47 <div v-if="isWaterwayAdmin"> | |
46 <router-link to="/imports/configuration"> | 48 <router-link to="/imports/configuration"> |
47 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="clock" /> | 49 <font-awesome-icon class="mr-2" fixed-width icon="clock" /> |
48 <translate class="fix-trans-space">Imports</translate> | 50 <translate class="fix-trans-space">Imports</translate> |
49 </router-link> | 51 </router-link> |
50 <small class="text-muted pl-3"> | 52 <small class="text-muted pl-3"> |
51 <translate>Systemadministration</translate> | 53 <translate>Systemadministration</translate> |
52 </small> | 54 </small> |
53 <hr class="m-0" /> | 55 <hr class="m-0" /> |
54 </div> | 56 </div> |
55 <div v-if="isSysAdmin"> | 57 <div v-if="isSysAdmin"> |
56 <router-link to="/usermanagement"> | 58 <router-link to="/usermanagement"> |
57 <font-awesome-icon | 59 <font-awesome-icon class="mr-2" fixed-width icon="users-cog" /> |
58 class="fa-fw mr-2" | |
59 fixed-width | |
60 icon="users-cog" | |
61 /> | |
62 <span class="fix-trans-space" v-translate>Users</span> | 60 <span class="fix-trans-space" v-translate>Users</span> |
63 </router-link> | 61 </router-link> |
64 </div> | 62 </div> |
65 <div v-if="isWaterwayAdmin"> | 63 <div v-if="isWaterwayAdmin"> |
66 <router-link to="/systemconfiguration"> | 64 <router-link to="/systemconfiguration"> |
67 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="wrench" /> | 65 <font-awesome-icon class="mr-2" fixed-width icon="wrench" /> |
68 <span class="fix-trans-space" v-translate>Configuration</span> | 66 <span class="fix-trans-space" v-translate>Configuration</span> |
69 </router-link> | 67 </router-link> |
70 </div> | 68 </div> |
71 <div v-if="isSysAdmin"> | 69 <div v-if="isSysAdmin"> |
72 <router-link to="/logs"> | 70 <router-link to="/logs"> |
73 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="book" /> | 71 <font-awesome-icon class="mr-2" fixed-width icon="book" /> |
74 <span class="fix-trans-space" v-translate>Logs</span> | 72 <span class="fix-trans-space" v-translate>Logs</span> |
75 </router-link> | 73 </router-link> |
76 </div> | 74 </div> |
77 <hr class="m-0" /> | 75 <hr class="m-0" /> |
78 <a @click="logoff" href="#" class="logout"> | 76 <a @click="logoff" href="#" class="logout"> |
79 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="power-off" /> | 77 <font-awesome-icon class="mr-2" fixed-width icon="power-off" /> |
80 <span class="fix-trans-space" v-translate>Logout</span> {{ user }} | 78 <span class="fix-trans-space" v-translate>Logout</span> {{ user }} |
81 </a> | 79 </a> |
82 </div> | 80 </div> |
83 </div> | 81 </div> |
84 </div> | 82 </div> |