log.jsp 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
  3. <!DOCTYPE html>
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <jsp:include page="head.jsp"/>
  6. <Link href="/css/jquery.treegrid.css" rel="stylesheet">
  7. <body>
  8. <div class="container" align="center">
  9. <jsp:include page="header.jsp"/>
  10. <jsp:include page="menu.jsp"/>
  11. <div class="content">
  12. <table border="0" cellpadding="10" cellspacing="0" width="600" style="font-weight: bold;font-family:tahoma;font-size:14pt;color:#808080;border-color:#6a5acd" >
  13. <tr><td>
  14. <fieldset><legend> Log Files </legend>
  15. <table class="table table-bordered tree-basic" id="logFiles" border="0" cellpadding="1" cellspacing="0" style="width: 100%; font-weight: normal;font-family:tahoma;font-size:12pt;">
  16. <tbody id="logTbody">
  17. </tbody>
  18. </table>
  19. </fieldset>
  20. </td></tr>
  21. </table>
  22. </div>
  23. <div class="content">
  24. <div class="log" id="log">
  25. <fieldset id="FileForm">
  26. <legend name="fileName" id="logFileName">Log File View</legend>
  27. <div id="logScroll" style="width: 98%;height: 660px;overflow: auto;margin:5px auto;">
  28. <table >
  29. <tbody id="fileTbody">
  30. </tbody>
  31. </table>
  32. </div>
  33. </fieldset>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <script src="/js/jquery.treegrid.min.js"></script>
  39. <script type="text/javascript">
  40. function init(){
  41. var fileList = ${fileList};
  42. var fileListBody = initLogFileList(fileList);
  43. tbodyAppend("logTbody", fileListBody);
  44. $('.tree-basic').treegrid();
  45. }
  46. $(document).ready(function() {
  47. init();
  48. });
  49. </script>
  50. </body>
  51. </html>