list.vm 2.16 KB
#set($page_title="邮件")
#set($crumbs="首页:/home,邮件发送记录列表")
<div class="row">

<div class="col-xs-12">
<div class="table-header">
    列表
</div>

<div class="table-responsive">
<div id="sample-table-2_wrapper" class="dataTables_wrapper" role="grid">
<div class="row">
    <div class="col-sm-6" style="width:100%">
        <div id="sample-table-2_length" class="dataTables_length">
            <form action="${webUtils.getLocalPath("mail/list.do")}" id="form" method="post" class="form-horizontal">
                <input type="hidden" name="currPage" value=""/>
                <input type="submit" class="hidden" />
            </form>
        </div>
    </div>
</div>
<table id="sample-table-2"
       class="table table-striped table-bordered table-hover dataTable"
       aria-describedby="sample-table-2_info">
    <thead>
    <tr role="row">
        <th>ip</th>
        <th>发送邮箱</th>
        <th>接收邮箱</th>
        <th>主题</th>
        <th>发送时间</th>
    </tr>
    </thead>


    <tbody role="alert" aria-live="polite" aria-relevant="all">
        #foreach($obj in $!{model.list})
        <tr>
        	<td>
            $!{obj.ip}
            </td>
            <td>
            $!{obj.sender}
            </td>
            <td>
            $!{obj.addressee}
            </td>
            <td>
            $!{obj.subject}
            </td>
            <td>
            $!{obj.created}
            </td>
        </tr>
        #end
    </tbody>
</table>
<div class="row">
    <div class="col-sm-6">
    </div>
    <div class="col-sm-6">
        <div class="dataTables_paginate paging_bootstrap">
            <div class="pull-right">
                #page($!{model.totalPage},$!{model.currPage})
            </div>
                            <span class="pull-right" style="line-height: 33px;">
                                #set($tmpPage = $model.currPage + 1)
                                查询出$!{model.totalSize}条数据,共$!{model.totalPage}页,当前第$!{tmpPage}页
                            </span>
        </div>
    </div>
</div>
</div>
</div>
</div>
</div>
<script src="$!{webUtils.getAssetsPath("/js/diligrp.form.js")}"></script>