mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改模板文件
This commit is contained in:
parent
1f7f94431c
commit
48f80dd9ba
@ -14,8 +14,7 @@
|
||||
{block name="script"}
|
||||
<script>
|
||||
window.RoleAction = new function () {
|
||||
this.data = {};
|
||||
this.ztree = null;
|
||||
this.data = {}, this.ztree = null;
|
||||
this.setting = {
|
||||
view: {showLine: false, showIcon: false, dblClickExpand: false},
|
||||
check: {enable: true, nocheck: false, chkboxType: {"Y": "ps", "N": "ps"}},
|
||||
|
@ -3,13 +3,15 @@
|
||||
<div class="layui-card-body padding-left-40">
|
||||
|
||||
<label class="layui-form-item relative block">
|
||||
<span class="color-green font-w7">访问权限名称</span><span class="color-desc margin-left-5">Permission Name</span>
|
||||
<input type="text" name="title" value='{$vo.title|default=""}' required placeholder="请输入访问权限名称" class="layui-input">
|
||||
<span class="help-block">权限名称需要保持不重复,在给用户授权时需要根据名称选择!</span>
|
||||
<span class="color-green font-w7">访问权限名称</span>
|
||||
<span class="color-desc margin-left-5">Role Name</span>
|
||||
<input type="text" name="title" class="layui-input" value='{$vo.title|default=""}' required placeholder="请输入访问权限名称">
|
||||
<span class="help-block">访问权限名称需要保持不重复,在给用户授权时需要根据名称选择!</span>
|
||||
</label>
|
||||
|
||||
<label class="layui-form-item relative block">
|
||||
<span class="color-green font-w7">访问权限描述</span><span class="color-desc margin-left-5">Permission Remark</span>
|
||||
<span class="color-green font-w7">访问权限描述</span>
|
||||
<span class="color-desc margin-left-5">Role Remark</span>
|
||||
<textarea placeholder="请输入访问权限描述" class="layui-textarea" name="desc">{$vo.desc|default=""}</textarea>
|
||||
</label>
|
||||
|
||||
|
@ -20,10 +20,13 @@
|
||||
<th class='list-table-check-td think-checkbox'>
|
||||
<label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
|
||||
</th>
|
||||
<th class='list-table-sort-td'>
|
||||
<button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>
|
||||
</th>
|
||||
<th class='text-left nowrap'>权限名称</th>
|
||||
<th class='text-left nowrap'>权限描述</th>
|
||||
<th class='text-left nowrap'>创建时间</th>
|
||||
<th class="text-center nowrap">使用状态</th>
|
||||
<th class="text-left nowrap">使用状态</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
@ -34,11 +37,14 @@
|
||||
<td class='list-table-check-td think-checkbox'>
|
||||
<label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
|
||||
</td>
|
||||
<td class='list-table-sort-td'>
|
||||
<label><input data-action-blur="{:request()->url()}" data-value="id#{$vo.id};action#sort;sort#{value}" data-loading="false" value="{$vo.sort}" class="list-sort-input"></label>
|
||||
</td>
|
||||
<td class='text-left'>{$vo.title|default='-'}</td>
|
||||
<td class='text-left'>{$vo.desc|default="没有写描述哦!"}</td>
|
||||
<td class="text-left nowrap">{$vo.create_at|format_datetime}</td>
|
||||
<td class='text-left nowrap'>{eq name='vo.status' value='0'}<span class="color-red">已禁用</span>{else}<span class="color-green">已激活</span>{/eq}</td>
|
||||
<td class='text-center nowrap'>
|
||||
<td class='text-left nowrap'>
|
||||
<!--{if auth("edit")}-->
|
||||
<a data-dbclick class="layui-btn layui-btn-sm" data-title="编辑权限" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>
|
||||
<!--{/if}-->
|
||||
|
@ -27,7 +27,7 @@
|
||||
<li data-open="{:url('index')}?type={$k}">{$v}</li>
|
||||
{/if}{/foreach}
|
||||
</ul>
|
||||
<div class="layui-tab-content think-box-shadow'amount''amount'">
|
||||
<div class="layui-tab-content think-box-shadow">
|
||||
{include file='user/index_search'}
|
||||
<table class="layui-table margin-top-10" lay-skin="line">
|
||||
{notempty name='list'}
|
||||
|
Loading…
x
Reference in New Issue
Block a user