调整了视图样式

This commit is contained in:
Li Jianxuan 2011-10-14 02:25:59 +00:00
parent 20e5e94f08
commit 80bc836f6a
1 changed files with 6 additions and 8 deletions

View File

@ -26,11 +26,11 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
<h3>目前在审的元数据:</h3> <h3>目前在审的元数据:</h3>
<form action="/review/inreview" method="POST"> <form action="/review/inreview" method="POST">
<input class="" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" /> <input class="q" type="text" id="q" name="q" value="<?php echo $this->keyword;?>" />
<input type="hidden" name="search" value="1" /> <input type="hidden" name="search" value="1" />
<input type="submit" value="搜索" /></form> <input type="submit" class="btn" value="搜索" /></form>
<table> <table class="stylized">
<thead> <thead>
<tr> <tr>
<th>元数据标题</th> <th>元数据标题</th>
@ -38,13 +38,12 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
<th>状态</th> <th>状态</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody id="datas">
<?php <?php
if (count($this->paginator)): if (count($this->paginator)):
$autoindex=0;
foreach ($this->paginator as $item): foreach ($this->paginator as $item):
$autoindex++;?> ?>
<tr class="<?php if($autoindex%2 == 0) echo 'even'; else echo 'odd'; ?>"> <tr>
<td> <img src="/images/westdc_20w.gif" /> <a href="<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td> <td> <img src="/images/westdc_20w.gif" /> <a href="<?php echo $item['uuid'];?>"><?php echo $item['title'];?></a></td>
<td> <td>
<?php echo date("Y-m-d",strtotime($item['ts_created']));?> <?php echo date("Y-m-d",strtotime($item['ts_created']));?>
@ -57,5 +56,4 @@ setTimeout("document.getElementsByClassName('box-info').remove(0)",5000);
</tbody> </tbody>
</table> </table>
<div class="pagenavi"><?= $this->paginator; ?></div> <div class="pagenavi"><?= $this->paginator; ?></div>
</div> </div>