Mercurial > gemma
comparison client/src/components/Sidebar.vue @ 2919:6c5364ff0abb
client: removed a lot of unnecessary closing tags
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Wed, 03 Apr 2019 16:10:11 +0200 |
parents | 6c1c4f55d99b |
children | 6f351e00e579 |
comparison
equal
deleted
inserted
replaced
2918:b22f84d312f2 | 2919:6c5364ff0abb |
---|---|
6 <div :class="sidebarStyle"> | 6 <div :class="sidebarStyle"> |
7 <div | 7 <div |
8 @click="$store.commit('application/showSidebar', !showSidebar)" | 8 @click="$store.commit('application/showSidebar', !showSidebar)" |
9 class="menubutton ui-element d-print-none p-2 bg-white rounded position-absolute d-flex justify-content-center" | 9 class="menubutton ui-element d-print-none p-2 bg-white rounded position-absolute d-flex justify-content-center" |
10 > | 10 > |
11 <font-awesome-icon class="fa-fw" icon="bars"></font-awesome-icon> | 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 |
16 class="fa-fw mr-2" | 16 class="fa-fw mr-2" |
17 fixed-width | 17 fixed-width |
18 icon="map-marked-alt" | 18 icon="map-marked-alt" |
19 ></font-awesome-icon> | 19 /> |
20 <span class="fix-trans-space" v-translate>Map</span> | 20 <span class="fix-trans-space" v-translate>Map</span> |
21 </router-link> | 21 </router-link> |
22 <router-link to="/bottlenecks"> | 22 <router-link to="/bottlenecks"> |
23 <font-awesome-icon | 23 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="ship" /> |
24 class="fa-fw mr-2" | |
25 fixed-width | |
26 icon="ship" | |
27 ></font-awesome-icon> | |
28 <span class="fix-trans-space" v-translate>Bottlenecks</span> | 24 <span class="fix-trans-space" v-translate>Bottlenecks</span> |
29 </router-link> | 25 </router-link> |
30 <div v-if="isWaterwayAdmin"> | 26 <div v-if="isWaterwayAdmin"> |
31 <router-link to="/imports/overview" class="position-relative"> | 27 <router-link to="/imports/overview" class="position-relative"> |
32 <font-awesome-icon | 28 <font-awesome-icon |
33 class="fa-fw mr-2" | 29 class="fa-fw mr-2" |
34 fixed-width | 30 fixed-width |
35 icon="clipboard-check" | 31 icon="clipboard-check" |
36 ></font-awesome-icon> | 32 /> |
37 <span class="fix-trans-space" v-translate>Import review</span> | 33 <span class="fix-trans-space" v-translate>Import review</span> |
38 <span class="indicator" v-if="showSidebar && stagingNotifications"> | 34 <span class="indicator" v-if="showSidebar && stagingNotifications"> |
39 {{ stagingNotifications }} | 35 {{ stagingNotifications }} |
40 </span> | 36 </span> |
41 </router-link> | 37 </router-link> |
42 </div> | 38 </div> |
43 <div v-if="isSysAdmin"> | 39 <div v-if="isSysAdmin"> |
44 <router-link to="/stretches"> | 40 <router-link to="/stretches"> |
45 <font-awesome-icon | 41 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="road" /> |
46 class="fa-fw mr-2" | |
47 fixed-width | |
48 icon="road" | |
49 ></font-awesome-icon> | |
50 <span class="fix-trans-space" v-translate>Define stretches</span> | 42 <span class="fix-trans-space" v-translate>Define stretches</span> |
51 </router-link> | 43 </router-link> |
52 </div> | 44 </div> |
53 <div v-if="isWaterwayAdmin"> | 45 <div v-if="isWaterwayAdmin"> |
54 <small class="text-muted pl-3"> <translate>Import</translate> </small> | 46 <small class="text-muted pl-3"> <translate>Import</translate> </small> |
55 <hr class="m-0" /> | 47 <hr class="m-0" /> |
56 <router-link to="/importsoundingresults"> | 48 <router-link to="/importsoundingresults"> |
57 <font-awesome-icon | 49 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="upload" /> |
58 class="fa-fw mr-2" | |
59 fixed-width | |
60 icon="upload" | |
61 ></font-awesome-icon> | |
62 <span class="fix-trans-space" v-translate>Soundingresults</span> | 50 <span class="fix-trans-space" v-translate>Soundingresults</span> |
63 </router-link> | 51 </router-link> |
64 <router-link to="/importapprovedgaugemeasurement"> | 52 <router-link to="/importapprovedgaugemeasurement"> |
65 <font-awesome-icon | 53 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="upload" /> |
66 class="fa-fw mr-2" | |
67 fixed-width | |
68 icon="upload" | |
69 ></font-awesome-icon> | |
70 <span class="fix-trans-space" v-translate | 54 <span class="fix-trans-space" v-translate |
71 >Approved Gaugemeasurements</span | 55 >Approved Gaugemeasurements</span |
72 > | 56 > |
73 </router-link> | 57 </router-link> |
74 <router-link to="/importwaterwayprofiles"> | 58 <router-link to="/importwaterwayprofiles"> |
75 <font-awesome-icon | 59 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="upload" /> |
76 class="fa-fw mr-2" | |
77 fixed-width | |
78 icon="upload" | |
79 ></font-awesome-icon> | |
80 <span class="fix-trans-space" v-translate>Waterway Profiles</span> | 60 <span class="fix-trans-space" v-translate>Waterway Profiles</span> |
81 </router-link> | 61 </router-link> |
82 <router-link to="/importschedule"> | 62 <router-link to="/importschedule"> |
83 <font-awesome-icon | 63 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="clock" /> |
84 class="fa-fw mr-2" | |
85 fixed-width | |
86 icon="clock" | |
87 ></font-awesome-icon> | |
88 <translate class="fix-trans-space">Imports</translate> | 64 <translate class="fix-trans-space">Imports</translate> |
89 </router-link> | 65 </router-link> |
90 <small class="text-muted pl-3"> | 66 <small class="text-muted pl-3"> |
91 <translate>Systemadministration</translate> | 67 <translate>Systemadministration</translate> |
92 </small> | 68 </small> |
96 <router-link to="/usermanagement"> | 72 <router-link to="/usermanagement"> |
97 <font-awesome-icon | 73 <font-awesome-icon |
98 class="fa-fw mr-2" | 74 class="fa-fw mr-2" |
99 fixed-width | 75 fixed-width |
100 icon="users-cog" | 76 icon="users-cog" |
101 ></font-awesome-icon> | 77 /> |
102 <span class="fix-trans-space" v-translate>Users</span> | 78 <span class="fix-trans-space" v-translate>Users</span> |
103 </router-link> | 79 </router-link> |
104 </div> | 80 </div> |
105 <div v-if="isWaterwayAdmin"> | 81 <div v-if="isWaterwayAdmin"> |
106 <router-link to="/systemconfiguration"> | 82 <router-link to="/systemconfiguration"> |
107 <font-awesome-icon | 83 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="wrench" /> |
108 class="fa-fw mr-2" | |
109 fixed-width | |
110 icon="wrench" | |
111 ></font-awesome-icon> | |
112 <span class="fix-trans-space" v-translate>Configuration</span> | 84 <span class="fix-trans-space" v-translate>Configuration</span> |
113 </router-link> | 85 </router-link> |
114 </div> | 86 </div> |
115 <div v-if="isSysAdmin"> | 87 <div v-if="isSysAdmin"> |
116 <router-link to="/logs"> | 88 <router-link to="/logs"> |
117 <font-awesome-icon | 89 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="book" /> |
118 class="fa-fw mr-2" | |
119 fixed-width | |
120 icon="book" | |
121 ></font-awesome-icon> | |
122 <span class="fix-trans-space" v-translate>Logs</span> | 90 <span class="fix-trans-space" v-translate>Logs</span> |
123 </router-link> | 91 </router-link> |
124 </div> | 92 </div> |
125 <hr class="m-0" /> | 93 <hr class="m-0" /> |
126 <a @click="logoff" href="#" class="logout"> | 94 <a @click="logoff" href="#" class="logout"> |
127 <font-awesome-icon | 95 <font-awesome-icon class="fa-fw mr-2" fixed-width icon="power-off" /> |
128 class="fa-fw mr-2" | |
129 fixed-width | |
130 icon="power-off" | |
131 ></font-awesome-icon> | |
132 <span class="fix-trans-space" v-translate>Logout</span> {{ user }} | 96 <span class="fix-trans-space" v-translate>Logout</span> {{ user }} |
133 </a> | 97 </a> |
134 </div> | 98 </div> |
135 </div> | 99 </div> |
136 </div> | 100 </div> |