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