systemNotice.ejs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <div class="row" ng-controller="contentnotices">
  2. <% include public/modal %>
  3. <div class="col-xs-12">
  4. <div class="panel">
  5. <a ng-click="batchIsRead()" role="button" class="btn btn-primary btn-sm"><span class="fa fa-fw fa-cloud" aria-hidden="true">&nbsp;</span>标记选中为已读</a>
  6. <% include public/tableTool %>
  7. <div class="pull-right">
  8. <% include public/searchBox %>
  9. </div>
  10. </div>
  11. <div class="box">
  12. <div class="box-body table-responsive no-padding" >
  13. <table class="table table-hover">
  14. <tr>
  15. <th><input type="checkbox" class="mini" id="selectAll"/></th>
  16. <th>标题</th>
  17. <th>内容</th>
  18. <th>发布时间</th>
  19. </tr>
  20. <tr class="datalist" id="{{notice._id}}" ng-class="{true:'noRead'}[!notice.isRead]" ng-repeat="notice in data">
  21. <td><input type="checkbox" name="listItem" class="mini" value="{{notice._id}}" nid="{{notice.notify._id}}" ng-click="getNewIds()"/></td>
  22. <td class=" " >{{notice.notify.title}}</td>
  23. <td class=" " ng-bind-html="notice.notify.content | trustHtml"></td>
  24. <td class=" ">{{notice.date | date : "yyyy-MM-dd HH:mm:ss"}}</td>
  25. </tr>
  26. </table>
  27. </div><!-- /.box-body -->
  28. <% include public/tableFooter %>
  29. </div><!-- /.box -->
  30. </div><!-- /.col -->
  31. </div>