Mercurial > gemma
annotate client/src/components/Logs.vue @ 2411:27d3e9eda8b6
client: table component: fade transition for adding/removing items
author | Markus Kottlaender <markus@intevation.de> |
---|---|
date | Thu, 28 Feb 2019 12:16:27 +0100 |
parents | f185503ef35a |
children | bb5286acfee2 |
rev | line source |
---|---|
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
1 <template> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
2 <div class="main d-flex flex-column"> |
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
3 <div class="d-flex flex-row"> |
1605
ef5cc5f1c757
refac: extracted spacer component
Thomas Junk <thomas.junk@intevation.de>
parents:
1558
diff
changeset
|
4 <Spacer></Spacer> |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
5 <div class="card logs shadow-xs mt-3 mr-3"> |
2387
f185503ef35a
client: unified box's header styles by creating a reusable component
Markus Kottlaender <markus@intevation.de>
parents:
1669
diff
changeset
|
6 <UIBoxHeader icon="book" title="Logs" /> |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
7 <div class="logoutput text-left bg-white"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
8 <pre id="code" v-highlightjs="logs"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
9 <code class="bash hljs hljs-string"></code> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
10 </pre> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
11 </div> |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
12 <div class="logmenu"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
13 <div class="d-flex align-self-center"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
14 <ul class="nav nav-pills"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
15 <li class="nav-item"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
16 <a |
1490 | 17 :class="accesslogStyle" |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
18 @click="fetch('system/log/apache2/access.log', 'accesslog')" |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
19 href="#" |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
20 > |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
21 <translate>Accesslog</translate> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
22 </a> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
23 </li> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
24 <li class="nav-item"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
25 <a |
1490 | 26 :class="errorlogStyle" |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
27 @click="fetch('system/log/apache2/error.log', 'errorlog')" |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
28 href="#" |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
29 > |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
30 <translate>Errorlog</translate> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
31 </a> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
32 </li> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
33 </ul> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
34 </div> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
35 <div class="statuscontainer d-flex flex-row mb-3"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
36 <div class="statusline align-self-center"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
37 <h3><translate>Last refresh:</translate> {{ refreshed }}</h3> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
38 </div> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
39 <div class="refresh"> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
40 <button |
1490 | 41 @click="fetch(currentFile, currentLog)" |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
42 class="btn btn-dark" |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
43 > |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
44 <translate>Refresh</translate> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
45 </button> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
46 </div> |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
47 </div> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
48 </div> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
49 </div> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
50 </div> |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
51 </div> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
52 </template> |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
53 |
1449 | 54 <style lang="scss" scoped> |
55 .statuscontainer { | |
56 width: 87%; | |
57 position: relative; | |
58 } | |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
59 |
1449 | 60 .logmenu { |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
61 position: relative; |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
62 margin-left: $offset; |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
63 margin-top: $offset; |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
64 } |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
65 |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
66 .logs { |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
67 height: 85vh; |
1449 | 68 } |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
69 |
1449 | 70 #code { |
71 overflow: auto; | |
72 } | |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
73 |
1449 | 74 .refresh { |
75 position: absolute; | |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
76 right: $offset; |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
77 bottom: 0; |
1449 | 78 } |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
79 |
1449 | 80 .logoutput { |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
81 margin-left: $offset; |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
82 margin-right: $offset; |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
83 margin-top: $offset; |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
84 height: 90%; |
1449 | 85 overflow: auto; |
86 transition: $transition-fast; | |
87 } | |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
88 |
1449 | 89 .statusline { |
90 position: absolute; | |
91 right: 0; | |
1500
811497a8092f
layout issues due to translations
Thomas Junk <thomas.junk@intevation.de>
parents:
1490
diff
changeset
|
92 margin-right: 9rem; |
1482
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
93 bottom: -0.5rem; |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
94 } |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
95 |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
96 .statuscontainer { |
46636f863742
refac: logs in card-design
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
97 width: 100%; |
1449 | 98 } |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
99 </style> |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
100 |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
101 <script> |
1362
ca33ad696594
remove the first empyty lines
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1361
diff
changeset
|
102 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
103 * without warranty, see README.md and license for details. |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
104 * |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
105 * SPDX-License-Identifier: AGPL-3.0-or-later |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
106 * License-Filename: LICENSES/AGPL-3.0.txt |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
107 * |
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
108 * Copyright (C) 2018 by via donau |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
109 * – Österreichische Wasserstraßen-Gesellschaft mbH |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
110 * Software engineering by Intevation GmbH |
1361
ea3a89a1813a
remove trailing whitespace, add headers for Makefile, add the missed authors
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1276
diff
changeset
|
111 * |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
112 * Author(s): |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
113 * Thomas Junk <thomas.junk@intevation.de> |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
114 */ |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
115 import { mapState } from "vuex"; |
1613
f2d24dceecc7
refac: cleanup import paths
Thomas Junk <thomas.junk@intevation.de>
parents:
1605
diff
changeset
|
116 import { HTTP } from "@/lib/http.js"; |
1558
0ded4c56978e
refac: component filestructure. remove admin/map hierarchy
Thomas Junk <thomas.junk@intevation.de>
parents:
1517
diff
changeset
|
117 import "../../node_modules/highlight.js/styles/paraiso-dark.css"; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
118 import Vue from "vue"; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
119 import VueHighlightJS from "vue-highlightjs"; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
120 Vue.use(VueHighlightJS); |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
121 |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
122 const ACCESSLOG = "accesslog"; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
123 const ERRORLOG = "errorlog"; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
124 |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
125 export default { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
126 name: "logs", |
1605
ef5cc5f1c757
refac: extracted spacer component
Thomas Junk <thomas.junk@intevation.de>
parents:
1558
diff
changeset
|
127 components: { |
1669
16fb9667ddf8
refac: use dynamic imports for components
Thomas Junk <thomas.junk@intevation.de>
parents:
1613
diff
changeset
|
128 Spacer: () => import("./Spacer") |
1605
ef5cc5f1c757
refac: extracted spacer component
Thomas Junk <thomas.junk@intevation.de>
parents:
1558
diff
changeset
|
129 }, |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
130 mounted() { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
131 this.fetch("system/log/apache2/access.log", ACCESSLOG); |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
132 }, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
133 data() { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
134 return { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
135 logs: null, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
136 currentLog: null, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
137 currentFile: null, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
138 refreshed: null |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
139 }; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
140 }, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
141 methods: { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
142 fetch(file, type) { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
143 HTTP.get(file, { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
144 headers: { "X-Gemma-Auth": localStorage.getItem("token") } |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
145 }) |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
146 .then(response => { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
147 this.logs = response.data.content; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
148 this.currentLog = type; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
149 this.refreshed = new Date().toLocaleString(); |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
150 this.currentFile = file; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
151 }) |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
152 .catch(); |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
153 }, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
154 disallow(e) { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
155 e.target.blur(); |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
156 } |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
157 }, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
158 computed: { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
159 ...mapState("application", ["showSidebar"]), |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
160 accesslogStyle() { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
161 return { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
162 active: this.currentLog == ACCESSLOG, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
163 "nav-link": true |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
164 }; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
165 }, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
166 errorlogStyle() { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
167 return { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
168 active: this.currentLog == ERRORLOG, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
169 "nav-link": true |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
170 }; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
171 } |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
172 } |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
173 }; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
174 </script> |