71 lines
2.7 KiB
HTML
71 lines
2.7 KiB
HTML
<include file="Inc:header"/>
|
|
<style>
|
|
.table-bordered .icon-ok{ color:#468847}
|
|
.table-bordered .icon-remove{ color:#ff0000}
|
|
</style>
|
|
<div class="container-fluid">
|
|
<div class="main_head">
|
|
<div class="main_h1"><h1>{$pagetitle}</h1></div>
|
|
<div class="main_add">
|
|
<a class="btn btn-inverse" href="{:U("add")}">添加列表</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="text-align:right; float:right"></div>
|
|
|
|
<div class="row-fluid">
|
|
<div class="span12">
|
|
<div class="widget-box">
|
|
<div class="widget-content nopadding">
|
|
<form method="post" action="__SELF__" onsubmit="return save_form2(this);" class="modelIndex">
|
|
<table class="table table-bordered table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th width="5%">ID</th>
|
|
<th width="40%">页面名称</th>
|
|
<?php
|
|
if(C('LANG_SWITCH_ON')){
|
|
?>
|
|
<th width="10%">语言</th>
|
|
<?php
|
|
}
|
|
?>
|
|
<th width="10%">模板调用URL</th>
|
|
<th width="10%">预览</th>
|
|
<th width="15%">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<foreach name="data" item="v" >
|
|
<tr>
|
|
<td style="text-align: center;">{$v.pages_id}</td>
|
|
<td class="center tab-title"><a href="{:pagesurl($v[pages_id])}" target="_blank">{$v.name}</a></td>
|
|
<?php
|
|
if(C('LANG_SWITCH_ON')){
|
|
?>
|
|
<td class="center">{:$LANG_OPT[$v[lang]]?$LANG_OPT[$v[lang]]:'-'}</td>
|
|
<?php
|
|
}
|
|
?>
|
|
<td style="text-align: center;"><literal>{:pagesurl(</literal>{$v.pages_id}<literal>)}</literal></td>
|
|
<td class="center tab-title"><a href="{:pagesurl($v[pages_id])}" target="_blank">查看</a></td>
|
|
<td class="center">
|
|
<a href="{:U("editor",array("pages_id"=>$v[pages_id]))}" class="btn btn-primary btn-mini">修改</a>
|
|
<a href="{:U('delete',array("pages_id"=>$v[pages_id]))}" class="btn btn-danger btn-mini ajax_del">删除</a>
|
|
</td>
|
|
</tr>
|
|
</foreach>
|
|
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<include file="Inc/footer"/>
|