<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="https://onface.live/admin/admin.css" />
<title>______</title>
</head>
<body>
________
<script src="https://onface.live/admin/admin-deps.js"></script>
<script src="https://onface.live/admin/admin.js"></script>
</body>
</html>
给后端程序员使用的
data-api
管理后台框架
<span class="mo-btn mo-btn--info" data-ajax-url="./m/json/ok.json" data-ajax-data="id=2&type=del" data-ajax-method="post" >审核通过</span>
<form class="mo-form" method="get" action="./m/json/ok.json" data-form-ajax="true" >
<div class="mo-form-item">
<span class="mo-form-item-label">text</span>
<span class="mo-form-item-form">
<input type="text" name="user" class="mo-input" placeholder="输入用户名/邮箱">
</span>
</div>
<div class="mo-form-item">
<button class="mo-btn mo-btn--info"> 提交</button>
</div>
</form>
<div
data-upload-url="./m/json/ok-upload.json"
data-upload-name="pic"
data-upload-title="上传头像"
data-upload-width="200"
data-upload-height="200"
>
</div>
<!-- 为了方便预览隐藏了 script#linkageJSON -->
<span
data-linkage-name="city"
data-linkage-width="200"
data-linkage-options='#linkageJSON'
data-linkage-placeholder="请选择城市"
></span>
<form class="mo-form" method="get" action="./m/json/ok.json" data-form-ajax="true" >
<div class="mo-form-item js-copydemo1" >
<span class="mo-form-item-label">email</span>
<span class="mo-form-item-form">
<input type="text" name="email[]" class="mo-input" placeholder="输入邮箱">
</span>
</div>
<div class="mo-form-item" id="copytarget1">
<span class="mo-btn" data-copy-clone=".js-copydemo1:first" data-copy-target="#copytarget1" data-copy-method="before" > 新增邮箱</span>
</div>
<div class="mo-form-item">
<button class="mo-btn mo-btn--info"> 提交</button>
</div>
</form>
全站使用 font-awesome 4.6 作为图标库,字体索引: http://fontawesome.io/icons/
<i class="fa fa-user"></i><i class="fa fa-edit"></i>