| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <%@page contentType="text/html;charset=UTF-8"%>
- <%@include file="/taglibs.jsp"%>
- <%pageContext.setAttribute("currentHeader", "msg");%>
- <%pageContext.setAttribute("currentMenu", "msg");%>
- <!doctype html>
- <html lang="en">
- <head>
- <%@include file="/common/meta.jsp"%>
- <title><spring:message code="dev.msg-info.list.title" text="列表"/></title>
- <%@include file="/common/s.jsp"%>
- <script type="text/javascript">
- var config = {
- id: 'msg-infoGrid',
- pageNo: ${page.pageNo},
- pageSize: ${page.pageSize},
- totalCount: ${page.totalCount},
- resultSize: ${page.resultSize},
- pageCount: ${page.pageCount},
- orderBy: '${page.orderBy == null ? "" : page.orderBy}',
- asc: ${page.asc},
- params: {
- 'filter_LIKES_name': '${param.filter_LIKES_name}'
- },
- selectedItemClass: 'selectedItem',
- gridFormId: 'msg-infoGridForm',
- exportUrl: 'msg-info-export.do'
- };
- var table;
- $(function() {
- table = new Table(config);
- table.configPagination('.m-pagination');
- table.configPageInfo('.m-page-info');
- table.configPageSize('.m-page-size');
- });
- </script>
- </head>
- <body>
- <%@include file="/header/msg-info.jsp"%>
- <div class="row-fluid">
- <%@include file="/menu/msg-info.jsp"%>
- <!-- start of main -->
- <section id="m-main" class="span10">
- <article class="m-widget">
- <header class="header">
- <h4 class="title">查询</h4>
- <div class="ctrl">
- <a class="btn"><i id="msg-infoSearchIcon" class="icon-chevron-up"></i></a>
- </div>
- </header>
- <div id="msg-infoSearch" class="content content-inner">
- <form name="msg-infoForm" method="post" action="msg-info-list.do" class="form-inline">
- <label for="msg-info_name"><spring:message code='msg-info.msg-info.list.search.name' text='名称'/>:</label>
- <input type="text" id="msg-info_name" name="filter_LIKES_name" value="${param.filter_LIKES_name}">
- <button class="btn btn-small a-search" onclick="document.msg-infoForm.submit()">查询</button>
- </form>
- </div>
- </article>
- <article class="m-blank">
- <div class="pull-left">
- <region:region-permission permission="msg-info:create">
- <button class="btn btn-small a-insert" onclick="location.href='msg-info-input.do'">新建</button>
- </region:region-permission>
- <region:region-permission permission="msg-info:delete">
- <button class="btn btn-small a-remove" onclick="table.removeAll()">删除</button>
- </region:region-permission>
- <button class="btn btn-small a-export" onclick="table.exportExcel()">导出</button>
- </div>
- <div class="pull-right">
- 每页显示
- <select class="m-page-size">
- <option value="10">10</option>
- <option value="20">20</option>
- <option value="50">50</option>
- </select>
- 条
- </div>
- <div class="m-clear"></div>
- </article>
- <article class="m-widget">
- <header class="header">
- <h4 class="title"><spring:message code="msg-info.msg-info.list.title" text="列表"/></h4>
- </header>
- <div class="content">
- <form id="msg-infoGridForm" name="msg-infoGridForm" method='post' action="msg-info-remove.do" class="m-form-blank">
- <table id="msg-infoGrid" class="m-table table-hover">
- <thead>
- <tr>
- <th width="10" class="m-table-check"><input type="checkbox" name="checkAll" onchange="toggleSelectedItems(this.checked)"></th>
- <th class="sorting" name="name">标题</th>
- <th class="sorting" name="name">收件人</th>
- <th class="sorting" name="name">发送时间</th>
- <th class="sorting" name="name">状态</th>
- <th width="80"> </th>
- </tr>
- </thead>
- <tbody>
- <c:forEach items="${page.result}" var="item">
- <tr>
- <td><input type="checkbox" class="selectedItem a-check" name="selectedItem" value="${item.id}"></td>
- <td>${item.name}</td>
- <td>${item.receiverUsername}</td>
- <td>${item.createTime}</td>
- <td>${item.status == 0 ? '未读' : '已读'}</td>
- <td>
- <a href="msg-info-input.do?id=${item.id}" class="a-update"><spring:message code="core.list.edit" text="编辑"/></a>
- </td>
- </tr>
- </c:forEach>
- </tbody>
- </table>
- </form>
- </div>
- </article>
- <article>
- <div class="m-page-info pull-left">
- 共100条记录 显示1到10条记录
- </div>
- <div class="btn-group m-pagination pull-right">
- <button class="btn btn-small"><</button>
- <button class="btn btn-small">1</button>
- <button class="btn btn-small">></button>
- </div>
- <div class="m-clear"></div>
- </article>
- <div class="m-spacer"></div>
- </section>
- <!-- end of main -->
- </div>
- </body>
- </html>
|