添加共享
This commit is contained in:
1 parent
c3ff86d2c1
commit
aaac88f323
10 files changed
+2456
-84
No files matched your search
+63
-11
@@ -49,22 +49,41 @@
|
||||
|
||||
<!-- 用户管理 -->
|
||||
<section class="view" id="view-users" hidden>
|
||||
<div class="view-head">
|
||||
<h2>用户管理</h2>
|
||||
<div class="view-tools">
|
||||
<div class="view-head"><h2>用户管理</h2></div>
|
||||
<div class="tabs" id="userTabs">
|
||||
<div class="tab active" data-tab="list">用户列表</div>
|
||||
<div class="tab" data-tab="groups">分组管理</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-pane" id="userTab-list">
|
||||
<div class="tools-inline">
|
||||
<input class="search" id="userSearch" placeholder="搜索用户名 / 角色" spellcheck="false">
|
||||
<button class="btn primary" id="btnNewUser">+ 新建用户</button>
|
||||
</div>
|
||||
<div class="table-wrap">
|
||||
<table class="grid">
|
||||
<thead><tr>
|
||||
<th>用户名</th><th>角色</th><th>状态</th><th>登录次数</th><th>最近登录</th><th>创建时间</th><th>操作</th>
|
||||
</tr></thead>
|
||||
<tbody id="userRows"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="pager" id="userPager"></div>
|
||||
</div>
|
||||
<div class="table-wrap">
|
||||
<table class="grid">
|
||||
<thead><tr>
|
||||
<th>用户名</th><th>角色</th><th>状态</th><th>登录次数</th><th>最近登录</th><th>创建时间</th><th>操作</th>
|
||||
</tr></thead>
|
||||
<tbody id="userRows"></tbody>
|
||||
</table>
|
||||
|
||||
<div class="tab-pane" id="userTab-groups" hidden>
|
||||
<div class="tools-inline">
|
||||
<button class="btn primary" id="btnNewGroup">+ 新建分组</button>
|
||||
</div>
|
||||
<div class="table-wrap">
|
||||
<table class="grid">
|
||||
<thead><tr>
|
||||
<th>分组名称</th><th>描述</th><th>成员数</th><th>创建时间</th><th>操作</th>
|
||||
</tr></thead>
|
||||
<tbody id="groupRows"></tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pager" id="userPager"></div>
|
||||
</section>
|
||||
|
||||
<!-- 拓扑管理 -->
|
||||
@@ -199,6 +218,39 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ================= 新建 / 编辑 分组 ================= -->
|
||||
<div class="overlay" id="groupOverlay" hidden>
|
||||
<div class="dialog">
|
||||
<div class="dlg-head"><h2 id="groupDlgTitle">新建分组</h2><span class="dlg-close" id="btnCloseGroup">×</span></div>
|
||||
<label>分组名称
|
||||
<input id="gName" type="text" spellcheck="false" maxlength="40" placeholder="例如:红队 / 运维组">
|
||||
</label>
|
||||
<label>描述
|
||||
<input id="gDesc" type="text" spellcheck="false" maxlength="120" placeholder="可选">
|
||||
</label>
|
||||
<div class="dlg-err" id="groupErr"></div>
|
||||
<div class="dlg-actions">
|
||||
<button class="btn" id="btnCancelGroup" type="button">取消</button>
|
||||
<button class="btn primary" id="btnSaveGroup" type="button">保存</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ================= 管理分组成员 ================= -->
|
||||
<div class="overlay" id="memberOverlay" hidden>
|
||||
<div class="dialog wide share-dialog">
|
||||
<div class="dlg-head"><h2 id="memberDlgTitle">管理成员</h2><span class="dlg-close" id="btnCloseMember">×</span></div>
|
||||
<div class="dlg-msg" id="memberMsg"></div>
|
||||
<input class="search" id="memberFilter" placeholder="搜索用户" spellcheck="false">
|
||||
<div class="share-list" id="memberList"></div>
|
||||
<div class="dlg-err" id="memberErr"></div>
|
||||
<div class="dlg-actions">
|
||||
<button class="btn" id="btnCancelMember" type="button">取消</button>
|
||||
<button class="btn primary" id="btnSaveMember" type="button">保存成员</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ================= 站内确认 / 输入弹窗 ================= -->
|
||||
<div class="overlay" id="confirmOverlay" hidden>
|
||||
<div class="dialog">
|
||||
|
||||
Reference in new issue
Block a user