comparison src/main/webapp/pages/branchPage.jsp @ 54:a00efd5d9e77

new: adding delete saved table function
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 04 Feb 2016 11:30:46 +0100
parents 13555aff1f88
children b8ad346e39a0
comparison
equal deleted inserted replaced
53:db2088ac1f50 54:a00efd5d9e77
312 <td><label><%= file.getUsername() %></label></td> 312 <td><label><%= file.getUsername() %></label></td>
313 <td><label><%= file.getFomattedCreation() %></label></td> 313 <td><label><%= file.getFomattedCreation() %></label></td>
314 <td> 314 <td>
315 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getFileText?fileId=<%=file.getId() %>" 315 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getFileText?fileId=<%=file.getId() %>"
316 target="_blank"> 316 target="_blank">
317 <img alt="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/> 317 <img title="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
318 </a> 318 </a>
319 </td> 319 </td>
320 <td> 320 <td>
321 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getTable4File?fileId=<%=file.getId() %>" 321 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getTable4File?fileId=<%=file.getId() %>"
322 target="_blank"> 322 target="_blank">
323 <img alt="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/> 323 <img title="Show table" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
324 </a> 324 </a>
325 </td> 325 </td>
326 326
327 <!-- add to get tab-delimited file --> 327 <!-- add to get tab-delimited file -->
328 <td> 328 <td>
329 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getTabDelimited4File?fileId=<%=file.getId() %>" 329 <a href="<%=sessionBean.getApplicationBean().getRootServer() %>/rest/text/getTabDelimited4File?fileId=<%=file.getId() %>"
330 target="_blank"> 330 target="_blank">
331 <img alt="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/> 331 <img title="Show text" src="<%=sessionBean.getApplicationBean().getShowImage()%>"/>
332 </a> 332 </a>
333 </td> 333 </td>
334 334
335 <td> 335 <td>
336 <% if(file.getDvId() == null) {%> 336 <% if(file.getDvId() == null) {%>
342 <label>uploaded in <a href="<%=file.getDatasetUrl() %>" target="_blank"><%= file.getDatasetTitle() %></a></label> 342 <label>uploaded in <a href="<%=file.getDatasetUrl() %>" target="_blank"><%= file.getDatasetTitle() %></a></label>
343 343
344 <% } %> 344 <% } %>
345 </td> 345 </td>
346 <td> 346 <td>
347 <input type="image" 347 <input type="image" title="Delete it"
348 onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> setAction0('deleteFile', 'filesForm', 'fileId', <%=file.getId() %>);" 348 onclick="<%=sessionBean.getApplicationBean().getJSConfirmationDelete() %> setAction0('deleteFile', 'filesForm', 'fileId', <%=file.getId() %>);"
349 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/> 349 src="<%=sessionBean.getApplicationBean().getDeleteImage()%>"/>
350 </td> 350 </td>
351 </tr> 351 </tr>
352 <% } %> 352 <% } %>