Mercurial > hg > LGServices
comparison src/main/webapp/pages/topicList.jsp @ 43:9dbbbfd474f4
new: 1.existing topic in search result. 2.difference-set of book for topic
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 23 Dec 2015 16:03:32 +0100 |
parents | ba9515f22897 |
children | 6199b0ddac94 |
comparison
equal
deleted
inserted
replaced
42:815cd86bb9ec | 43:9dbbbfd474f4 |
---|---|
50 method="post"> | 50 method="post"> |
51 <input name="bean" type="hidden" value="topicListBean" /> | 51 <input name="bean" type="hidden" value="topicListBean" /> |
52 <table> | 52 <table> |
53 <tr> | 53 <tr> |
54 <td> | 54 <td> |
55 <span>Name (Eng)</span> | 55 <span>name(Eng)*</span> |
56 </td> | 56 </td> |
57 <td> | 57 <td> |
58 <input id="nameEn" name="nameEn" type="text" placeholder="e.g. Local Product"/> | 58 <input id="nameEn" name="nameEn" type="text" placeholder="e.g. Local Product"/> |
59 </td> | 59 </td> |
60 </tr> | 60 </tr> |
61 <tr> | 61 <tr> |
62 <td> | 62 <td> |
63 <span>name (中文)</span> | 63 <span>name(中文)*</span> |
64 </td> | 64 </td> |
65 <td> | 65 <td> |
66 <input id="nameCh" name="nameCh" type="text" placeholder="e.g. 物產"/> | 66 <input id="nameCh" name="nameCh" type="text" placeholder="e.g. 物產"/> |
67 </td> | 67 </td> |
68 </tr> | 68 </tr> |
69 <tr> | 69 <tr> |
70 <td> | 70 <td> |
71 <span>name (Pinyin)</span> | 71 <span>name(Pinyin)*</span> |
72 </td> | 72 </td> |
73 <td> | 73 <td> |
74 <input id="namePinyin" name="namePinyin" type="text" placeholder="e.g. wu chan"/> | 74 <input id="namePinyin" name="namePinyin" type="text" placeholder="e.g. wu chan"/> |
75 </td> | 75 </td> |
76 </tr> | 76 </tr> |
94 | 94 |
95 <form name="topicListForm" id="topicListForm" method="post" | 95 <form name="topicListForm" id="topicListForm" method="post" |
96 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" > | 96 action="<%=sessionBean.getApplicationBean().getRootServer()%>/proxy.jsp" > |
97 <input name="bean" type="hidden" value="topicListBean" /> | 97 <input name="bean" type="hidden" value="topicListBean" /> |
98 | 98 |
99 <div class="subTitel">Topic | 99 <div class="subTitel">Topic List |
100 <input type="image" | 100 <input type="image" |
101 onclick="setAction('forceLoadTopics', 'topicListForm');" | 101 onclick="setAction('forceLoadTopics', 'topicListForm');" |
102 src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/> | 102 src="<%=sessionBean.getApplicationBean().getRefreshImage()%>" width="20" height="20"/> |
103 | 103 |
104 <p class="label">You have <%= sessionBean.getTopicListPage().getTopicNumber() %> topics.</p> | 104 <p class="label">You have <%= sessionBean.getTopicListPage().getTopicNumber() %> topics.</p> |
107 | 107 |
108 | 108 |
109 | 109 |
110 <button id="createTopic" type="button" class="lgButton">Create New Topic</button> | 110 <button id="createTopic" type="button" class="lgButton">Create New Topic</button> |
111 | 111 |
112 | 112 |
113 <jsp:include page="../componentes/paginator.jsp"> | |
114 <jsp:param name="formName" value="topicListForm"/> | |
115 </jsp:include> | |
116 | 113 |
117 <div class="tableDiv double-scroll"> | 114 <div class="tableDiv double-scroll"> |
118 <table class="pageTable" > | 115 <table class="pageTable" > |
119 <tr> | 116 <tr> |
120 <td> | 117 <td> |
137 </td> | 134 </td> |
138 </tr> | 135 </tr> |
139 </table> | 136 </table> |
140 </td> | 137 </td> |
141 | 138 |
142 | |
143 <td> | 139 <td> |
144 <table class="sortTable"> | 140 <table class="sortTable"> |
145 <tr> | 141 <tr> |
146 <td><label class="tableTitle">Name(Eng)</label></td> | 142 <td><label class="tableTitle">Name(Eng)</label></td> |
147 <td> | 143 <td> |
255 | 251 |
256 <td><label class="tableTitle">Manage</label></td> | 252 <td><label class="tableTitle">Manage</label></td> |
257 <td><label class="tableTitle">Delete</label></td> | 253 <td><label class="tableTitle">Delete</label></td> |
258 </tr> | 254 </tr> |
259 | 255 |
260 <% for (LGTopic topic : sessionBean.getTopicListPage().getDisplayTopicList() ) { | 256 <% for (LGTopic topic : sessionBean.getTopicListPage().getCompleteTopicList() ) { |
261 %> | 257 %> |
262 <tr> | 258 <tr> |
263 <td><%=topic.getId() %></td> | 259 <td><%=topic.getId() %></td> |
264 <td><%=topic.getNameEn() %></td> | 260 <td><%=topic.getNameEn() %></td> |
265 <td><%=topic.getNameCh() %></td> | 261 <td><%=topic.getNameCh() %></td> |
293 | 289 |
294 </table> | 290 </table> |
295 | 291 |
296 </div> | 292 </div> |
297 | 293 |
298 | |
299 <jsp:include page="../componentes/paginator.jsp"> | |
300 <jsp:param name="formName" value="topicListForm"/> | |
301 </jsp:include> | |
302 | 294 |
303 </form> | 295 </form> |
304 <% } %> | 296 <% } %> |
305 <% } %> | 297 <% } %> |
306 </div> | 298 </div> |