qa-ifish7/web/Application/Admin/View/Menu/index.html

67 lines
2.6 KiB
HTML

<include file="Inc:header"/>
<div class="container-fluid">
<div class="main_head">
<div class="main_h1"><h1>{$ptitle}</h1></div>
<div class="main_add">
<a class="btn btn-inverse iframe" href="{:U("add",array("pid"=>$pid))}">添加菜单</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">
<table class="table table-bordered table-striped">
<thead>
<tr>
<th width="10%">排序</th>
<th>名称</th>
<th>上级菜单</th>
<th>URL</th>
<th>仅开发者模式显示</th>
<th>隐藏</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<foreach name="data" item="v" >
<tr>
<td style="text-align: center;"><input class="order_input" value='{$v.sort}'></td>
<td class="center tab-title" title="点击查看下一级"><a href="{:U('index',array('pid'=>$v[id]))}">{$v.title}</a></td>
<td class="center"><a href="{:U('index',array('pid'=>$ppid))}">{$ptitle}</a></td>
<td class="center">{$v.name}</td>
<td class="center">
<if condition="$v.is_dev eq 1 ">
<span class="label"></span>
<else />
<span class="label label-success"></span>
</if>
</td>
<td class="center">
<if condition="$v.is_hide eq 1 ">
<span class="label"></span>
<else />
<span class="label label-success"></span>
</if>
</td>
<td class="center">
<button href="{:U("editor",array("id"=>$v[id]))}" class="btn btn-primary btn-mini iframe">修改</button>
<a href="{:U('del',array("id"=>$v[id]))}" class="btn btn-danger btn-mini ajax_del">删除</a>
</td>
</tr>
</foreach>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<include file="Inc/footer"/>