4354 |
13 Feb 17 |
nicklas |
1 |
<%@ page |
4354 |
13 Feb 17 |
nicklas |
2 |
pageEncoding="UTF-8" |
4354 |
13 Feb 17 |
nicklas |
3 |
session="false" |
4354 |
13 Feb 17 |
nicklas |
4 |
import="net.sf.basedb.core.SessionControl" |
4354 |
13 Feb 17 |
nicklas |
5 |
import="net.sf.basedb.clients.web.Base" |
4354 |
13 Feb 17 |
nicklas |
6 |
import="net.sf.basedb.clients.web.util.HTML" |
4630 |
21 Nov 17 |
nicklas |
7 |
import="net.sf.basedb.clients.web.WebException" |
4354 |
13 Feb 17 |
nicklas |
8 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
4354 |
13 Feb 17 |
nicklas |
9 |
import="net.sf.basedb.util.Values" |
4354 |
13 Feb 17 |
nicklas |
10 |
%> |
4354 |
13 Feb 17 |
nicklas |
11 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
4354 |
13 Feb 17 |
nicklas |
12 |
<%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
4354 |
13 Feb 17 |
nicklas |
13 |
<% |
4354 |
13 Feb 17 |
nicklas |
14 |
final SessionControl sc = Base.getExistingSessionControl(request, true); |
4354 |
13 Feb 17 |
nicklas |
15 |
final String ID = sc.getId(); |
4354 |
13 Feb 17 |
nicklas |
16 |
final float scale = Base.getScale(sc); |
4630 |
21 Nov 17 |
nicklas |
17 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.relax.admin"); |
4354 |
13 Feb 17 |
nicklas |
18 |
%> |
4632 |
22 Nov 17 |
nicklas |
19 |
<base:page type="default"> |
4354 |
13 Feb 17 |
nicklas |
20 |
<base:head |
4354 |
13 Feb 17 |
nicklas |
21 |
scripts="~../relax.js,~install.js" |
4354 |
13 Feb 17 |
nicklas |
22 |
styles="path.css,table.css,~../css/relax.css" |
4354 |
13 Feb 17 |
nicklas |
23 |
> |
4354 |
13 Feb 17 |
nicklas |
24 |
|
4354 |
13 Feb 17 |
nicklas |
25 |
<style> |
4360 |
15 Feb 17 |
nicklas |
26 |
|
4360 |
15 Feb 17 |
nicklas |
27 |
#itemTable |
4354 |
13 Feb 17 |
nicklas |
28 |
{ |
4354 |
13 Feb 17 |
nicklas |
29 |
width: 100%; |
4354 |
13 Feb 17 |
nicklas |
30 |
border-collapse: collapse; |
4354 |
13 Feb 17 |
nicklas |
31 |
} |
4354 |
13 Feb 17 |
nicklas |
32 |
|
4360 |
15 Feb 17 |
nicklas |
33 |
#itemTable .highlight |
4354 |
13 Feb 17 |
nicklas |
34 |
{ |
4360 |
15 Feb 17 |
nicklas |
35 |
border-top-width: 1px; |
4360 |
15 Feb 17 |
nicklas |
36 |
border-top-style: dotted; |
4354 |
13 Feb 17 |
nicklas |
37 |
} |
4354 |
13 Feb 17 |
nicklas |
38 |
|
4360 |
15 Feb 17 |
nicklas |
39 |
#itemTable th, #itemTable td |
4354 |
13 Feb 17 |
nicklas |
40 |
{ |
4360 |
15 Feb 17 |
nicklas |
41 |
text-align: left; |
4360 |
15 Feb 17 |
nicklas |
42 |
padding: 2px 4px 2px 4px; |
4354 |
13 Feb 17 |
nicklas |
43 |
} |
4354 |
13 Feb 17 |
nicklas |
44 |
|
4360 |
15 Feb 17 |
nicklas |
45 |
#itemTable input[type="text"], #itemTable select |
4354 |
13 Feb 17 |
nicklas |
46 |
{ |
4360 |
15 Feb 17 |
nicklas |
47 |
width: calc(100% - 10px); |
4354 |
13 Feb 17 |
nicklas |
48 |
} |
4354 |
13 Feb 17 |
nicklas |
49 |
|
4362 |
16 Feb 17 |
nicklas |
50 |
#itemTable .indexCol |
4354 |
13 Feb 17 |
nicklas |
51 |
{ |
4362 |
16 Feb 17 |
nicklas |
52 |
width: 4em; |
4362 |
16 Feb 17 |
nicklas |
53 |
text-align: right; |
4362 |
16 Feb 17 |
nicklas |
54 |
white-space: nowrap; |
4362 |
16 Feb 17 |
nicklas |
55 |
font-weight: bold; |
4354 |
13 Feb 17 |
nicklas |
56 |
} |
4354 |
13 Feb 17 |
nicklas |
57 |
|
4362 |
16 Feb 17 |
nicklas |
58 |
#itemTable .itemTypeCol |
4354 |
13 Feb 17 |
nicklas |
59 |
{ |
4360 |
15 Feb 17 |
nicklas |
60 |
width: 16em; |
4354 |
13 Feb 17 |
nicklas |
61 |
} |
4354 |
13 Feb 17 |
nicklas |
62 |
|
4362 |
16 Feb 17 |
nicklas |
63 |
#itemTable .itemNameCol |
4362 |
16 Feb 17 |
nicklas |
64 |
{ |
4362 |
16 Feb 17 |
nicklas |
65 |
width: 24em; |
4362 |
16 Feb 17 |
nicklas |
66 |
} |
4362 |
16 Feb 17 |
nicklas |
67 |
|
4360 |
15 Feb 17 |
nicklas |
68 |
#itemTable .iconCol |
4354 |
13 Feb 17 |
nicklas |
69 |
{ |
4360 |
15 Feb 17 |
nicklas |
70 |
width: 30px; |
4360 |
15 Feb 17 |
nicklas |
71 |
text-align: center; |
4354 |
13 Feb 17 |
nicklas |
72 |
} |
4354 |
13 Feb 17 |
nicklas |
73 |
|
4362 |
16 Feb 17 |
nicklas |
74 |
#itemTable .messageCol |
4362 |
16 Feb 17 |
nicklas |
75 |
{} |
4362 |
16 Feb 17 |
nicklas |
76 |
|
4360 |
15 Feb 17 |
nicklas |
77 |
.check-not-ok |
4354 |
13 Feb 17 |
nicklas |
78 |
{ |
4354 |
13 Feb 17 |
nicklas |
79 |
font-weight: bold; |
4354 |
13 Feb 17 |
nicklas |
80 |
} |
4354 |
13 Feb 17 |
nicklas |
81 |
|
4354 |
13 Feb 17 |
nicklas |
82 |
|
4354 |
13 Feb 17 |
nicklas |
83 |
#workInProgress |
4354 |
13 Feb 17 |
nicklas |
84 |
{ |
4354 |
13 Feb 17 |
nicklas |
85 |
top: auto; |
5043 |
19 Oct 18 |
nicklas |
86 |
height: 8em; |
4354 |
13 Feb 17 |
nicklas |
87 |
left: 1em; |
4354 |
13 Feb 17 |
nicklas |
88 |
right: 1em; |
4354 |
13 Feb 17 |
nicklas |
89 |
} |
4354 |
13 Feb 17 |
nicklas |
90 |
|
4354 |
13 Feb 17 |
nicklas |
91 |
#workInProgress.working |
4354 |
13 Feb 17 |
nicklas |
92 |
{ |
4354 |
13 Feb 17 |
nicklas |
93 |
top: 0; |
4354 |
13 Feb 17 |
nicklas |
94 |
bottom: 0; |
4354 |
13 Feb 17 |
nicklas |
95 |
} |
4362 |
16 Feb 17 |
nicklas |
96 |
|
4362 |
16 Feb 17 |
nicklas |
97 |
.all-checks-passed |
4362 |
16 Feb 17 |
nicklas |
98 |
{ |
4362 |
16 Feb 17 |
nicklas |
99 |
text-align: center; |
4362 |
16 Feb 17 |
nicklas |
100 |
font-weight: bold; |
4362 |
16 Feb 17 |
nicklas |
101 |
margin: 1em; |
4362 |
16 Feb 17 |
nicklas |
102 |
} |
4362 |
16 Feb 17 |
nicklas |
103 |
|
4362 |
16 Feb 17 |
nicklas |
104 |
.all-checks-passed::before |
4362 |
16 Feb 17 |
nicklas |
105 |
{ |
4362 |
16 Feb 17 |
nicklas |
106 |
content: url('../images/ok.png'); |
4362 |
16 Feb 17 |
nicklas |
107 |
vertical-align: -0.25em; |
4362 |
16 Feb 17 |
nicklas |
108 |
margin-right: 0.5em; |
4362 |
16 Feb 17 |
nicklas |
109 |
} |
4354 |
13 Feb 17 |
nicklas |
110 |
</style> |
4354 |
13 Feb 17 |
nicklas |
111 |
</base:head> |
4354 |
13 Feb 17 |
nicklas |
112 |
<base:body> |
4354 |
13 Feb 17 |
nicklas |
113 |
|
4354 |
13 Feb 17 |
nicklas |
114 |
<p:path><p:pathelement |
4630 |
21 Nov 17 |
nicklas |
115 |
title="Relax" href="<%="../index-admin.jsp?ID="+ID%>" |
4354 |
13 Feb 17 |
nicklas |
116 |
/><p:pathelement title="Installation wizard" |
4354 |
13 Feb 17 |
nicklas |
117 |
/></p:path> |
4354 |
13 Feb 17 |
nicklas |
118 |
|
4354 |
13 Feb 17 |
nicklas |
119 |
<div class="content" id="wizard"> |
4354 |
13 Feb 17 |
nicklas |
120 |
|
5043 |
19 Oct 18 |
nicklas |
121 |
<div class="absolutefull bottomborder" style="bottom: 8em;"> |
5078 |
08 Nov 18 |
nicklas |
122 |
<div id="wizard-messages" style="display:none;"></div> |
4360 |
15 Feb 17 |
nicklas |
123 |
<table id="itemTable" class="topborder bottomborder" style="display: none;"> |
4360 |
15 Feb 17 |
nicklas |
124 |
<thead class="bg-filled-100 bottomborder"> |
4360 |
15 Feb 17 |
nicklas |
125 |
<tr> |
4362 |
16 Feb 17 |
nicklas |
126 |
<th class="indexCol">##</th> |
4362 |
16 Feb 17 |
nicklas |
127 |
<th class="itemTypeCol dottedleft">Item type</th> |
4362 |
16 Feb 17 |
nicklas |
128 |
<th class="itemNameCol">Name</th> |
4360 |
15 Feb 17 |
nicklas |
129 |
<th class="iconCol"></th> |
4362 |
16 Feb 17 |
nicklas |
130 |
<th class="messageCol">Message</th> |
4360 |
15 Feb 17 |
nicklas |
131 |
</tr> |
4360 |
15 Feb 17 |
nicklas |
132 |
<tr> |
4362 |
16 Feb 17 |
nicklas |
133 |
<th></th> |
4362 |
16 Feb 17 |
nicklas |
134 |
<th class="dottedleft"> |
4360 |
15 Feb 17 |
nicklas |
135 |
<select name="typeFilter" id="typeFilter"></select> |
4360 |
15 Feb 17 |
nicklas |
136 |
</th> |
4362 |
16 Feb 17 |
nicklas |
137 |
<th><input type="text" name="nameFilter" id="nameFilter"></th> |
4360 |
15 Feb 17 |
nicklas |
138 |
<th></th> |
4360 |
15 Feb 17 |
nicklas |
139 |
<th><input type="text" name="messageFilter" id="messageFilter"></th> |
4360 |
15 Feb 17 |
nicklas |
140 |
</tr> |
4360 |
15 Feb 17 |
nicklas |
141 |
</thead> |
4360 |
15 Feb 17 |
nicklas |
142 |
<tbody id="item-list" style="display: none;"></tbody> |
4360 |
15 Feb 17 |
nicklas |
143 |
<tbody id="no-matching-items" style="display: none;"> |
4360 |
15 Feb 17 |
nicklas |
144 |
<tr> |
4360 |
15 Feb 17 |
nicklas |
145 |
<th></th> |
4360 |
15 Feb 17 |
nicklas |
146 |
<td class="dottedleft" colspan="4" style="font-weight: bold; padding: 1em;"> |
4360 |
15 Feb 17 |
nicklas |
147 |
No items matches the filter. |
4360 |
15 Feb 17 |
nicklas |
148 |
</td> |
4360 |
15 Feb 17 |
nicklas |
149 |
</tr> |
4360 |
15 Feb 17 |
nicklas |
150 |
</tbody> |
4360 |
15 Feb 17 |
nicklas |
151 |
</table> |
4362 |
16 Feb 17 |
nicklas |
152 |
</div> |
4354 |
13 Feb 17 |
nicklas |
153 |
|
4354 |
13 Feb 17 |
nicklas |
154 |
<div class="absolutefull working" id="workInProgress"> |
5043 |
19 Oct 18 |
nicklas |
155 |
<div id="wizard-status" style="display:none; margin-top: 1em;"></div> |
5078 |
08 Nov 18 |
nicklas |
156 |
<div id="wizard-progress"></div> |
5043 |
19 Oct 18 |
nicklas |
157 |
|
4354 |
13 Feb 17 |
nicklas |
158 |
<div id="createMissingItems" style="display:none; margin-top: 1em;"> |
4354 |
13 Feb 17 |
nicklas |
159 |
<base:buttongroup> |
4354 |
13 Feb 17 |
nicklas |
160 |
<base:button id="btnCreateMissingItems" title="Create missing items" image="add.png" /> |
4354 |
13 Feb 17 |
nicklas |
161 |
</base:buttongroup> |
4354 |
13 Feb 17 |
nicklas |
162 |
</div> |
4354 |
13 Feb 17 |
nicklas |
163 |
|
4354 |
13 Feb 17 |
nicklas |
164 |
<div id="fixIncompleteItems" style="display:none; margin-top: 1em;"> |
4354 |
13 Feb 17 |
nicklas |
165 |
<base:buttongroup> |
4354 |
13 Feb 17 |
nicklas |
166 |
<base:button id="btnFixItems" title="Fix items" image="fixit.png" /> |
4354 |
13 Feb 17 |
nicklas |
167 |
</base:buttongroup> |
4354 |
13 Feb 17 |
nicklas |
168 |
</div> |
5078 |
08 Nov 18 |
nicklas |
169 |
|
4354 |
13 Feb 17 |
nicklas |
170 |
</div> |
4354 |
13 Feb 17 |
nicklas |
171 |
|
4354 |
13 Feb 17 |
nicklas |
172 |
</div> |
4354 |
13 Feb 17 |
nicklas |
173 |
|
4354 |
13 Feb 17 |
nicklas |
174 |
</base:body> |
4354 |
13 Feb 17 |
nicklas |
175 |
</base:page> |