1 | <%@ page |
---|
2 | pageEncoding="UTF-8" |
---|
3 | session="false" |
---|
4 | import="net.sf.basedb.core.Application" |
---|
5 | import="net.sf.basedb.core.User" |
---|
6 | import="net.sf.basedb.core.DbControl" |
---|
7 | import="net.sf.basedb.core.SessionControl" |
---|
8 | import="net.sf.basedb.clients.web.Base" |
---|
9 | import="net.sf.basedb.clients.web.util.HTML" |
---|
10 | import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
---|
11 | import="net.sf.basedb.util.Values" |
---|
12 | %> |
---|
13 | <%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
---|
14 | <%@ taglib prefix="p" uri="/WEB-INF/path.tld" %> |
---|
15 | <% |
---|
16 | final SessionControl sc = Base.getExistingSessionControl(request, true); |
---|
17 | final String ID = sc.getId(); |
---|
18 | final float scale = Base.getScale(sc); |
---|
19 | final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
---|
20 | DbControl dc = null; |
---|
21 | try |
---|
22 | { |
---|
23 | dc = sc.newDbControl(); |
---|
24 | final User user = User.getById(dc, sc.getLoggedInUserId()); |
---|
25 | %> |
---|
26 | <base:page type="default" > |
---|
27 | <base:head scripts="ajax.js,~../reggie.js,~install.js" styles="path.css,table.css,~../css/reggie.css"> |
---|
28 | |
---|
29 | <style> |
---|
30 | .report |
---|
31 | { |
---|
32 | width: 100%; |
---|
33 | border-collapse: collapse; |
---|
34 | } |
---|
35 | |
---|
36 | .report .itemTypeCol |
---|
37 | { |
---|
38 | width: 18em; |
---|
39 | overflow: hidden; |
---|
40 | text-overflow: ellipsis; |
---|
41 | } |
---|
42 | |
---|
43 | .report .iconCol |
---|
44 | { |
---|
45 | width: 20px; |
---|
46 | } |
---|
47 | .report .statusCol |
---|
48 | {} |
---|
49 | |
---|
50 | |
---|
51 | .report th |
---|
52 | { |
---|
53 | font-weight: bold; |
---|
54 | text-align: left; |
---|
55 | background: #E8E8E8; |
---|
56 | padding: 2px 4px 2px 4px; |
---|
57 | } |
---|
58 | |
---|
59 | .report td |
---|
60 | { |
---|
61 | padding: 2px; |
---|
62 | } |
---|
63 | |
---|
64 | .report .newitemtype |
---|
65 | { |
---|
66 | border-top: 1px solid #A0A0A0; |
---|
67 | border-bottom: 1px solid #A0A0A0; |
---|
68 | font-weight: bold; |
---|
69 | background-color: #E8E8E8; |
---|
70 | } |
---|
71 | .report .sameitemtype |
---|
72 | { |
---|
73 | border-top: 1px dotted #A0A0A0; |
---|
74 | border-bottom: 1px dotted #A0A0A0; |
---|
75 | } |
---|
76 | |
---|
77 | .report .sameitemtype > td:first-child |
---|
78 | { |
---|
79 | padding-left: 1em; |
---|
80 | } |
---|
81 | |
---|
82 | .report .check-not-ok |
---|
83 | { |
---|
84 | font-weight: bold; |
---|
85 | } |
---|
86 | |
---|
87 | .report .sameitemtype.PLUGINCONFIGURATION > td:first-child |
---|
88 | { |
---|
89 | padding-left: 2.5em; |
---|
90 | font-style: italic; |
---|
91 | } |
---|
92 | |
---|
93 | .report td |
---|
94 | { |
---|
95 | white-space: nowrap; |
---|
96 | overflow: hidden; |
---|
97 | text-overflow: ellipsis; |
---|
98 | } |
---|
99 | </style> |
---|
100 | </base:head> |
---|
101 | <base:body> |
---|
102 | |
---|
103 | <p:path><p:pathelement |
---|
104 | title="Reggie" href="<%="../index.jsp?ID="+ID%>" |
---|
105 | /><p:pathelement title="Installation wizard" |
---|
106 | /></p:path> |
---|
107 | |
---|
108 | <div class="content" style="padding-left: 2em;"> |
---|
109 | |
---|
110 | <div class="absolutefull" style="width: 33%; bottom: 10em;"> |
---|
111 | <div id="validationResult0" class="absolutefull fullborder" style="left: 1em; right: 0.5em; border-top-width: 0 !important;"> |
---|
112 | Checking; please wait... |
---|
113 | </div> |
---|
114 | </div> |
---|
115 | |
---|
116 | <div class="absolutefull" style="width: 33%; bottom: 10em; left: 33%;"> |
---|
117 | <div id="validationResult1" class="absolutefull fullborder" style="left: 0.5em; right: 1em; border-top-width: 0 !important;"> |
---|
118 | </div> |
---|
119 | </div> |
---|
120 | |
---|
121 | <div class="absolutefull" style="width: 34%; bottom: 10em; left: auto;"> |
---|
122 | <div id="validationResult2" class="absolutefull fullborder" style="left: 0.5em; right: 1em; border-top-width: 0 !important;"> |
---|
123 | </div> |
---|
124 | </div> |
---|
125 | |
---|
126 | <div class="absolutefull" style="top: auto; height: 10em; left: 1em; right: 1em;"> |
---|
127 | <div id="createMissingItems" style="display:none; margin-top: 1em;"> |
---|
128 | <base:buttongroup> |
---|
129 | <base:button id="btnCreateMissingItems" title="Create missing items" image="add.png" /> |
---|
130 | </base:buttongroup> |
---|
131 | </div> |
---|
132 | |
---|
133 | <div id="fixIncompleteItems" style="display:none; margin-top: 1em;"> |
---|
134 | <base:buttongroup> |
---|
135 | <base:button id="btnFixItems" title="Fix items" image="fixit.png" /> |
---|
136 | </base:buttongroup> |
---|
137 | </div> |
---|
138 | |
---|
139 | <div class="messagecontainer error" id="errorMessage" style="display: none;"></div> |
---|
140 | |
---|
141 | <div class="messagecontainer note" id="warningMessage" style="display: none;"> |
---|
142 | <div id="warningMessage.message"></div> |
---|
143 | </div> |
---|
144 | </div> |
---|
145 | |
---|
146 | </div> |
---|
147 | |
---|
148 | </base:body> |
---|
149 | </base:page> |
---|
150 | <% |
---|
151 | } |
---|
152 | finally |
---|
153 | { |
---|
154 | if (dc != null) dc.close(); |
---|
155 | } |
---|
156 | %> |
---|