annotate client/src/components/importoverview/importlogs/LogDetail.vue @ 2442:9b7138751f5b

staging: layout logs
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 01 Mar 2019 12:07:34 +0100
parents 999bb511ef67
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
1 <template>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
2 <div class="entry d-flex flex-column py-1 border-bottom">
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
3 <div class="d-flex flex-row position-relative">
2440
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
4 <small @click="showDetails(job.id)" class="jobid ml-2 mt-1 mr-2">
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
5 {{ job.id }}
2440
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
6 </small>
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
7 <small @click="showDetails(job.id)" class="enqueued mt-1 mr-2">
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
8 {{ formatDateTime(job.enqueued) }}
2440
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
9 </small>
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
10 <small @click="showDetails(job.id)" class="kind mt-1 mr-2">
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
11 {{ job.kind.toUpperCase() }}
2440
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
12 </small>
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
13 <small @click="showDetails(job.id)" class="user mt-1 mr-2">
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
14 {{ job.user }}
2440
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
15 </small>
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
16 <small @click="showDetails(job.id)" class="signer mt-1 mr-2">
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
17 {{ job.signer }}
2440
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
18 </small>
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
19 <small @click="showDetails(job.id)" class="state mt-1 mr-2">
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
20 <span :class="{ 'text-danger': job.state.toUpperCase() == 'FAILED' }"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
21 >{{ job.state
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
22 }}<font-awesome-icon
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
23 v-if="job.warnings"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
24 class="ml-1 text-warning"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
25 icon="exclamation-triangle"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
26 fixed-width
2440
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
27 ></font-awesome-icon>
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
28 </span>
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
29 <span v-if="!job.warnings" style="margin-right: 1.6em;"></span>
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
30 </small>
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
31 <div @click="showDetails(job.id)" class="mt-1 text-info detailsbutton">
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
32 <font-awesome-icon
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
33 class="pointer"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
34 v-if="show"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
35 icon="angle-up"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
36 fixed-width
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
37 ></font-awesome-icon>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
38 <font-awesome-icon
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
39 class="pointer"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
40 v-if="loading"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
41 icon="spinner"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
42 fixed-width
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
43 ></font-awesome-icon>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
44 <font-awesome-icon
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
45 class="pointer"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
46 v-if="!show && !loading"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
47 icon="angle-down"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
48 fixed-width
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
49 ></font-awesome-icon>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
50 </div>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
51 </div>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
52 <div class="detailstable d-flex flex-row">
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
53 <div :class="collapse">
2442
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
54 <div class="text-left">
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
55 <small style="margin-right:10px" class="type condensed"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
56 ><translate>Kind</translate></small
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
57 >
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
58 <a
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
59 href="#"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
60 @click="sortAsc = !sortAsc"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
61 style="margin-right:58px"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
62 class="datetime sort-link"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
63 ><small class="condensed"><translate>Date</translate></small>
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
64 <small class="message condensed"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
65 ><font-awesome-icon
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
66 :icon="sortIcon"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
67 class="ml-1"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
68 ></font-awesome-icon></small
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
69 ></a>
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
70 <small class="condensed"><translate>Message</translate></small>
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
71 </div>
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
72 <div class="logentries">
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
73 <div
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
74 v-for="(entry, index) in sortedEntries"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
75 :key="index"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
76 class="detailsrow text-left"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
77 >
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
78 <small
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
79 :class="[
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
80 'condensed type',
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
81 {
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
82 'text-danger': entry.kind.toUpperCase() == 'ERROR',
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
83 'text-warning': entry.kind.toUpperCase() == 'WARN'
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
84 }
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
85 ]"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
86 >{{ entry.kind.toUpperCase() }}</small
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
87 >
2442
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
88 <small
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
89 :class="[
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
90 'condensed datetime',
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
91 {
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
92 'text-danger': entry.kind.toUpperCase() == 'ERROR',
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
93 'text-warning': entry.kind.toUpperCase() == 'WARN'
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
94 }
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
95 ]"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
96 >{{ formatDateTime(entry.time) }}</small
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
97 >
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
98 <small
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
99 :class="[
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
100 'condensed message',
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
101 {
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
102 'text-danger': entry.kind.toUpperCase() == 'ERROR',
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
103 'text-warning': entry.kind.toUpperCase() == 'WARN'
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
104 }
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
105 ]"
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
106 >{{ entry.message }}</small
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
107 >
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
108 </div>
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
109 </div>
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
110 </div>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
111 </div>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
112 </div>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
113 </template>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
114
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
115 <script>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
116 /* This is Free Software under GNU Affero General Public License v >= 3.0
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
117 * without warranty, see README.md and license for details.
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
118 *
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
119 * SPDX-License-Identifier: AGPL-3.0-or-later
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
120 * License-Filename: LICENSES/AGPL-3.0.txt
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
121 *
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
122 * Copyright (C) 2018 by via donau
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
123 * – Österreichische Wasserstraßen-Gesellschaft mbH
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
124 * Software engineering by Intevation GmbH
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
125 *
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
126 * Author(s):
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
127 * Thomas Junk <thomas.junk@intevation.de>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
128 */
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
129
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
130 import { HTTP } from "@/lib/http.js";
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
131 import { displayError } from "@/lib/errors.js";
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
132 import locale2 from "locale2";
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
133
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
134 export default {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
135 name: "importqueuedetail",
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
136 props: ["job", "reload"],
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
137 data() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
138 return {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
139 loading: false,
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
140 show: false,
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
141 entries: [],
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
142 sortAsc: true
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
143 };
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
144 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
145 mounted() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
146 this.openSpecificDetail();
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
147 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
148 watch: {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
149 $route() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
150 this.openSpecificDetail();
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
151 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
152 reload() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
153 if (this.reload) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
154 this.entries = [];
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
155 this.show = false;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
156 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
157 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
158 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
159 methods: {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
160 openSpecificDetail() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
161 const { id } = this.$route.params;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
162 if (id == this.job.id) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
163 this.showDetails(id);
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
164 } else {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
165 this.show = false;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
166 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
167 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
168 formatDate(date) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
169 return date
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
170 ? new Date(date).toLocaleDateString(locale2, {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
171 day: "2-digit",
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
172 month: "2-digit",
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
173 year: "numeric"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
174 })
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
175 : "";
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
176 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
177 formatDateTime(date) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
178 if (!date) return "";
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
179 const d = new Date(date);
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
180 return (
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
181 d.toLocaleDateString(locale2, {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
182 day: "2-digit",
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
183 month: "2-digit",
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
184 year: "numeric"
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
185 }) +
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
186 " - " +
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
187 d.toLocaleTimeString(locale2, {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
188 hour12: false
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
189 })
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
190 );
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
191 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
192 showDetails(id) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
193 if (this.show) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
194 this.show = false;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
195 return;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
196 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
197 if (this.entries.length === 0) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
198 this.loading = true;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
199 HTTP.get("/imports/" + id, {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
200 headers: { "X-Gemma-Auth": localStorage.getItem("token") }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
201 })
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
202 .then(response => {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
203 const { entries } = response.data;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
204 this.entries = entries;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
205 this.show = true;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
206 this.loading = false;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
207 })
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
208 .catch(error => {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
209 const { status, data } = error.response;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
210 displayError({
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
211 title: this.$gettext("Backend Error"),
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
212 message: `${status}: ${data.message || data}`
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
213 });
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
214 });
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
215 } else {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
216 this.show = true;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
217 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
218 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
219 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
220 computed: {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
221 sortedEntries() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
222 let sorted = this.entries.slice();
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
223 sorted.sort((r1, r2) => {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
224 let d1 = new Date(r1.time);
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
225 let d2 = new Date(r2.time);
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
226 if (d2 < d1) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
227 return !this.sortAsc ? -1 : 1;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
228 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
229 if (d2 > d1) {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
230 return !this.sortAsc ? 1 : -1;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
231 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
232 return 0;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
233 });
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
234 return sorted;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
235 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
236 sortIcon() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
237 return this.sortAsc ? "sort-amount-down" : "sort-amount-up";
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
238 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
239 icon() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
240 return {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
241 "angle-up": !this.show,
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
242 "angle-down": this.show
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
243 };
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
244 },
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
245 collapse() {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
246 return {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
247 details: true,
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
248 collapse: true,
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
249 show: this.show,
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
250 "w-100": true
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
251 };
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
252 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
253 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
254 };
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
255 </script>
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
256
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
257 <style lang="scss" scoped>
2442
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
258 .logentries {
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
259 overflow: auto;
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
260 }
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
261
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
262 .condensed {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
263 font-stretch: condensed;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
264 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
265
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
266 .entry {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
267 background-color: white;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
268 cursor: pointer;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
269 width: 100%;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
270 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
271
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
272 .entry:hover {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
273 background-color: #efefef;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
274 transition: 1.6s;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
275 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
276
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
277 .detailstable {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
278 margin-left: $offset;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
279 margin-right: $large-offset;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
280 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
281
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
282 .detailsbutton {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
283 position: absolute;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
284 top: 0;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
285 right: 0;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
286 height: 100%;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
287 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
288 .jobid {
2440
999bb511ef67 staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2422
diff changeset
289 width: 5%;
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
290 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
291
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
292 .user {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
293 width: 15%;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
294 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
295
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
296 .signer {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
297 width: 15%;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
298 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
299
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
300 .kind {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
301 width: 10%;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
302 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
303
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
304 .state {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
305 width: 15%;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
306 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
307
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
308 .details {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
309 width: 50%;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
310 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
311
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
312 .detailsrow {
2442
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
313 line-height: 0.7rem;
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
314 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
315
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
316 .type {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
317 white-space: nowrap;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
318 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
319
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
320 .datetime {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
321 white-space: nowrap;
2442
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
322 padding-left: 10px;
9b7138751f5b staging: layout logs
Thomas Junk <thomas.junk@intevation.de>
parents: 2440
diff changeset
323 padding-right: 10px;
2422
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
324 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
325
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
326 .message {
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
327 white-space: nowrap;
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
328 }
77baf4f0ee1e logs->importlogs due to .hgignore
Thomas Junk <thomas.junk@intevation.de>
parents:
diff changeset
329 </style>