更新页面模板
This commit is contained in:
parent
329a25b59e
commit
024cfaef59
|
@ -15,25 +15,30 @@ table thead tr th {background:#EBF2F6;color:#444;}
|
||||||
.high{background:#444;color:#FFF;}
|
.high{background:#444;color:#FFF;}
|
||||||
</style>
|
</style>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span3">
|
<div class="span3">
|
||||||
<?= $this->partial('down/left.phtml'); ?>
|
<?= $this->partial('down/left.phtml'); ?>
|
||||||
</div>
|
</div>
|
||||||
<div class="span9">
|
<div class="span9">
|
||||||
<?php if ($this->msg or $this->messages) :?>
|
<?php if ($this->msg or $this->messages) :?>
|
||||||
<div id="message">
|
<div id="message">
|
||||||
<?php if ($this->msg) : ?>
|
<?php if ($this->msg) : ?>
|
||||||
<p><?php echo $this->msg; ?></p>
|
<p><?php echo $this->msg; ?></p>
|
||||||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||||||
<p><?php echo $msg; ?></p>
|
<p><?php echo $msg; ?></p>
|
||||||
<?php endforeach;endif; ?>
|
<?php endforeach;endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div class="right_title">离线数据服务记录</div>
|
|
||||||
<a href="/admin/down/offline/add/1">添加新的离线服务记录</a> | <a href="/admin/down/offline/down/1">下载所有离线服务记录</a> | <a href="/admin/down/offline/update/1" onclick="return confirm('该操作需要较长时间,请不要中途刷新页面,是否确定继续?')">自动匹配离线下载用户与网站用户</a> | <a href="/admin/down/offline/emaillist/1">下载服务用户邮箱列表</a>
|
|
||||||
| <a href="/admin/down/offline/monthreport/1">下载上月服务记录(科技部上报)</a>
|
|
||||||
|
|
||||||
<div>
|
<h4>离线数据服务记录</h4>
|
||||||
<div class="input-append">
|
|
||||||
|
<div class="pull-left">
|
||||||
|
<a href="/admin/down/offline/add/1" class="btn btn-info">添加新的离线服务记录</a>
|
||||||
|
<a href="/admin/down/offline/down/1" class="btn btn-info">下载所有离线服务记录</a>
|
||||||
|
<a href="/admin/down/offline/update/1" class="btn btn-info" onclick="return confirm('该操作需要较长时间,请不要中途刷新页面,是否确定继续?')">自动匹配离线下载用户与网站用户</a>
|
||||||
|
<a href="/admin/down/offline/emaillist/1" class="btn btn-info">下载服务用户邮箱列表</a>
|
||||||
|
<a href="/admin/down/offline/monthreport/1" class="btn btn-info">下载上月服务记录(科技部上报)</a>
|
||||||
|
</div>
|
||||||
|
<div class="input-append pull-right">
|
||||||
<form id="datasearch" class="search_form" action="">
|
<form id="datasearch" class="search_form" action="">
|
||||||
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
<input type="text" id="keyword" name="q" value="<?php if(!empty($this->q)) echo $this->q; ?>" />
|
||||||
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
|
<input type="hidden" name="order" value="<?php if(!empty($this->search_order)) echo $this->search_order; ?>" />
|
||||||
|
@ -41,11 +46,10 @@ table thead tr th {background:#EBF2F6;color:#444;}
|
||||||
<button type="submit" class="btn" id="search_btn">搜索</button>
|
<button type="submit" class="btn" id="search_btn">搜索</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php if (count($this->paginator)): ?>
|
<?php if (count($this->paginator)): ?>
|
||||||
<table class="table table-bordered table-hover">
|
<table class="table table-bordered table-hover">
|
||||||
<thead><tr>
|
<thead>
|
||||||
|
<tr>
|
||||||
<th width="52">姓名</th>
|
<th width="52">姓名</th>
|
||||||
<th>单位</th>
|
<th>单位</th>
|
||||||
<th>地址</th>
|
<th>地址</th>
|
||||||
|
@ -60,7 +64,7 @@ table thead tr th {background:#EBF2F6;color:#444;}
|
||||||
<?php foreach ($this->paginator as $item): ?>
|
<?php foreach ($this->paginator as $item): ?>
|
||||||
<?php $autoindex++;?>
|
<?php $autoindex++;?>
|
||||||
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>">
|
||||||
<td><a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']?></a> </td>
|
<td><a href="/admin/down/user/show/<?php echo $item['userid'];?>"><?= $item['username']?></a></td>
|
||||||
<td><?= $item['unit']; ?></td>
|
<td><?= $item['unit']; ?></td>
|
||||||
<td><?= $item['address']; ?></td>
|
<td><?= $item['address']; ?></td>
|
||||||
<td><?= $item['postcode']; ?></td>
|
<td><?= $item['postcode']; ?></td>
|
||||||
|
|
Loading…
Reference in New Issue