mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 17:38:01 +08:00
55 lines
2.1 KiB
Plaintext
55 lines
2.1 KiB
Plaintext
@section header
|
|
{
|
|
<link rel="stylesheet" href="/css/treetable.css"/>
|
|
<link rel="stylesheet" href="/js/dtree/dtree.css"/>
|
|
<link rel="stylesheet" href="/js/dtree/font/dtreefont.css"/>
|
|
}
|
|
|
|
<blockquote class="layui-elem-quote news_search toolList" id="menus">
|
|
</blockquote>
|
|
|
|
<div class="layui-row">
|
|
<table class="layui-hide" id="mainList" lay-filter="list" lay-size="sm"></table>
|
|
<script type="text/html" id="Status">
|
|
{{# if(d.Status == 0){ }}
|
|
<span class="layui-badge layui-bg-blue">启用</span>
|
|
{{# } else{}}
|
|
<span class="layui-badge layui-bg-gray">已禁用</span>
|
|
{{# } }}
|
|
</script>
|
|
<script type="text/html" id="userList">
|
|
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="userList">显示>></a>
|
|
</script>
|
|
</div>
|
|
|
|
<!--角色添加/编辑窗口-->
|
|
<div id="divEdit" style="display: none">
|
|
<form class="layui-form layui-form-pane" action="" id="formEdit" lay-filter="formEdit">
|
|
|
|
<input type="hidden" name="Id"/>
|
|
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label">角色名称</label>
|
|
<div class="layui-input-block">
|
|
<input type="text" name="Name" required lay-verify="required"
|
|
placeholder="请输入角色名称" autocomplete="off" class="layui-input">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="layui-form-item" pane>
|
|
<label class="layui-form-label">禁用</label>
|
|
<div class="layui-input-block">
|
|
<input type="checkbox" name="Status" lay-skin="switch" value="1">
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<div class="layui-input-block">
|
|
<button class="layui-btn" lay-submit lay-filter="formSubmit">立即提交</button>
|
|
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
<script type="text/javascript" src="/layui/layui.js"></script>
|
|
<script type="text/javascript" src="/userJs/roles.js?v2"></script> |