systemLogs.ejs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <div class="row" ng-controller="systemLogs">
  2. <% include public/modal %>
  3. <div class="col-xs-12">
  4. <div class="panel">
  5. <% include public/tableTool %>
  6. </div>
  7. <div class="box">
  8. <div class="box-body table-responsive no-padding" >
  9. <table class="table table-hover">
  10. <tr>
  11. <th><input type="checkbox" class="mini" id="selectAll"/></th>
  12. <th>行为</th>
  13. <th>类别</th>
  14. <th>发生时间</th>
  15. <th>操作</th>
  16. </tr>
  17. <tr class="datalist" ng-repeat="opt in data">
  18. <td><input type="checkbox" name="listItem" class="mini" value="{{opt._id}}" ng-click="getNewIds()"/></td>
  19. <td>{{opt.logs}}</td>
  20. <td ng-switch on="opt.type">
  21. <span ng-switch-when="login">系统登录</span>
  22. </td>
  23. <td class=" ">{{opt.date | date : "yyyy-MM-dd HH:mm:ss"}}</td>
  24. <td class=" ">
  25. <button class="btn btn-default btn-xs" ng-click="delOneItem(opt._id)"><span class="fa fa-fw fa-trash-o" aria-hidden="true"></span>删除</button>
  26. </td>
  27. </tr>
  28. </table>
  29. </div><!-- /.box-body -->
  30. <% include public/tableFooter %>
  31. </div><!-- /.box -->
  32. </div><!-- /.col -->
  33. </div>