Mercurial > gemma
annotate client/src/components/importqueue/Importqueue.vue @ 2476:efe332e985b9 octree-diff
Calculate the iso lines of the difference.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 28 Feb 2019 11:51:31 +0100 |
parents | f185503ef35a |
children |
rev | line source |
---|---|
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
1 <template> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
2 <div class="d-flex flex-row"> |
1606
a4d8f284db93
spacer in admin interface added
Thomas Junk <thomas.junk@intevation.de>
parents:
1601
diff
changeset
|
3 <Spacer></Spacer> |
1530 | 4 <div class="mt-3 importqueuecard flex-grow-1"> |
5 <div class="card shadow-xs"> | |
2387
f185503ef35a
client: unified box's header styles by creating a reusable component
Markus Kottlaender <markus@intevation.de>
parents:
2316
diff
changeset
|
6 <UIBoxHeader icon="tasks" title="Importqueue" /> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
7 <div class="card-body importcardbody"> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
8 <div class="card-body importcardbody"> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
9 <div class="searchandfilter d-flex flex-row"> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
10 <div class="searchgroup input-group"> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
11 <div class="input-group-prepend"> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
12 <span class="input-group-text" id="search"> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
13 <font-awesome-icon icon="search"></font-awesome-icon> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
14 </span> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
15 </div> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
16 <input |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
17 v-model="searchQuery" |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
18 type="text" |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
19 class="form-control" |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
20 placeholder |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
21 aria-label="Search" |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
22 aria-describedby="search" |
1480 | 23 /> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
24 </div> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
25 <div class="filters"> |
1449 | 26 <button @click="setFilter('failed')" :class="failedStyle"> |
27 <translate>Failed</translate> | |
28 </button> | |
29 <button @click="setFilter('pending')" :class="pendingStyle"> | |
30 <translate>Pending</translate> | |
31 </button> | |
32 <button @click="setFilter('rejected')" :class="rejectedStyle"> | |
33 <translate>Rejected</translate> | |
34 </button> | |
35 <button @click="setFilter('accepted')" :class="acceptedStyle"> | |
36 <translate>Accepted</translate> | |
37 </button> | |
2316
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
38 <button @click="setFilter('warning')" :class="warningStyle"> |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
39 <translate>Warning</translate> |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
40 </button> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
41 </div> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
42 </div> |
1566 | 43 <div class="text-left d-flex flex-row border-bottom entries"> |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
44 <div class="header py-1 jobid mr-2"> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
45 <translate>Id</translate> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
46 </div> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
47 <div class="header py-1 enqueued mr-2"> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
48 <translate>Enqueued</translate> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
49 </div> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
50 <div class="header py-1 kind mr-2"> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
51 <translate>Kind</translate> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
52 </div> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
53 <div class="header py-1 user mr-2"> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
54 <translate>User</translate> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
55 </div> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
56 <div class="header py-1 signer mr-2"> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
57 <translate>Signer</translate> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
58 </div> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
59 <div class="header py-1 state mr-2"> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
60 <translate>State</translate> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
61 </div> |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
62 </div> |
1601
b88cc5aadcc1
importqueue logs: layout
Thomas Junk <thomas.junk@intevation.de>
parents:
1567
diff
changeset
|
63 <div class="importqueuedetail"> |
1566 | 64 <div |
65 class="text-left" | |
66 v-for="job in filteredImports" | |
67 :key="job.id" | |
68 > | |
69 <Importqueuedetail | |
70 :reload="reload" | |
71 :job="job" | |
72 ></Importqueuedetail> | |
73 </div> | |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
74 </div> |
1388
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
75 <div> |
1449 | 76 <button @click="refresh" class="btn btn-info refresh"> |
77 <translate>Refresh</translate> | |
78 </button> | |
1388
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
79 </div> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
80 </div> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
81 </div> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
82 </div> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
83 </div> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
84 </div> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
85 </template> |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
86 |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
87 <script> |
1362
ca33ad696594
remove the first empyty lines
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1360
diff
changeset
|
88 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
89 * without warranty, see README.md and license for details. |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
90 * |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
91 * SPDX-License-Identifier: AGPL-3.0-or-later |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
92 * License-Filename: LICENSES/AGPL-3.0.txt |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
93 * |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
94 * Copyright (C) 2018 by via donau |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
95 * – Österreichische Wasserstraßen-Gesellschaft mbH |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
96 * Software engineering by Intevation GmbH |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
97 * |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
98 * Author(s): |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
99 * Markus Kottländer <markus@intevation.de> |
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1299
diff
changeset
|
100 */ |
1613
f2d24dceecc7
refac: cleanup import paths
Thomas Junk <thomas.junk@intevation.de>
parents:
1606
diff
changeset
|
101 import { displayError } from "@/lib/errors.js"; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
102 import { mapState } from "vuex"; |
1613
f2d24dceecc7
refac: cleanup import paths
Thomas Junk <thomas.junk@intevation.de>
parents:
1606
diff
changeset
|
103 import { HTTP } from "@/lib/http.js"; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
104 |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
105 export default { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
106 name: "importqueue", |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
107 components: { |
1669
16fb9667ddf8
refac: use dynamic imports for components
Thomas Junk <thomas.junk@intevation.de>
parents:
1620
diff
changeset
|
108 Importqueuedetail: () => import("./Importqueuedetail"), |
16fb9667ddf8
refac: use dynamic imports for components
Thomas Junk <thomas.junk@intevation.de>
parents:
1620
diff
changeset
|
109 Spacer: () => import("@/components/Spacer") |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
110 }, |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
111 data() { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
112 return { |
1562
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
113 reload: false, |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
114 searchQuery: "", |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
115 successful: false, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
116 failed: false, |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
117 pending: false, |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
118 rejected: false, |
2316
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
119 accepted: false, |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
120 warning: false |
1276
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 }, |
1405
522488564de0
import soundingresults: layout adjusted and epsg selection added
Thomas Junk <thomas.junk@intevation.de>
parents:
1402
diff
changeset
|
123 mounted() { |
522488564de0
import soundingresults: layout adjusted and epsg selection added
Thomas Junk <thomas.junk@intevation.de>
parents:
1402
diff
changeset
|
124 this.loadQueue(); |
522488564de0
import soundingresults: layout adjusted and epsg selection added
Thomas Junk <thomas.junk@intevation.de>
parents:
1402
diff
changeset
|
125 }, |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
126 methods: { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
127 setFilter(name) { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
128 this[name] = !this[name]; |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
129 const allSet = |
2316
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
130 this.failed && |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
131 this.pending && |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
132 this.accepted && |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
133 this.rejected && |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
134 this.warning; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
135 if (allSet) { |
2316
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
136 this.warning = false; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
137 this.successful = false; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
138 this.failed = false; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
139 this.pending = false; |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
140 this.accepted = false; |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
141 this.rejected = false; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
142 } |
1388
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
143 }, |
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
144 loadQueue() { |
1562
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
145 this.reload = true; |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
146 this.$store |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
147 .dispatch("imports/getImports") |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
148 .then(() => { |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
149 this.reload = false; |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
150 }) |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
151 .catch(error => { |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
152 const { status, data } = error.response; |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
153 displayError({ |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
154 title: this.$gettext("Backend Error"), |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
155 message: `${status}: ${data.message || data}` |
7ac802add1b9
reload strategy for details on refreshing
Thomas Junk <thomas.junk@intevation.de>
parents:
1559
diff
changeset
|
156 }); |
1388
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
157 }); |
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
158 }, |
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
159 refresh() { |
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
160 this.loadQueue(); |
1549
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
161 }, |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
162 showDetails(id) { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
163 HTTP.get("/imports/" + id, { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
164 headers: { "X-Gemma-Auth": localStorage.getItem("token") } |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
165 }) |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
166 .then(response => { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
167 const { entries } = response.data; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
168 this.entries = entries; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
169 this.$modal.show("details"); |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
170 }) |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
171 .catch(error => { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
172 const { status, data } = error.response; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
173 displayError({ |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
174 title: this.$gettext("Backend Error"), |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
175 message: `${status}: ${data.message || data}` |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
176 }); |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
177 }); |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
178 }, |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
179 close() { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
180 this.$modal.hide("details"); |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
181 } |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
182 }, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
183 computed: { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
184 ...mapState("imports", ["imports"]), |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
185 ...mapState("application", ["showSidebar"]), |
1549
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
186 sortIcon() { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
187 return this.sortAsc ? "sort-amount-down" : "sort-amount-up"; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
188 }, |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
189 filteredImports() { |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
190 const filtered = this.imports |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
191 .filter(element => { |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
192 if (!this.searchQuery) return true; |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
193 return [(element.kind, element.user, element.enqueued)].some(x => { |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
194 return x.toLowerCase().includes(this.searchQuery.toLowerCase()); |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
195 }); |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
196 }) |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
197 .filter(y => { |
2316
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
198 if ( |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
199 !this.failed && |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
200 !this.pending && |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
201 !this.accepted && |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
202 !this.rejected && |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
203 !this.warning |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
204 ) |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
205 return true; |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
206 let filterCriteria = []; |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
207 if (this.failed) filterCriteria.push("failed"); |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
208 if (this.pending) filterCriteria.push("pending"); |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
209 if (this.accepted) filterCriteria.push("accepted"); |
2315
bd8ecc90ccf4
import_queue: 'abgelehnt' filters for declined instead of rejected
Thomas Junk <thomas.junk@intevation.de>
parents:
2274
diff
changeset
|
210 if (this.rejected) filterCriteria.push("declined"); |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
211 const result = filterCriteria.map(selectedState => { |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
212 return y.state === selectedState; |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
213 }); |
2316
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
214 if (this.warning) return result.some(x => x) || y.warnings; |
1405
522488564de0
import soundingresults: layout adjusted and epsg selection added
Thomas Junk <thomas.junk@intevation.de>
parents:
1402
diff
changeset
|
215 return result.some(x => x); |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
216 }); |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
217 return filtered; |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
218 }, |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
219 pendingStyle() { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
220 return { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
221 btn: true, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
222 "btn-light": !this.pending, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
223 "btn-dark": this.pending |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
224 }; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
225 }, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
226 failedStyle() { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
227 return { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
228 btn: true, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
229 "btn-light": !this.failed, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
230 "btn-dark": this.failed |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
231 }; |
1383
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
232 }, |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
233 rejectedStyle() { |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
234 return { |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
235 btn: true, |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
236 "btn-light": !this.rejected, |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
237 "btn-dark": this.rejected |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
238 }; |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
239 }, |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
240 acceptedStyle() { |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
241 return { |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
242 btn: true, |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
243 "btn-light": !this.accepted, |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
244 "btn-dark": this.accepted |
cbd04809ee50
importqueue: now with dynamic filtering of results
Thomas Junk <thomas.junk@intevation.de>
parents:
1362
diff
changeset
|
245 }; |
2316
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
246 }, |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
247 warningStyle() { |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
248 return { |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
249 btn: true, |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
250 "btn-light": !this.warning, |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
251 "btn-dark": this.warning |
bc43cd047ead
importqueue: warnings filter implemented
Thomas Junk <thomas.junk@intevation.de>
parents:
2315
diff
changeset
|
252 }; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
253 } |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
254 } |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
255 }; |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
256 </script> |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
257 |
1449 | 258 <style lang="scss" scoped> |
1601
b88cc5aadcc1
importqueue logs: layout
Thomas Junk <thomas.junk@intevation.de>
parents:
1567
diff
changeset
|
259 .importqueuedetail { |
b88cc5aadcc1
importqueue logs: layout
Thomas Junk <thomas.junk@intevation.de>
parents:
1567
diff
changeset
|
260 margin-bottom: 3rem; |
b88cc5aadcc1
importqueue logs: layout
Thomas Junk <thomas.junk@intevation.de>
parents:
1567
diff
changeset
|
261 } |
1566 | 262 .entries { |
1601
b88cc5aadcc1
importqueue logs: layout
Thomas Junk <thomas.junk@intevation.de>
parents:
1567
diff
changeset
|
263 width: 100%; |
1566 | 264 } |
265 | |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
266 .jobid { |
1601
b88cc5aadcc1
importqueue logs: layout
Thomas Junk <thomas.junk@intevation.de>
parents:
1567
diff
changeset
|
267 width: 15%; |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
268 } |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
269 |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
270 .enqueued { |
2274
ad9ede1a9e11
importqueue: css cleanup
Thomas Junk <thomas.junk@intevation.de>
parents:
1703
diff
changeset
|
271 width: 15%; |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
272 } |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
273 |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
274 .user { |
1601
b88cc5aadcc1
importqueue logs: layout
Thomas Junk <thomas.junk@intevation.de>
parents:
1567
diff
changeset
|
275 width: 15%; |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
276 } |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
277 |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
278 .signer { |
2274
ad9ede1a9e11
importqueue: css cleanup
Thomas Junk <thomas.junk@intevation.de>
parents:
1703
diff
changeset
|
279 width: 15%; |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
280 } |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
281 |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
282 .kind { |
1601
b88cc5aadcc1
importqueue logs: layout
Thomas Junk <thomas.junk@intevation.de>
parents:
1567
diff
changeset
|
283 width: 10%; |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
284 } |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
285 |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
286 .state { |
2274
ad9ede1a9e11
importqueue: css cleanup
Thomas Junk <thomas.junk@intevation.de>
parents:
1703
diff
changeset
|
287 width: 15%; |
1554
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
288 } |
15d736a402c9
importqueue as collapsible
Thomas Junk <thomas.junk@intevation.de>
parents:
1549
diff
changeset
|
289 |
1549
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
290 .details thead { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
291 display: block; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
292 } |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
293 .details tbody { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
294 display: block; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
295 } |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
296 |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
297 .details tbody { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
298 height: 260px; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
299 overflow-y: auto; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
300 overflow-x: hidden; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
301 } |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
302 |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
303 .closebutton { |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
304 top: $small-offset; |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
305 } |
b03db5726ca5
importqueue detail view
Thomas Junk <thomas.junk@intevation.de>
parents:
1530
diff
changeset
|
306 |
1449 | 307 .refresh { |
308 position: absolute; | |
309 right: $offset; | |
310 bottom: $offset; | |
311 } | |
1388
df30521b2c0b
importqueue: refreshbutton
Thomas Junk <thomas.junk@intevation.de>
parents:
1383
diff
changeset
|
312 |
1449 | 313 .importqueuecard { |
1529 | 314 width: 97%; |
315 margin-right: $offset; | |
1449 | 316 min-height: 20rem; |
317 } | |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
318 |
1449 | 319 .card-body { |
320 width: 100%; | |
321 margin-left: auto; | |
322 margin-right: auto; | |
323 } | |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
324 |
1449 | 325 .searchandfilter { |
326 position: relative; | |
327 margin-bottom: $xx-large-offset; | |
328 } | |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
329 |
1449 | 330 .filters { |
331 position: absolute; | |
332 right: 0; | |
333 } | |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
334 |
1449 | 335 .filters button { |
336 margin-right: $small-offset; | |
337 } | |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
338 |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
339 .table td, |
1449 | 340 .table th { |
341 border-top: 0 !important; | |
342 text-align: left; | |
343 padding: $small-offset !important; | |
344 } | |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
345 |
1449 | 346 .searchgroup { |
347 position: absolute; | |
348 left: 0; | |
1508
0e47ed779c66
importqueue: signer added
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
349 width: 45%; |
1449 | 350 } |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
351 </style> |