comparison src/main/webapp/pages/topicPage.jsp @ 70:315a6360ea1b

add dynasty filter in missing books on topicPage
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 10 Aug 2016 17:28:09 +0200
parents 824b808a7481
children 92ede90bc611
comparison
equal deleted inserted replaced
69:dd2fcc5f5deb 70:315a6360ea1b
201 <input name="bean" type="hidden" value="topicBean" /> 201 <input name="bean" type="hidden" value="topicBean" />
202 <input name="topicId" type="hidden" value="<%=sessionBean.getTopicPage().getTopicId()%>" /> 202 <input name="topicId" type="hidden" value="<%=sessionBean.getTopicPage().getTopicId()%>" />
203 203
204 <div id="pendingBooks" style="display:none"> 204 <div id="pendingBooks" style="display:none">
205 <label class="subTitel"><%=sessionBean.getTopicPage().getPendingBookList().size()%> book(s) not in the topic.</label> 205 <label class="subTitel"><%=sessionBean.getTopicPage().getPendingBookList().size()%> book(s) not in the topic.</label>
206 <label class="subTitel"><%=sessionBean.getTopicPage().getFilteredSectionListMissingBooks().size() %> book(s) after filtered.</label>
206 207
207 <div class="tableDiv double-scroll" > 208 <div class="tableDiv double-scroll" >
208 <table class="pageTable"> 209 <table class="pageTable">
209 <tr> 210 <tr>
210 <th><label class="tableTitle">Book Id</label></th> 211 <th><label class="tableTitle">Book Id</label></th>
211 <th><label class="tableTitle">Book Name</label></th> 212 <th><label class="tableTitle">Book Name</label></th>
212 <th><label class="tableTitle">Level 1</label></th> 213 <th><label class="tableTitle">Level 1</label></th>
213 <th><label class="tableTitle">Level 2</label></th> 214 <th><label class="tableTitle">Level 2</label></th>
214 <th><label class="tableTitle">Dynasty</label></th> 215 <th>
216 <table class="sortTable">
217 <tr>
218 <td><label class="tableTitle">Dynasty</label></td>
219
220 </tr>
221 <tr>
222 <td>
223 <input type="text" class="filterInput" name="dynastyFilterMissingBooks" id="dynastyFilterMissingBooks" value="<%= sessionBean.getTopicPage().getDynastyFilterMissingBooks() %>"/>
224 </td>
225 <td>
226 <input type="image"
227 onclick="setAction('filter', 'topicSectionRelationForm');"
228 src="<%=sessionBean.getApplicationBean().getFilterImage()%>"/>
229 </td>
230 </tr>
231 </table>
232
233
234
235
236 </th>
237
215 <th><label class="tableTitle">Period</label></th> 238 <th><label class="tableTitle">Period</label></th>
216 <th><label class="tableTitle">Admin Type</label></th> 239 <th><label class="tableTitle">Admin Type</label></th>
217 <th><label class="tableTitle">Section Name</label></th> 240 <th><label class="tableTitle">Section Name</label></th>
218 <th><label class="tableTitle">Section Pages</label></th> 241 <th><label class="tableTitle">Section Pages</label></th>
219 <th><label class="tableTitle">Load Text (Plain)</label></th> 242 <th><label class="tableTitle">Load Text (Plain)</label></th>
220 <th><label class="tableTitle">Load tagged text in Extraction Interface</label></th> 243 <th><label class="tableTitle">Load tagged text in Extraction Interface</label></th>
221 <th><label class="tableTitle">Remove</label></th> 244 <th><label class="tableTitle">Remove</label></th>
222 </tr> 245 </tr>
223 246
224 <!-- pending book list --> 247 <!-- pending book list -->
225 <% for(DBBook book : sessionBean.getTopicPage().getPendingBookList() ) { %> 248 <% for(DBBook book : sessionBean.getTopicPage().getFilteredSectionListMissingBooks() ) { %>
226 <tr> 249 <tr>
227 <td> 250 <td>
228 <a href="<%=sessionBean.getApplicationBean().getTocInterfaceUrl()%>/check_sections_details.php?book_id=<%=book.getId() %>&amp;count=100&amp;sessionId=<%= session.getId()%>" target="blank"> 251 <a href="<%=sessionBean.getApplicationBean().getTocInterfaceUrl()%>/check_sections_details.php?book_id=<%=book.getId() %>&amp;count=100&amp;sessionId=<%= session.getId()%>" target="blank">
229 <%=book.getId() %> 252 <%=book.getId() %>
230 </a> 253 </a>