Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
01afb93c
Commit
01afb93c
authored
Apr 14, 2017
by
fsn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
标签归类加注释
parent
a0c1b6ba
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
52 additions
and
21 deletions
+52
-21
src/main/webapp/WEB-INF/view/common/tags/button.tag
+0
-4
src/main/webapp/WEB-INF/view/common/tags/button/button.tag
+19
-0
src/main/webapp/WEB-INF/view/common/tags/condition/NameCon.tag
+6
-0
src/main/webapp/WEB-INF/view/common/tags/condition/TimeCon.tag
+10
-1
src/main/webapp/WEB-INF/view/common/tags/nbutton.tag
+0
-4
src/main/webapp/WEB-INF/view/common/tags/table.tag
+5
-0
src/main/webapp/WEB-INF/view/system/menu/menu.html
+2
-2
src/main/webapp/WEB-INF/view/system/role/role.html
+4
-4
src/main/webapp/WEB-INF/view/system/user/user.html
+6
-6
No files found.
src/main/webapp/WEB-INF/view/common/tags/button.tag
deleted
100644 → 0
View file @
a0c1b6ba
<button type="button" class="btn btn-primary" onclick="${clickFun}">
<i class="fa ${icon}"></i> ${name}
</button>
\ No newline at end of file
src/main/webapp/WEB-INF/view/common/tags/button/button.tag
0 → 100644
View file @
01afb93c
@/*
按钮标签中各个参数的说明:
spaceCss : 按钮左侧是否有间隔(true/false)
clickFun : 点击按钮所执行的方法
icon : 按钮上的图标的样式
name : 按钮名称
@*/
@var spaceCss = "";
@if(isEmpty(space)){
@ spaceCss = "";
@}else{
@ spaceCss = "button-margin";
@}
<button type="button" class="btn btn-primary ${spaceCss}" onclick="${clickFun}">
<i class="fa ${icon}"></i> ${name}
</button>
src/main/webapp/WEB-INF/view/common/tags/NameCon.tag
→
src/main/webapp/WEB-INF/view/common/tags/
condition/
NameCon.tag
View file @
01afb93c
@/*
名称查询条件标签的参数说明:
name : 查询条件的名称
id : 查询内容的input框id
@*/
<div class="input-group">
<div class="input-group-btn">
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle"
...
...
src/main/webapp/WEB-INF/view/common/tags/TimeCon.tag
→
src/main/webapp/WEB-INF/view/common/tags/
condition/
TimeCon.tag
View file @
01afb93c
@/*
时间查询条件标签的参数说明:
name : 查询条件的名称
id : 查询内容的input框id
isTime : 日期是否带有小时和分钟(true/false)
pattern : 日期的正则表达式(例如:"YYYY-MM-DD")
@*/
<div class="input-group">
<div class="input-group-btn">
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle"
...
...
@@ -5,5 +13,5 @@
</button>
</div>
<input type="text" class="form-control layer-date"
onclick="laydate({istime: ${isTime}, format: '${pattern}'})" id="${id}"
/>
onclick="laydate({istime: ${isTime}, format: '${pattern}'})" id="${id}"/>
</div>
\ No newline at end of file
src/main/webapp/WEB-INF/view/common/tags/nbutton.tag
deleted
100644 → 0
View file @
a0c1b6ba
<button type="button" class="btn btn-primary button-margin" onclick="${clickFun}">
<i class="fa ${icon}"></i> ${name}
</button>
\ No newline at end of file
src/main/webapp/WEB-INF/view/common/tags/table.tag
View file @
01afb93c
@/*
表格标签的参数说明:
id : table表格的id
@*/
<table id="${id}" data-mobile-responsive="true" data-click-to-select="true">
<thead>
<tr>
...
...
src/main/webapp/WEB-INF/view/system/menu/menu.html
View file @
01afb93c
...
...
@@ -18,8 +18,8 @@
</div>
<div
class=
"hidden-xs"
id=
"menuTableToolbar"
role=
"group"
>
<
#
button
name=
"添加"
icon=
"fa-plus"
clickFun=
"Menu.openAddMenu()"
/>
<
#
nbutton
name=
"修改"
icon=
"fa-edit"
clickFun=
"Menu.openChangeMenu()
"
/>
<
#
nbutton
name=
"删除"
icon=
"fa-remove"
clickFun=
"Menu.delMenu()
"
/>
<
#
button
name=
"修改"
icon=
"fa-edit"
clickFun=
"Menu.openChangeMenu()"
space=
"true
"
/>
<
#
button
name=
"删除"
icon=
"fa-remove"
clickFun=
"Menu.delMenu()"
space=
"true
"
/>
</div>
<
#
table
id=
"menuTable"
/>
</div>
...
...
src/main/webapp/WEB-INF/view/system/role/role.html
View file @
01afb93c
...
...
@@ -17,10 +17,10 @@
</div>
</div>
<div
class=
"hidden-xs"
id=
"roleTableToolbar"
role=
"group"
>
<
#
button
name=
"添加"
icon=
"fa-plus"
clickFun=
"Role.openAddRole()"
/>
<
#
nbutton
name=
"修改"
icon=
"fa-edit"
clickFun=
"Role.openChangeRole()
"
/>
<
#
nbutton
name=
"删除"
icon=
"fa-remove"
clickFun=
"Role.delRole()
"
/>
<
#
nbutton
name=
"权限配置"
icon=
"fa-user-secret"
clickFun=
"Role.assign()
"
/>
<
#
button
name=
"添加"
icon=
"fa-plus"
clickFun=
"Role.openAddRole()"
/>
<
#
button
name=
"修改"
icon=
"fa-edit"
clickFun=
"Role.openChangeRole()"
space=
"true
"
/>
<
#
button
name=
"删除"
icon=
"fa-remove"
clickFun=
"Role.delRole()"
space=
"true
"
/>
<
#
button
name=
"权限配置"
icon=
"fa-user-secret"
clickFun=
"Role.assign()"
space=
"true
"
/>
</div>
<
#
table
id=
"roleTable"
/>
</div>
...
...
src/main/webapp/WEB-INF/view/system/user/user.html
View file @
01afb93c
...
...
@@ -18,12 +18,12 @@
</div>
<div
class=
"hidden-xs"
id=
"managerTableToolbar"
role=
"group"
>
<
#
button
name=
"添加"
icon=
"fa-plus"
clickFun=
"MgrUser.openAddMgr()"
/>
<
#
nbutton
name=
"修改"
icon=
"fa-edit"
clickFun=
"MgrUser.openChangeUser()
"
/>
<
#
nbutton
name=
"删除"
icon=
"fa-remove"
clickFun=
"MgrUser.delMgrUser()
"
/>
<
#
nbutton
name=
"重置密码"
icon=
"fa-refresh"
clickFun=
"MgrUser.resetPwd()
"
/>
<
#
nbutton
name=
"冻结"
icon=
"fa-warning"
clickFun=
"MgrUser.freezeAccount()
"
/>
<
#
nbutton
name=
"解除冻结"
icon=
"fa-check-circle"
clickFun=
"MgrUser.unfreeze()
"
/>
<
#
nbutton
name=
"角色分配"
icon=
"fa-user-secret"
clickFun=
"MgrUser.roleAssign()
"
/>
<
#
button
name=
"修改"
icon=
"fa-edit"
clickFun=
"MgrUser.openChangeUser()"
space=
"true
"
/>
<
#
button
name=
"删除"
icon=
"fa-remove"
clickFun=
"MgrUser.delMgrUser()"
space=
"true
"
/>
<
#
button
name=
"重置密码"
icon=
"fa-refresh"
clickFun=
"MgrUser.resetPwd()"
space=
"true
"
/>
<
#
button
name=
"冻结"
icon=
"fa-warning"
clickFun=
"MgrUser.freezeAccount()"
space=
"true
"
/>
<
#
button
name=
"解除冻结"
icon=
"fa-check-circle"
clickFun=
"MgrUser.unfreeze()"
space=
"true
"
/>
<
#
button
name=
"角色分配"
icon=
"fa-user-secret"
clickFun=
"MgrUser.roleAssign()"
space=
"true
"
/>
</div>
<
#
table
id=
"managerTable"
/>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment