加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
admin-role-edit.html 2.73 KB
一键复制 编辑 原始数据 按行查看 历史
jQ酷 提交于 2017-07-28 18:17 . 权限控制
<!--#include file="common/header.html"-->
<body>
<div class="container-fluid larry-wrapper">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12">
<section class="panel panel-padding">
<form id="form1" class="layui-form" data-params='{"dataName":"role","key":"id","action":"edit","bind":true}' action="./data/success.json">
<div class="layui-form-item ">
<div class="layui-form-item">
<label class="layui-form-label">角色名称</label>
<div class="layui-input-block">
<input type="text" name="name" jq-verify="required" jq-error="请输入标题" placeholder="请输入标题" autocomplete="off" class="layui-input ">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">描述</label>
<div class="layui-input-block">
<input type="text" name="desc" placeholder="对角的描述" autocomplete="off" class="layui-input ">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-input-inline">
<input type="radio" name="status" title="是" value="1" checked />
<input type="radio" name="status" title="否" value="0" />
</div>
</div>
<div class="layui-form-item permission-list">
<label class="layui-form-label">拥有权限</label>
<div class="layui-input-block role-box" id="list"></div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" jq-submit jq-filter="submit">立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</section>
</div>
</div>
</div>
</body>
<!--#include file="tpl/permission.html"-->
<script src="js/layui/layui.js"></script>
<!--#include file="common/version.html"-->
<script>
layui.use('role');
</script>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化