|
5 | 5 | xmlns:h="http://xmlns.jcp.org/jsf/html"
|
6 | 6 | xmlns:f="http://xmlns.jcp.org/jsf/core"
|
7 | 7 | xmlns:jsf="http://xmlns.jcp.org/jsf"
|
8 |
| - xmlns:intranda="http://xmlns.jcp.org/jsf/composite/compositesPG" |
| 8 | + xmlns:intranda="http://xmlns.jcp.org/jsf/composite/composites" |
9 | 9 | xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
|
10 | 10 | xmlns:p="http://primefaces.org/ui">
|
11 | 11 |
|
|
34 | 34 | boxType="action"
|
35 | 35 | boxTitle="false"
|
36 | 36 | boxForm="false">
|
37 |
| - |
| 37 | + |
38 | 38 | <intranda:boxTitle
|
39 | 39 | title="#{msgs[AdministrationForm.administrationPlugin.title]}"
|
40 | 40 | icon="fa-plug">
|
41 |
| - |
| 41 | + |
42 | 42 | <div class="actions d-flex">
|
43 | 43 | <button
|
44 | 44 | jsf:rendered="#{AdministrationForm.administrationPlugin.paused}"
|
|
49 | 49 | title="#{msgs.plugin_administration_nli_hotfolder_resumework}">
|
50 | 50 | <i class="fa fa-pause"></i>
|
51 | 51 | </button>
|
52 |
| - |
| 52 | + |
53 | 53 | <button
|
54 | 54 | jsf:rendered="#{not AdministrationForm.administrationPlugin.paused}"
|
55 | 55 | jsf:id="buttonLeft2"
|
|
59 | 59 | title="#{msgs.plugin_administration_nli_hotfolder_pausework}">
|
60 | 60 | <i class="fa fa-play"></i>
|
61 | 61 | </button>
|
62 |
| - |
| 62 | + |
63 | 63 | </div>
|
64 | 64 | </intranda:boxTitle>
|
65 |
| - |
| 65 | + |
66 | 66 | <div class="p-4">
|
67 |
| - |
| 67 | + |
68 | 68 | <table class="table table-borderless">
|
69 | 69 | <tr>
|
70 | 70 | <td>
|
|
138 | 138 | </button>
|
139 | 139 | </td>
|
140 | 140 | </tr>
|
141 |
| - |
| 141 | + |
142 | 142 | <!-- ADDITIONAL ROWS FOR IMPORTING MODE -->
|
143 | 143 | <ui:fragment
|
144 | 144 | rendered="#{not AdministrationForm.administrationPlugin.paused and AdministrationForm.administrationPlugin.running}">
|
|
165 | 165 | </tr>
|
166 | 166 | </ui:fragment>
|
167 | 167 | <!-- // ADDITIONAL ROWS FOR IMPORTING MODE -->
|
168 |
| - |
| 168 | + |
169 | 169 | </table>
|
170 | 170 | </div>
|
171 |
| - |
| 171 | + |
172 | 172 | </intranda:box>
|
173 | 173 | </div>
|
174 | 174 | <!-- // BOX ON THE LEFT WITH STATUS -->
|
|
179 | 179 | boxType="neutral"
|
180 | 180 | boxTitle="false"
|
181 | 181 | boxForm="false">
|
182 |
| - |
| 182 | + |
183 | 183 | <intranda:boxTitle title="#{msgs.plugin_administration_nli_hotfolder_logs}">
|
184 |
| - |
| 184 | + |
185 | 185 | <div class="actions d-flex">
|
186 |
| - |
187 |
| - <h:outputText |
| 186 | + |
| 187 | + <h:outputText |
188 | 188 | styleClass="me-3 mt-2"
|
189 | 189 | rendered="#{AdministrationForm.administrationPlugin.listOfResults.size() ne 0}"
|
190 | 190 | value="#{AdministrationForm.administrationPlugin.logNumber + 1} / #{AdministrationForm.administrationPlugin.listOfResults.size()}"/>
|
191 |
| - |
| 191 | + |
192 | 192 | <!-- BUTTON TO PREVIOUS LOG -->
|
193 | 193 | <button
|
194 | 194 | jsf:id="previousLogButton"
|
|
207 | 207 | title="#{msgs.plugin_administration_nli_hotfolder_nextEntry}">
|
208 | 208 | <i class="fa fa-angle-right"></i>
|
209 | 209 | </button>
|
210 |
| - |
| 210 | + |
211 | 211 | </div>
|
212 | 212 | </intranda:boxTitle>
|
213 |
| - |
| 213 | + |
214 | 214 | <div class="p-4">
|
215 |
| - |
| 215 | + |
216 | 216 | <h:outputText
|
217 | 217 | styleClass="alert alert-danger d-block"
|
218 | 218 | rendered="#{AdministrationForm.administrationPlugin.lastRunInfo.keySet().size() lt 1}"
|
219 | 219 | value="#{msgs.plugin_administration_nli_hotfolder_noLogEntriesAvailable}"/>
|
220 |
| - |
| 220 | + |
221 | 221 | <ui:fragment rendered="#{AdministrationForm.administrationPlugin.lastRunInfo.keySet().size() gt 0}">
|
222 |
| - |
| 222 | + |
223 | 223 | <ui:repeat
|
224 | 224 | var="folder"
|
225 | 225 | value="#{AdministrationForm.administrationPlugin.lastRunInfo.keySet()}">
|
226 |
| - |
| 226 | + |
227 | 227 | <!-- Template name / Hotfolder name and the button to show / hide logs from previous runs -->
|
228 | 228 | <div>
|
229 | 229 | <button
|
|
233 | 233 | <span>
|
234 | 234 | <h:outputText value="#{folder}"/>
|
235 | 235 | </span>
|
236 |
| - |
| 236 | + |
237 | 237 | </button>
|
238 | 238 | <br/>
|
239 | 239 | </div>
|
240 | 240 | <!-- // Template name / Hotfolder name and button -->
|
241 |
| - |
| 241 | + |
242 | 242 | <!-- Table of error logs from the last run -->
|
243 | 243 | <table
|
244 | 244 | class="gw-table table table-bordered table-hover border-end border-start"
|
|
263 | 263 | </tbody>
|
264 | 264 | </table>
|
265 | 265 | <!-- // Table -->
|
266 |
| - |
| 266 | + |
267 | 267 | </ui:repeat>
|
268 |
| - |
| 268 | + |
269 | 269 | </ui:fragment>
|
270 |
| - |
271 |
| - |
| 270 | + |
| 271 | + |
272 | 272 | </div>
|
273 | 273 | </intranda:box>
|
274 | 274 | </div>
|
275 | 275 | <!-- // BOX ON THE RIGHT WITH LOGS -->
|
276 |
| - |
| 276 | + |
277 | 277 | </div>
|
278 | 278 | </h:form>
|
279 | 279 | </ui:fragment>
|
|
0 commit comments