Mercurial > gemma
annotate client/src/components/staging/Staging.vue @ 2351:9c4d6a61ad1d
staging: fix vanishing buttons when (U)BN list becomes too long
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 20 Feb 2019 11:08:20 +0100 |
parents | 16fb9667ddf8 |
children | f185503ef35a |
rev | line source |
---|---|
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
1 <template> |
1503
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
2 <div class="w-90 stagingcard"> |
1344
eda98694e678
staging: retrieve real data instead of displaying demodata
Thomas Junk <thomas.junk@intevation.de>
parents:
1314
diff
changeset
|
3 <h6 class="mb-0 py-2 px-3 border-bottom d-flex align-items-center"> |
1480 | 4 <font-awesome-icon |
1503
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
5 class="mr-2" |
1480 | 6 icon="clipboard-check" |
7 ></font-awesome-icon> | |
1406
9d2806002f50
staging: activate according soundingresult
Thomas Junk <thomas.junk@intevation.de>
parents:
1402
diff
changeset
|
8 <translate>Staging Area</translate> |
1344
eda98694e678
staging: retrieve real data instead of displaying demodata
Thomas Junk <thomas.junk@intevation.de>
parents:
1314
diff
changeset
|
9 </h6> |
1625
de4e4dcb8f87
staging area: implemented details and zoom to bbox
Thomas Junk <thomas.junk@intevation.de>
parents:
1621
diff
changeset
|
10 <div class="mt-3 pl-3 pr-3"> |
de4e4dcb8f87
staging area: implemented details and zoom to bbox
Thomas Junk <thomas.junk@intevation.de>
parents:
1621
diff
changeset
|
11 <div class="mt-3 text-left flex-row d-flex border-bottom"> |
1620
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
12 <div class="header text-left name"><translate>Name</translate></div> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
13 <div class="header text-left type"><translate>Type</translate></div> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
14 <div class="header text-left date"><translate>Date</translate></div> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
15 <div class="header text-left imported"> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
16 <translate>Imported</translate> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
17 </div> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
18 <div class="header text-left username"> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
19 <translate>Username</translate> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
20 </div> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
21 <div class="ml-3 controls"></div> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
22 </div> |
1639
3c9e33b4cea0
fix: make length check explicit
Thomas Junk <thomas.junk@intevation.de>
parents:
1625
diff
changeset
|
23 <div class="mt-3" v-if="filteredData.length > 0"> |
1615
95641748383f
refac: extracted staging details view
Thomas Junk <thomas.junk@intevation.de>
parents:
1612
diff
changeset
|
24 <StagingDetail |
1621
eeddc5dcb80c
staging now with details
Thomas Junk <thomas.junk@intevation.de>
parents:
1620
diff
changeset
|
25 class="mb-3 border-bottom" |
1615
95641748383f
refac: extracted staging details view
Thomas Junk <thomas.junk@intevation.de>
parents:
1612
diff
changeset
|
26 :key="data.id" |
95641748383f
refac: extracted staging details view
Thomas Junk <thomas.junk@intevation.de>
parents:
1612
diff
changeset
|
27 v-for="data in filteredData" |
95641748383f
refac: extracted staging details view
Thomas Junk <thomas.junk@intevation.de>
parents:
1612
diff
changeset
|
28 :data="data" |
95641748383f
refac: extracted staging details view
Thomas Junk <thomas.junk@intevation.de>
parents:
1612
diff
changeset
|
29 ></StagingDetail> |
1620
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
30 </div> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
31 </div> |
1640
c0a2e1cd2284
fix: make length check explicit
Thomas Junk <thomas.junk@intevation.de>
parents:
1639
diff
changeset
|
32 <div class="mt-3 p-3" v-if="filteredData.length > 0"> |
1503
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
33 <button @click="confirmReview" class="confirm-button btn btn-info"> |
1406
9d2806002f50
staging: activate according soundingresult
Thomas Junk <thomas.junk@intevation.de>
parents:
1402
diff
changeset
|
34 <translate>Confirm</translate> |
9d2806002f50
staging: activate according soundingresult
Thomas Junk <thomas.junk@intevation.de>
parents:
1402
diff
changeset
|
35 </button> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
36 </div> |
1620
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
37 <div v-else class="mr-auto ml-auto"><translate>No results.</translate></div> |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
38 <div class="mt-1 p-3"> |
1503
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
39 <button @click="loadData" class="refresh btn btn-dark">Refresh</button> |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
40 </div> |
1344
eda98694e678
staging: retrieve real data instead of displaying demodata
Thomas Junk <thomas.junk@intevation.de>
parents:
1314
diff
changeset
|
41 </div> |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
42 </template> |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
43 |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
44 <script> |
1279
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
45 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
46 * without warranty, see README.md and license for details. |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
47 * |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
48 * SPDX-License-Identifier: AGPL-3.0-or-later |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
49 * License-Filename: LICENSES/AGPL-3.0.txt |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
50 * |
1350
58d41573e530
staging: now with real data from backend
Thomas Junk <thomas.junk@intevation.de>
parents:
1344
diff
changeset
|
51 * Copyright (C) 2018 by via donau |
1279
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
52 * – Österreichische Wasserstraßen-Gesellschaft mbH |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
53 * Software engineering by Intevation GmbH |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
54 * |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
55 * Author(s): |
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
56 * Thomas Junk <thomas.junk@intevation.de> |
1360
3fee649d3d5d
add headers for licensing to some client files
Fadi Abbud <fadi.abbud@intevation.de>
parents:
1314
diff
changeset
|
57 * Markus Kottländer <markus@intevation.de> |
1279
60e15c2d26a2
licensing info updated
Thomas Junk <thomas.junk@intevation.de>
parents:
1276
diff
changeset
|
58 */ |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
59 import { mapState } from "vuex"; |
1612
b5061deb9ab9
refac: move staging area to separate folder
Thomas Junk <thomas.junk@intevation.de>
parents:
1558
diff
changeset
|
60 import { HTTP } from "@/lib/http.js"; |
1618
9f5090fe130f
fix:reimported STATES in staging view
Thomas Junk <thomas.junk@intevation.de>
parents:
1615
diff
changeset
|
61 import { displayError, displayInfo } from "@/lib/errors.js"; |
1612
b5061deb9ab9
refac: move staging area to separate folder
Thomas Junk <thomas.junk@intevation.de>
parents:
1558
diff
changeset
|
62 import { STATES } from "@/store/imports.js"; |
1310
d675e6439aa5
staging view: prepare retrieving list of pending imports for staging
Thomas Junk <thomas.junk@intevation.de>
parents:
1299
diff
changeset
|
63 |
1290
ad528ad130d6
staging area: basic layout and selectionlogic
Thomas Junk <thomas.junk@intevation.de>
parents:
1279
diff
changeset
|
64 export default { |
ad528ad130d6
staging area: basic layout and selectionlogic
Thomas Junk <thomas.junk@intevation.de>
parents:
1279
diff
changeset
|
65 data() { |
1344
eda98694e678
staging: retrieve real data instead of displaying demodata
Thomas Junk <thomas.junk@intevation.de>
parents:
1314
diff
changeset
|
66 return {}; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
67 }, |
1615
95641748383f
refac: extracted staging details view
Thomas Junk <thomas.junk@intevation.de>
parents:
1612
diff
changeset
|
68 components: { |
1669
16fb9667ddf8
refac: use dynamic imports for components
Thomas Junk <thomas.junk@intevation.de>
parents:
1640
diff
changeset
|
69 StagingDetail: () => import("./StagingDetail") |
1615
95641748383f
refac: extracted staging details view
Thomas Junk <thomas.junk@intevation.de>
parents:
1612
diff
changeset
|
70 }, |
1310
d675e6439aa5
staging view: prepare retrieving list of pending imports for staging
Thomas Junk <thomas.junk@intevation.de>
parents:
1299
diff
changeset
|
71 mounted() { |
1468 | 72 this.loadData(); |
1310
d675e6439aa5
staging view: prepare retrieving list of pending imports for staging
Thomas Junk <thomas.junk@intevation.de>
parents:
1299
diff
changeset
|
73 }, |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
74 computed: { |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
75 ...mapState("application", ["searchQuery"]), |
1344
eda98694e678
staging: retrieve real data instead of displaying demodata
Thomas Junk <thomas.junk@intevation.de>
parents:
1314
diff
changeset
|
76 ...mapState("imports", ["staging"]), |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
77 filteredData() { |
1344
eda98694e678
staging: retrieve real data instead of displaying demodata
Thomas Junk <thomas.junk@intevation.de>
parents:
1314
diff
changeset
|
78 return this.staging.filter(data => { |
1350
58d41573e530
staging: now with real data from backend
Thomas Junk <thomas.junk@intevation.de>
parents:
1344
diff
changeset
|
79 const result = [data.id + "", data.enqueued, data.kind, data.user].some( |
58d41573e530
staging: now with real data from backend
Thomas Junk <thomas.junk@intevation.de>
parents:
1344
diff
changeset
|
80 x => x.toLowerCase().includes(this.searchQuery.toLowerCase()) |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
81 ); |
1350
58d41573e530
staging: now with real data from backend
Thomas Junk <thomas.junk@intevation.de>
parents:
1344
diff
changeset
|
82 return result; |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
83 }); |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
84 } |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
85 }, |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
86 methods: { |
1468 | 87 loadData() { |
88 this.$store.dispatch("imports/getStaging").catch(error => { | |
89 const { status, data } = error.response; | |
90 displayError({ | |
91 title: "Backend Error", | |
92 message: `${status}: ${data.message || data}` | |
93 }); | |
94 }); | |
95 }, | |
1311
d5eda9f79610
staging: display visual feedback for now due missing backendcall
Thomas Junk <thomas.junk@intevation.de>
parents:
1310
diff
changeset
|
96 confirmReview() { |
1475
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
97 const reviewResults = this.staging |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
98 .filter(x => x.status !== STATES.NEEDSAPPROVAL) |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
99 .map(r => { |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
100 return { |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
101 id: r.id, |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
102 state: r.status |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
103 }; |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
104 }); |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
105 if (!reviewResults.length) return; |
1468 | 106 HTTP.patch("/imports", reviewResults, { |
107 headers: { | |
108 "X-Gemma-Auth": localStorage.getItem("token"), | |
109 "Content-type": "application/json" | |
110 } | |
111 }) | |
1475
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
112 .then(response => { |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
113 const messages = response.data |
1468 | 114 .map(x => { |
1475
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
115 if (x.message) return x.message; |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
116 if (x.error) return x.error; |
1468 | 117 }) |
1475
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
118 .join("\n\n"); |
1468 | 119 displayInfo({ |
120 title: "Staging Area", | |
1475
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
121 message: messages, |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
122 options: { |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
123 timeout: 0, |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
124 buttons: [{ text: "Ok", action: null, bold: true }] |
2365acde39dc
Staging area: Dealing with backend response.
Thomas Junk <thomas.junk@intevation.de>
parents:
1468
diff
changeset
|
125 } |
1468 | 126 }); |
127 this.loadData(); | |
1311
d5eda9f79610
staging: display visual feedback for now due missing backendcall
Thomas Junk <thomas.junk@intevation.de>
parents:
1310
diff
changeset
|
128 }) |
1468 | 129 .catch(error => { |
130 const { status, data } = error.response; | |
131 displayError({ | |
132 title: "Backend Error", | |
133 message: `${status}: ${data.message || data}` | |
134 }); | |
135 }); | |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
136 } |
1618
9f5090fe130f
fix:reimported STATES in staging view
Thomas Junk <thomas.junk@intevation.de>
parents:
1615
diff
changeset
|
137 }, |
9f5090fe130f
fix:reimported STATES in staging view
Thomas Junk <thomas.junk@intevation.de>
parents:
1615
diff
changeset
|
138 STATES: STATES |
1276
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 </script> |
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
141 |
1449 | 142 <style lang="scss" scoped> |
1620
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
143 .name { |
1625
de4e4dcb8f87
staging area: implemented details and zoom to bbox
Thomas Junk <thomas.junk@intevation.de>
parents:
1621
diff
changeset
|
144 width: 180px; |
1620
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
145 } |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
146 |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
147 .date { |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
148 width: 90px; |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
149 } |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
150 |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
151 .type { |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
152 width: 40px; |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
153 } |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
154 |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
155 .imported { |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
156 width: 90px; |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
157 } |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
158 |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
159 .username { |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
160 width: 150px; |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
161 } |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
162 |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
163 .controls { |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
164 width: 60px; |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
165 } |
2e4ec4251c57
refac: staging rebuilt with divs instead tables to accomplish detailsview
Thomas Junk <thomas.junk@intevation.de>
parents:
1618
diff
changeset
|
166 |
1503
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
167 .refresh { |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
168 position: absolute; |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
169 left: $offset; |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
170 bottom: $offset; |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
171 } |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
172 .table th, |
1449 | 173 td { |
174 font-size: 0.9rem; | |
175 border-top: 0px !important; | |
176 border-bottom-width: 1px; | |
177 text-align: left; | |
178 padding: 0.5rem !important; | |
179 } | |
1503
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
180 |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
181 .stagingcard { |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
182 position: relative; |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
183 min-height: 150px; |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
184 } |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
185 |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
186 .confirm-button { |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
187 position: absolute; |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
188 right: $offset; |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
189 bottom: $offset; |
b76b23b3df61
staging-area: added refresh button
Thomas Junk <thomas.junk@intevation.de>
parents:
1480
diff
changeset
|
190 } |
1276
aec9ed491dad
more cleanup in client/src
Markus Kottlaender <markus@intevation.de>
parents:
diff
changeset
|
191 </style> |