Mercurial > gemma
annotate client/src/components/PageNotFound.vue @ 5348:45b03e8ca47e extented-report
Toggles in user overview and in details section as well established
This commit introduces toggles to change the state for administrative
users to be able to receive the DQL Report.
For quick access there is the possibility to change via overview.
If you want to edit this in the details or if you change the role
of the user to a non administrative, there is the possibility to change
the flag in a fast way.
When the user looses administrative privilege the option is not available
and the according flag is set to "false".
Aside: Changed user.go to resolve inconsitencies in frontend where the
key "reports" was missing due to "omitempty" in marshalling the go objects.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 21 Jun 2021 16:41:39 +0200 |
parents | 6c5364ff0abb |
children |
rev | line source |
---|---|
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
1 <template> |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
2 <div class="main d-flex flex-row" style="position: relative;"> |
2919
6c5364ff0abb
client: removed a lot of unnecessary closing tags
Markus Kottlaender <markus@intevation.de>
parents:
2790
diff
changeset
|
3 <Spacer /> |
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
4 <div class="my-auto mx-auto"> |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
5 <h1> |
2919
6c5364ff0abb
client: removed a lot of unnecessary closing tags
Markus Kottlaender <markus@intevation.de>
parents:
2790
diff
changeset
|
6 <font-awesome-icon icon="frown-open" fixed-width /> |
6c5364ff0abb
client: removed a lot of unnecessary closing tags
Markus Kottlaender <markus@intevation.de>
parents:
2790
diff
changeset
|
7 We are sorry. The ressource you requested could not be found. |
2790
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
8 </h1> |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
9 </div> |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
10 </div> |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
11 </template> |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
12 |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
13 <script> |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
14 export default { |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
15 name: "pagenotfound", |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
16 components: { |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
17 Spacer: () => import("@/components/Spacer") |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
18 } |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
19 }; |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
20 </script> |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
21 |
563bcd8b7d7b
Page_not_found: implementation of rudimentary 404 page
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
22 <style></style> |