Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yujianwangzivayy
MaxKey
提交
28a0fb9d
MaxKey
项目概览
yujianwangzivayy
/
MaxKey
与 Fork 源项目一致
Fork自
MaxKey单点登录官方(MaxKeyTop) / MaxKey
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
MaxKey
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
28a0fb9d
编写于
10月 13, 2021
作者:
MaxKey单点登录官方
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
accountsstrategy
上级
4be78af5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
90 addition
and
34 deletion
+90
-34
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/accountsstrategy/accountsStrategyAdd.ftl
.../templates/views/accountsstrategy/accountsStrategyAdd.ftl
+41
-12
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/accountsstrategy/accountsStrategyList.ftl
...templates/views/accountsstrategy/accountsStrategyList.ftl
+8
-7
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/accountsstrategy/accountsStrategyUpdate.ftl
...mplates/views/accountsstrategy/accountsStrategyUpdate.ftl
+41
-15
未找到文件。
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/accountsstrategy/accountsStrategyAdd.ftl
浏览文件 @
28a0fb9d
...
...
@@ -160,47 +160,76 @@ function showOrgsTree() {
</script>
</head>
<body>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/
roles
/add"
class=
"needs-validation"
novalidate
>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/
accountsstrategy
/add"
class=
"needs-validation"
novalidate
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
class=
"table table-bordered"
>
<tbody>
<tr>
<th><
@
locale
code=
"
role
.id"
/>
:
</th>
<th><
@
locale
code=
"
accounts.strategy
.id"
/>
:
</th>
<td
nowrap
>
<input
type=
"text"
id=
"id"
name=
"id"
class=
"form-control"
title=
""
value=
""
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"
role
.name"
/>
:
</th>
<th><
@
locale
code=
"
accounts.strategy
.name"
/>
:
</th>
<td
nowrap
>
<input
type=
"text"
id=
"name"
name=
"name"
class=
"form-control"
title=
""
value=
""
required=
""
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"role.dynamic"
/>
:
</th>
<th><
@
locale
code=
"apps.name"
/>
:
</th>
<td
nowrap
>
<input
class=
"form-control appId"
id=
"appId"
name=
"appId"
value=
""
type=
"hidden"
>
<input
class=
"form-control"
id=
"pid"
name=
"pid"
value=
""
type=
"hidden"
>
<input
class=
"form-control appName"
style=
"width:80%;float: left;"
value=
""
id=
"appName"
name=
"appName"
type=
"text"
>
<input
class=
"button btn btn-success mr-3 window"
style=
"float: left;"
id=
"selectBtn"
type=
"button"
value=
"<@locale code="
button.text.select
"
/>
"
wurl="
<
@
base
/>
/apps/select"
wwidth="700"
wheight="500"
target="window">
</td>
</tr>
<tr>
<th><
@
locale
code=
"accounts.strategy.mapping"
/>
:
</th>
<td
nowrap
>
<select
id=
"dynamic"
name=
"dynamic"
class=
"form-control form-select"
>
<option
value=
"0"
selected
><
@
locale
code=
"common.text.no"
/></option>
<option
value=
"1"
><
@
locale
code=
"common.text.yes"
/></option>
</select>
<select
id=
"mapping"
name=
"mapping"
class=
"form-control form-select"
>
<option
value=
"username"
selected
>
<
@
locale
code=
"userinfo.username"
/>
</option>
<option
value=
"mobile"
>
<
@
locale
code=
"userinfo.mobile"
/>
</option>
<option
value=
"email"
>
<
@
locale
code=
"userinfo.email"
/>
</option>
<option
value=
"employeeNumber"
>
<
@
locale
code=
"userinfo.employeeNumber"
/>
</option>
<option
value=
"windowsAccount"
>
<
@
locale
code=
"userinfo.windowsAccount"
/>
</option>
<option
value=
"idCardNo"
>
<
@
locale
code=
"userinfo.idCardNo"
/>
</option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"
role
.orgidslist"
/>
:
</th>
<th><
@
locale
code=
"
accounts.strategy
.orgidslist"
/>
:
</th>
<td
nowrap
>
<input
type=
"text"
id=
"orgIdsListName"
name=
"orgIdsListName"
readonly
class=
"form-control"
title=
""
value=
""
onclick=
"showOrgsTree();"
/>
<input
type=
"hidden"
id=
"orgIdsList"
name=
"orgIdsList"
readonly
class=
"form-control"
title=
""
value=
""
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"
role
.filters"
/>
:
</th>
<th><
@
locale
code=
"
accounts.strategy
.filters"
/>
:
</th>
<td
nowrap
>
<textarea
id=
"filters"
name=
"filters"
class=
"form-control"
rows=
"
7
"
cols=
"20"
></textarea>
<textarea
id=
"filters"
name=
"filters"
class=
"form-control"
rows=
"
4
"
cols=
"20"
></textarea>
</td>
</tr>
<tr>
<th><
@
locale
code=
"common.text.description"
/>
:
</th>
<td
nowrap
>
<textarea
id=
"description"
name=
"description"
class=
"form-control"
rows=
"
6
"
cols=
"20"
></textarea>
<textarea
id=
"description"
name=
"description"
class=
"form-control"
rows=
"
3
"
cols=
"20"
></textarea>
</td>
</tr>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/accountsstrategy/accountsStrategyList.ftl
浏览文件 @
28a0fb9d
...
...
@@ -43,7 +43,7 @@
<table
class=
"table table-bordered"
>
<tr>
<td
width=
"120px"
><
@
locale
code=
"
role
.name"
/>
:
</td>
<td
width=
"120px"
><
@
locale
code=
"
accounts.strategy
.name"
/>
:
</td>
<td
width=
"375px"
>
<form
id=
"basic_search_form"
>
<input
class=
"form-control"
type=
"text"
name=
"name"
style =
"width:150px;float:left;"
>
...
...
@@ -56,14 +56,14 @@
<div
id=
"tool_box_right"
>
<input
class=
"button btn btn-success mr-3"
id=
"addBtn"
type=
"button"
value=
"<@locale code="
button.text.add
"
/>
"
wurl="
<
@
base
/>
/accountsstrategy/forwardAdd"
wwidth="
5
00"
wheight="
60
0"
wwidth="
8
00"
wheight="
55
0"
target="window">
<input
class=
"button btn btn-info mr-3 "
id=
"modifyBtn"
type=
"button"
value=
"<@locale code="
button.text.edit
"
/>
"
wurl="
<
@
base
/>
/accountsstrategy/forwardUpdate"
wwidth="
5
00"
wheight="
60
0"
wwidth="
8
00"
wheight="
55
0"
target="window">
<input
class=
"button btn btn-danger mr-3 "
id=
"deleteBtn"
type=
"button"
value=
"<@locale code="
button.text.delete
"
/>
"
...
...
@@ -95,8 +95,9 @@
<tr>
<th
data-checkbox=
"true"
></th>
<th
data-sortable=
"true"
data-field=
"id"
data-visible=
"false"
>
Id
</th>
<th
data-field=
"name"
><
@
locale
code=
"role.name"
/></th>
<th
data-field=
"dynamic"
data-formatter=
"dynamicFormatter"
><
@
locale
code=
"group.dynamic"
/></th>
<th
data-field=
"name"
><
@
locale
code=
"accounts.strategy.name"
/></th>
<th
data-field=
"appName"
><
@
locale
code=
"app.name"
/></th>
<th
data-field=
"status"
data-formatter=
"dynamicFormatter"
><
@
locale
code=
"accounts.strategy.status"
/></th>
<th
data-field=
"description"
><
@
locale
code=
"common.text.description"
/></th>
<th
data-field=
"createdBy"
data-visible=
"false"
><
@
locale
code=
"common.text.createdby"
/></th>
<th
data-field=
"createdDate"
data-visible=
"false"
><
@
locale
code=
"common.text.createddate"
/></th>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/accountsstrategy/accountsStrategyUpdate.ftl
浏览文件 @
28a0fb9d
...
...
@@ -174,47 +174,73 @@ function showOrgsTree() {
</script>
</head>
<body>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/
roles
/update"
class=
"needs-validation"
novalidate
>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/
accountsstrategy
/update"
class=
"needs-validation"
novalidate
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
class=
"table table-bordered"
>
<tbody>
<tr>
<th><
@
locale
code=
"
role
.id"
/>
:
</th>
<th><
@
locale
code=
"
accounts.strategy
.id"
/>
:
</th>
<td
nowrap
>
<input
id=
"id"
type=
"text"
readonly
name=
"id"
class=
"form-control"
value=
"${model.id}"
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"
role
.name"
/>
:
</th>
<th><
@
locale
code=
"
accounts.strategy
.name"
/>
:
</th>
<td
nowrap
>
<input
type=
"text"
id=
"name"
name=
"name"
class=
"form-control"
title=
""
value=
"${model.name!}"
required=
""
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"role.dynamic"
/>
:
</th>
<td
nowrap
>
<select
id=
"dynamic"
name=
"dynamic"
class=
"form-control form-select"
>
<option
value=
"0"
<
#if
'0'==
model.dynamic
>
selected
</
#
if>
>
<
@
locale
code=
"common.text.no"
/></option>
<option
value=
"1"
<
#if
'1'==
model.dynamic
>
selected
</
#
if>
>
<
@
locale
code=
"common.text.yes"
/></option>
</select>
</td>
</tr>
<th><
@
locale
code=
"apps.name"
/>
:
</th>
<td
nowrap
>
<input
class=
"form-control appId"
id=
"appId"
name=
"appId"
value=
"${model.appId!}"
type=
"hidden"
>
<input
class=
"form-control appName"
readonly
value=
"${model.appName!}"
id=
"appName"
name=
"appName"
type=
"text"
>
</td>
</tr>
<tr>
<th><
@
locale
code=
"accounts.strategy.mapping"
/>
:
</th>
<td
nowrap
>
<select
id=
"mapping"
name=
"mapping"
class=
"form-control form-select"
>
<option
value=
"username"
<
#if
model.mapping
?
contains
("
username
")
>
selected
</
#
if>
>
<
@
locale
code=
"userinfo.username"
/>
</option>
<option
value=
"mobile"
<
#if
model.mapping
?
contains
("
mobile
")
>
selected
</
#
if>
>
<
@
locale
code=
"userinfo.mobile"
/>
</option>
<option
value=
"email"
<
#if
model.mapping
?
contains
("
email
")
>
selected
</
#
if>
>
<
@
locale
code=
"userinfo.email"
/>
</option>
<option
value=
"employeeNumber"
<
#if
model.mapping
?
contains
("
employeeNumber
")
>
selected
</
#
if>
>
<
@
locale
code=
"userinfo.employeeNumber"
/>
</option>
<option
value=
"windowsAccount"
<
#if
model.mapping
?
contains
("
windowsAccount
")
>
selected
</
#
if>
>
<
@
locale
code=
"userinfo.windowsAccount"
/>
</option>
<option
value=
"idCardNo"
<
#if
model.mapping
?
contains
("
idCardNo
")
>
selected
</
#
if>
>
<
@
locale
code=
"userinfo.idCardNo"
/>
</option>
</select>
</td>
</tr>
<tr>
<th><
@
locale
code=
"
role
.orgidslist"
/>
:
</th>
<th><
@
locale
code=
"
accounts.strategy
.orgidslist"
/>
:
</th>
<td
nowrap
>
<input
type=
"text"
id=
"orgIdsListName"
name=
"orgIdsListName"
readonly
class=
"form-control"
title=
""
value=
""
onclick=
"showOrgsTree();"
/>
<input
type=
"hidden"
id=
"orgIdsList"
name=
"orgIdsList"
readonly
class=
"form-control"
title=
""
value=
"${model.orgIdsList!}"
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"
role
.filters"
/>
:
</th>
<th><
@
locale
code=
"
accounts.strategy
.filters"
/>
:
</th>
<td
nowrap
>
<textarea
id=
"filters"
name=
"filters"
class=
"form-control"
rows=
"
7
"
cols=
"20"
>
${model.filters!}
</textarea>
<textarea
id=
"filters"
name=
"filters"
class=
"form-control"
rows=
"
4
"
cols=
"20"
>
${model.filters!}
</textarea>
</td>
</tr>
<tr>
<th><
@
locale
code=
"common.text.description"
/>
:
</th>
<td
nowrap
>
<textarea
id=
"description"
name=
"description"
class=
"form-control"
rows=
"
6
"
cols=
"20"
>
${model.description!}
</textarea>
<textarea
id=
"description"
name=
"description"
class=
"form-control"
rows=
"
3
"
cols=
"20"
>
${model.description!}
</textarea>
</td>
</tr>
<tr>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录