testPieClassList.jsp 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <%@ include file="/webpage/include/taglib.jsp"%>
  3. <html>
  4. <head>
  5. <title>学生管理</title>
  6. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  7. <meta name="decorator" content="ani"/>
  8. <%@ include file="/webpage/include/bootstraptable.jsp"%>
  9. <%@include file="/webpage/include/treeview.jsp" %>
  10. <%@ include file="/webpage/include/echarts.jsp"%>
  11. <%@include file="testPieClassList.js" %>
  12. </head>
  13. <body>
  14. <div class="wrapper wrapper-content">
  15. <div class="panel panel-primary">
  16. <div class="panel-heading">
  17. <h3 class="panel-title">学生列表</h3>
  18. </div>
  19. <div class="panel-body">
  20. <div id="main" style="width: 100%;height: 300px"></div>
  21. <sys:message content="${message}"/>
  22. <!-- 工具栏 -->
  23. <div id="toolbar">
  24. <shiro:hasPermission name="echarts:other:testPieClass:add">
  25. <a id="add" class="btn btn-primary" onclick="add()"><i class="glyphicon glyphicon-plus"></i> 新建</a>
  26. </shiro:hasPermission>
  27. <shiro:hasPermission name="echarts:other:testPieClass:edit">
  28. <button id="edit" class="btn btn-success" disabled onclick="edit()">
  29. <i class="glyphicon glyphicon-edit"></i> 修改
  30. </button>
  31. </shiro:hasPermission>
  32. <shiro:hasPermission name="echarts:other:testPieClass:del">
  33. <button id="remove" class="btn btn-danger" disabled onclick="deleteAll()">
  34. <i class="glyphicon glyphicon-remove"></i> 删除
  35. </button>
  36. </shiro:hasPermission>
  37. <shiro:hasPermission name="echarts:other:testPieClass:import">
  38. <button id="btnImport" class="btn btn-info"><i class="fa fa-folder-open-o"></i> 导入</button>
  39. <div id="importBox" class="hide">
  40. <form id="importForm" action="${ctx}/echarts/other/testPieClass/import" method="post" enctype="multipart/form-data"
  41. style="padding-left:20px;text-align:center;" ><br/>
  42. <input id="uploadFile" name="file" type="file" style="width:330px"/>导入文件不能超过5M,仅允许导入“xls”或“xlsx”格式文件!<br/>  
  43. </form>
  44. </div>
  45. </shiro:hasPermission>
  46. </div>
  47. <!-- 表格 -->
  48. <table id="testPieClassTable" data-toolbar="#toolbar"></table>
  49. <!-- context menu -->
  50. <ul id="context-menu" class="dropdown-menu">
  51. <shiro:hasPermission name="echarts:other:testPieClass:edit">
  52. <li data-item="edit"><a>编辑</a></li>
  53. </shiro:hasPermission>
  54. <shiro:hasPermission name="echarts:other:testPieClass:del">
  55. <li data-item="delete"><a>删除</a></li>
  56. </shiro:hasPermission>
  57. <li data-item="action1"><a>取消</a></li>
  58. </ul>
  59. </div>
  60. </div>
  61. </div>
  62. </body>
  63. </html>