Mercurial > hg > LGServices
comparison src/main/webapp/pages/books.jsp @ 18:881e7591f3e4
new: adding paginator in books page
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 02 Jun 2015 15:09:54 +0200 |
parents | 372dab740f15 |
children | 996f8f1b69db |
comparison
equal
deleted
inserted
replaced
17:372dab740f15 | 18:881e7591f3e4 |
---|---|
42 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" | 42 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" |
43 method="post" | 43 method="post" |
44 class="contentForm"> | 44 class="contentForm"> |
45 <input name="bean" type="hidden" value="booksBean" /> | 45 <input name="bean" type="hidden" value="booksBean" /> |
46 | 46 |
47 <table style="width: 90%; margin-left: auto;margin-right: auto;" class="pageTable"> | 47 <jsp:include page="../componentes/paginator.jsp"> |
48 <jsp:param name="formName" value="booksForm"/> | |
49 </jsp:include> | |
50 | |
51 <table style="width: 90%; margin-left: auto;margin-right: auto;" class="pageTable"> | |
48 <tr> | 52 <tr> |
49 <td> | 53 <td> |
50 <table class="sortTable"> | 54 <table class="sortTable"> |
51 <tr> | 55 <tr> |
52 <td><label class="tableTitle">Book ID</label></td> | 56 <td><label class="tableTitle">Book ID</label></td> |
149 </table> | 153 </table> |
150 </td> | 154 </td> |
151 </tr> | 155 </tr> |
152 <tr> | 156 <tr> |
153 <td> | 157 <td> |
154 <input type="text" name="level1Filter" value="<%= sessionBean.getBooksPage().getLevel1Filter()%>" size="10"/> | 158 <input type="text" name="level1Filter" value="<%= sessionBean.getBooksPage().getLevel1Filter()%>" size="5"/> |
155 </td> | 159 </td> |
156 <td> | 160 <td> |
157 <input type="image" | 161 <input type="image" |
158 onclick="setAction('filter', 'booksForm');" | 162 onclick="setAction('filter', 'booksForm');" |
159 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> | 163 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> |
180 </table> | 184 </table> |
181 </td> | 185 </td> |
182 </tr> | 186 </tr> |
183 <tr> | 187 <tr> |
184 <td> | 188 <td> |
185 <input type="text" name="level2Filter" value="<%= sessionBean.getBooksPage().getLevel2Filter()%>" size="10"/> | 189 <input type="text" name="level2Filter" value="<%= sessionBean.getBooksPage().getLevel2Filter()%>" size="5"/> |
186 </td> | 190 </td> |
187 <td> | 191 <td> |
188 <input type="image" | 192 <input type="image" |
189 onclick="setAction('filter', 'booksForm');" | 193 onclick="setAction('filter', 'booksForm');" |
190 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> | 194 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> |
211 </table> | 215 </table> |
212 </td> | 216 </td> |
213 </tr> | 217 </tr> |
214 <tr> | 218 <tr> |
215 <td> | 219 <td> |
216 <input type="text" name="periodFilter" value="<%= sessionBean.getBooksPage().getPeriodFilter()%>" size="10"/> | 220 <input type="text" name="periodFilter" value="<%= sessionBean.getBooksPage().getPeriodFilter()%>" size="5"/> |
217 </td> | 221 </td> |
218 <td> | 222 <td> |
219 <input type="image" | 223 <input type="image" |
220 onclick="setAction('filter', 'booksForm');" | 224 onclick="setAction('filter', 'booksForm');" |
221 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> | 225 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> |
242 </table> | 246 </table> |
243 </td> | 247 </td> |
244 </tr> | 248 </tr> |
245 <tr> | 249 <tr> |
246 <td> | 250 <td> |
247 <input type="text" name="dynastyFilter" value="<%= sessionBean.getBooksPage().getDynastyFilter()%>" size="10"/> | 251 <input type="text" name="dynastyFilter" value="<%= sessionBean.getBooksPage().getDynastyFilter()%>" size="5"/> |
248 </td> | 252 </td> |
249 <td> | 253 <td> |
250 <input type="image" | 254 <input type="image" |
251 onclick="setAction('filter', 'booksForm');" | 255 onclick="setAction('filter', 'booksForm');" |
252 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> | 256 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> |
273 </table> | 277 </table> |
274 </td> | 278 </td> |
275 </tr> | 279 </tr> |
276 <tr> | 280 <tr> |
277 <td> | 281 <td> |
278 <input type="text" name="adminTypeFilter" value="<%= sessionBean.getBooksPage().getAdminTypeFilter()%>" size="10"/> | 282 <input type="text" name="adminTypeFilter" value="<%= sessionBean.getBooksPage().getAdminTypeFilter()%>" size="5"/> |
279 </td> | 283 </td> |
280 <td> | 284 <td> |
281 <input type="image" | 285 <input type="image" |
282 onclick="setAction('filter', 'booksForm');" | 286 onclick="setAction('filter', 'booksForm');" |
283 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> | 287 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/> |
309 | 313 |
310 <td><label class="tableTitle">Edit TOC</label></td> <!-- go to toc page --> | 314 <td><label class="tableTitle">Edit TOC</label></td> <!-- go to toc page --> |
311 <td> | 315 <td> |
312 <table class="sortTable"> | 316 <table class="sortTable"> |
313 <tr> | 317 <tr> |
314 <td><label class="tableTitle">TOC Finished | 318 <td><label class="tableTitle">TOC Done |
315 <input type="image" | 319 <input type="image" |
316 onclick="setAction('forceReloadBooks', 'booksForm');" | 320 onclick="setAction('forceReloadBooks', 'booksForm');" |
317 src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/> | 321 src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/> |
318 </label> | 322 </label> |
319 </td> | 323 </td> |
415 <td><%= (book.getCurrentSectionVersion() == null) ? "" : book.getCurrentSectionVersion().getDate() %></td> | 419 <td><%= (book.getCurrentSectionVersion() == null) ? "" : book.getCurrentSectionVersion().getDate() %></td> |
416 </tr> | 420 </tr> |
417 | 421 |
418 <% } %> | 422 <% } %> |
419 </table> | 423 </table> |
420 | 424 |
425 <jsp:include page="../componentes/paginator.jsp"> | |
426 <jsp:param name="formName" value="booksForm"/> | |
427 </jsp:include> | |
428 | |
421 </form> | 429 </form> |
422 <% } %> | 430 <% } %> |
423 </div> | 431 </div> |
424 | 432 |
425 </body> | 433 </body> |