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