1 Star 0 Fork 119

cnn007/jqadmin

forked from jQ酷/jqadmin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
admin.html 9.32 KB
一键复制 编辑 原始数据 按行查看 历史
paco 提交于 2017-03-07 15:10 . 修正路径
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>jQadmin后台模板</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<!-- load css -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" media="all">
<link rel="stylesheet" type="text/css" href="css/font/iconfont.css" media="all">
<link rel="stylesheet" type="text/css" href="css/layui.css" media="all">
<link rel="stylesheet" type="text/css" href="css/main.css?v1.0.0" media="all">
</head>
<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 class="layui-form" action="/php/data.php">
<div class="layui-form">
<div class="layui-inline">
<div class="layui-input-inline">
<input class="layui-input" name="keyword" placeholder="关键字">
</div>
</div>
<div class="layui-inline">
<button lay-submit class="layui-btn" lay-filter="search">查找</button>
</div>
</div>
</form>
</section>
<!--列表-->
<section class="panel panel-padding">
<div class="group-button">
<button class="layui-btn layui-btn-small layui-btn-danger ajax-all" data-name="checkbox" data-params='{"url": "/php/test.php","data":"id=1&name=ni&checkbox=6,9,0&va=23"}'>
<i class="iconfont">&#xe626;</i> 删除
</button>
<button class="layui-btn layui-btn-small layui-btn-normal ajax-all" data-name="checkbox" data-params='{"url": "/php/test.php","data":"id=1&name=hao&checkbox=6,9,0&va=23"}'>
<i class="layui-icon">&#x1005;</i> 状态
</button>
<button class="layui-btn layui-btn-small modal-catch" data-params='{"content":".add-subcat","area":"500px,480px", "title":"添加顶级分类","type":"1"}'>
<i class="iconfont">&#xe649;</i> 添加
</button>
</div>
<div id="list" class="layui-form"></div>
<div class="text-right" id="page"></div>
</section>
</div>
</div>
</div>
<div class="add-subcat">
<form id="form1" class="layui-form layui-form-pane" action="add-cat">
<div class="layui-form-item">
<label class="layui-form-label">帐号</label>
<div class="layui-input-block">
<input type="text" name="title" required 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-inline">
<input type="password" name="pwd" 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="password" name="pwd2" placeholder="密码确认" autocomplete="off" class="layui-input ">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">所属角色</label>
<div class="layui-input-inline">
<select name="role">
<option value="1">管理员</option>
<option value="2">客服</option>
<option value="3">运营</option>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">姓名</label>
<div class="layui-input-inline">
<input type="text" name="title" 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="sex" title="男" value="1" checked />
<input type="radio" name="sex" title="女" value="0" />
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">手机</label>
<div class="layui-input-inline">
<input type="text" name="title" 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="text" name="title" 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="text" name="title" 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">
<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>
</div>
</body>
<script id="list-tpl" type="text/html" data-params='{"url":"/php/data.php","pageid":"#page"}'>
<table id="example" class="layui-table lay-even">
<thead>
<tr>
<th><input type="checkbox" id="checkall" data-name="checkbox" lay-filter="check" lay-skin="primary"></th>
<th>序号</th>
<th>帐号</th>
<th>姓名</th>
<th>手机</th>
<th>邮箱</th>
<th>角色</th>
<th>加入时间</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<colgroup>
<col width="30">
<col width="60">
<col>
<col>
<col>
<col>
<col>
<col>
<col width="80">
<col width="150">
</colgroup>
{{# layui.each(d.list, function(index, item){ }}
<tr>
<td><input type="checkbox" name="checkbox" value="{{ item.id}}" lay-skin="primary"></td>
<td>{{ item.id}}</td>
<td>{{ item.title}}</td>
<td>张三</td>
<td>1569564872</td>
<td>a@163.com</td>
<td>管理员</td>
<td>2017-02-24</td>
<td><input type="checkbox" name="switch" lay-skin="switch" lay-text="启用|禁用" lay-filter="ajax" data-params='{"url":"/php/test.php","data":"id={{ item.id}}&name=paco"}'> </td>
<td>
<button class="layui-btn layui-btn-mini modal-catch" data-params='{"content": ".add-subcat","area":"500px,480px","title":"编辑{{ item.title}}管理员","data":"pid=2&status=0&title=123","type":"1"}'>
<i class="iconfont">&#xe653;</i>编
</button>
<button class="layui-btn layui-btn-mini layui-btn-danger ajax" data-params='{"url": "/php/test.php","data":"id=1&name=ni"}'>
<i class="iconfont">&#xe626;</i>删
</button></td>
</td>
</tr>
{{# }); }}
</tbody>
</table>
</script>
<script type="text/javascript " src="js/layui/layui.js"></script>
<script>
layui.config({
base: 'js/'
}).extend({
dtable: 'jqmodules/dtable',
ajax: 'jqmodules/ajax',
jqdate: 'jqmodules/jqdate',
modal: 'jqmodules/modal',
jqform: 'jqmodules/jqform'
}).use('list');
</script>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/cnn007/jqadmin.git
git@gitee.com:cnn007/jqadmin.git
cnn007
jqadmin
jqadmin
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385