Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yujianwangzivayy
MaxKey
提交
ab374f4f
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,发现更多精彩内容 >>
提交
ab374f4f
编写于
4月 26, 2020
作者:
MaxKey单点登录官方
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v1.4.0RC
上级
484c282f
变更
30
隐藏空白更改
内联
并排
Showing
30 changed file
with
72 addition
and
58 deletion
+72
-58
maxkey-web-manage/src/main/resources/static/jquery/platform.common.js
...anage/src/main/resources/static/jquery/platform.common.js
+1
-1
maxkey-web-manage/src/main/resources/templates/views/accounts/appAccountsAdd.ftl
...ain/resources/templates/views/accounts/appAccountsAdd.ftl
+6
-6
maxkey-web-manage/src/main/resources/templates/views/apps/appsExtendAttr.ftl
...rc/main/resources/templates/views/apps/appsExtendAttr.ftl
+1
-1
maxkey-web-manage/src/main/resources/templates/views/apps/basic/appAdd.ftl
.../src/main/resources/templates/views/apps/basic/appAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/basic/appUpdate.ftl
...c/main/resources/templates/views/apps/basic/appUpdate.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/cas/appAdd.ftl
...ge/src/main/resources/templates/views/apps/cas/appAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/cas/appUpdate.ftl
...src/main/resources/templates/views/apps/cas/appUpdate.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/desktop/appAdd.ftl
...rc/main/resources/templates/views/apps/desktop/appAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/desktop/appUpdate.ftl
...main/resources/templates/views/apps/desktop/appUpdate.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/extendapi/appAdd.ftl
.../main/resources/templates/views/apps/extendapi/appAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/extendapi/appUpdate.ftl
...in/resources/templates/views/apps/extendapi/appUpdate.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/formbased/appAdd.ftl
.../main/resources/templates/views/apps/formbased/appAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/formbased/appUpdate.ftl
...in/resources/templates/views/apps/formbased/appUpdate.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/oauth20/appAdd.ftl
...rc/main/resources/templates/views/apps/oauth20/appAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/oauth20/appUpdate.ftl
...main/resources/templates/views/apps/oauth20/appUpdate.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/saml20/appAdd.ftl
...src/main/resources/templates/views/apps/saml20/appAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/saml20/appUpdate.ftl
.../main/resources/templates/views/apps/saml20/appUpdate.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/tokenbased/appAdd.ftl
...main/resources/templates/views/apps/tokenbased/appAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/apps/tokenbased/appUpdate.ftl
...n/resources/templates/views/apps/tokenbased/appUpdate.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/config/passwordpolicy/passwordpolicy.ftl
.../templates/views/config/passwordpolicy/passwordpolicy.ftl
+11
-11
maxkey-web-manage/src/main/resources/templates/views/groups/groupAdd.ftl
...ge/src/main/resources/templates/views/groups/groupAdd.ftl
+2
-2
maxkey-web-manage/src/main/resources/templates/views/groups/groupUpdate.ftl
...src/main/resources/templates/views/groups/groupUpdate.ftl
+2
-2
maxkey-web-manage/src/main/resources/templates/views/layout/common.cssjs.ftl
...rc/main/resources/templates/views/layout/common.cssjs.ftl
+1
-4
maxkey-web-manage/src/main/resources/templates/views/login.ftl
...y-web-manage/src/main/resources/templates/views/login.ftl
+1
-1
maxkey-web-manage/src/main/resources/templates/views/orgs/orgsAdd.ftl
...anage/src/main/resources/templates/views/orgs/orgsAdd.ftl
+2
-2
maxkey-web-manage/src/main/resources/templates/views/orgs/orgsUpdate.ftl
...ge/src/main/resources/templates/views/orgs/orgsUpdate.ftl
+5
-5
maxkey-web-manage/src/main/resources/templates/views/userinfo/changePassword.ftl
...ain/resources/templates/views/userinfo/changePassword.ftl
+4
-4
maxkey-web-manage/src/main/resources/templates/views/userinfo/userAdd.ftl
...e/src/main/resources/templates/views/userinfo/userAdd.ftl
+2
-1
maxkey-web-manage/src/main/resources/templates/views/userinfo/userUpdate.ftl
...rc/main/resources/templates/views/userinfo/userUpdate.ftl
+2
-1
maxkey-web-maxkey/src/main/resources/templates/views/layout/common.cssjs.ftl
...rc/main/resources/templates/views/layout/common.cssjs.ftl
+0
-1
未找到文件。
maxkey-web-manage/src/main/resources/static/jquery/platform.common.js
浏览文件 @
ab374f4f
...
...
@@ -495,7 +495,7 @@ $(function(){
return
false
;
}
if
(
canSubmit
)
{
$
(
"
#actionForm
"
).
submit
();
//submit
//
$("#actionForm").submit();//submit
}
});
...
...
maxkey-web-manage/src/main/resources/templates/views/accounts/appAccountsAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -12,20 +12,20 @@
</head>
<body>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/app/accounts/add"
>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/app/accounts/add"
class=
"needs-validation"
novalidate
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
class=
"table table-bordered"
>
<tbody>
<tr
style=
"display:none"
>
<th><
@
locale
code=
"userinfo.id"
/>
:
</th>
<td
nowrap
>
<input
type=
"text"
id=
"id"
name=
"id"
readonly
class=
"form-control"
title=
""
value=
"${model.id!}"
/>
<input
required=
""
type=
"text"
id=
"id"
name=
"id"
readonly
class=
"form-control"
title=
""
value=
"${model.id!}"
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"userinfo.username"
/>
:
</th>
<td
nowrap
>
<input
readonly
type=
"text"
id=
"username"
name=
"username"
class=
"form-control username"
title=
""
value=
"${model.username!}"
style=
"float:left;width:70%;"
required=
""
/>
<input
required=
""
readonly
type=
"text"
id=
"username"
name=
"username"
class=
"form-control username"
title=
""
value=
"${model.username!}"
style=
"float:left;width:70%;"
required=
""
/>
<input
class=
"button btn btn-primary mr-3 window"
type=
"button"
id=
"selectUserinfoBtn"
value=
"<@locale code="
button.text.select
"
/>
"
wurl="
<
@
base
/>
/userinfo/select"
wwidth="800"
...
...
@@ -37,14 +37,14 @@
<tr>
<th><
@
locale
code=
"userinfo.displayName"
/>
:
</th>
<td
nowrap
>
<input
readonly
type=
"text"
id=
"displayName"
name=
"displayName"
class=
"form-control displayName"
title=
""
value=
"${model.displayName!}"
style=
"width:70%;"
required=
""
/>
<input
required=
""
readonly
type=
"text"
id=
"displayName"
name=
"displayName"
class=
"form-control displayName"
title=
""
value=
"${model.displayName!}"
style=
"width:70%;"
required=
""
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"apps.name"
/>
:
</th>
<td
nowrap
>
<input
readonly
type=
"text"
id=
"appName"
name=
"appName"
class=
"form-control appName"
title=
""
value=
"${model.appName!}"
style=
"float:left;width:70%;"
required=
""
/>
<input
required=
""
readonly
type=
"text"
id=
"appName"
name=
"appName"
class=
"form-control appName"
title=
""
value=
"${model.appName!}"
style=
"float:left;width:70%;"
required=
""
/>
<input
class=
"button btn btn-primary mr-3 window"
type=
"button"
id=
"selectAppsubmitBtn"
value=
"<@locale code="
button.text.select
"
/>
"
wurl="
<
@
base
/>
/apps/select"
wwidth="800"
...
...
@@ -73,7 +73,7 @@
<input
id=
"status"
type=
"hidden"
name=
"status"
value=
"1"
/>
<input
type=
"hidden"
id=
"uid"
name=
"uid"
class=
"uid"
title=
""
value=
"${model.uid!}"
/>
<input
type=
"hidden"
id=
"appId"
name=
"appId"
class=
"appId"
title=
""
value=
"${model.appId!}"
/>
<input
class=
"button btn btn-primary mr-3"
type=
"
button
"
id=
"submitBtn"
value=
"<@locale code="
button.text.save
"
/>
"/>
<input
class=
"button btn btn-primary mr-3"
type=
"
submit
"
id=
"submitBtn"
value=
"<@locale code="
button.text.save
"
/>
"/>
<input
class=
"button btn btn-secondary mr-3"
type=
"button"
id=
"closeBtn"
value=
"<@locale code="
button.text.cancel
"
/>
"/>
</td>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/appsExtendAttr.ftl
浏览文件 @
ab374f4f
...
...
@@ -58,7 +58,7 @@ $(function(){
</head>
<body>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/updateExtendAttr"
>
action=
"<@base/>/apps/updateExtendAttr"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/basic/appAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -29,7 +29,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/basic/add"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
width=
"960"
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/basic/appUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -39,7 +39,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/basic/update"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/cas/appAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -29,7 +29,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/cas/add"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
width=
"960"
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/cas/appUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -39,7 +39,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/cas/update"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/desktop/appAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -68,7 +68,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/desktop/add"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
width=
"960"
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/desktop/appUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -75,7 +75,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/desktop/update"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/extendapi/appAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -35,7 +35,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/extendapi/add"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/extendapi/appUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -39,7 +39,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/extendapi/update"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/formbased/appAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -34,7 +34,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/formbased/add"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/formbased/appUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -39,7 +39,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/formbased/update"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/oauth20/appAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -20,7 +20,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/oauth20/add"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
width=
"960"
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/oauth20/appUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -29,7 +29,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/oauth20/update"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
width=
"960px"
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/saml20/appAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -21,7 +21,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/saml20/add"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/saml20/appUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -34,7 +34,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/saml20/update"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
width=
"960"
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/tokenbased/appAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -35,7 +35,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/tokenbased/add"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
width=
"960"
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/apps/tokenbased/appUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -42,7 +42,8 @@ $(function(){
<form
id=
"actionForm_app"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/apps/tokenbased/update"
forward=
"<@base/>/apps/list"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<!-- content -->
<!--table-->
<table
width=
"960"
class=
"table table-bordered"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/config/passwordpolicy/passwordpolicy.ftl
浏览文件 @
ab374f4f
...
...
@@ -63,14 +63,14 @@
<h4
class=
"card-title"
><
@
locale
code=
"login.passwordpolicy"
/></h4>
</div>
<div
class=
"card-body"
>
<form
method=
"post"
type=
"label"
validate=
"true"
action=
"<@base/>/config/passwordpolicy/update"
id=
"actionForm"
>
<form
method=
"post"
type=
"label"
validate=
"true"
action=
"<@base/>/config/passwordpolicy/update"
id=
"actionForm"
class=
"needs-validation"
novalidate
>
<div
class=
"row"
>
<div
class=
"col-md-6"
>
<div
class=
"form-group row"
>
<label
class=
"col-sm-3 col-form-label"
><
@
locale
code=
"login.passwordpolicy.minlength"
/>
:
</label>
<div
class=
"col-sm-9"
>
<input
id=
"id"
name=
"id"
type=
"hidden"
value=
"${model.id!}"
/>
<input
class=
"form-control"
type=
"text"
id=
"minLength"
name=
"minLength"
value=
"${model.minLength!}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"minLength"
name=
"minLength"
value=
"${model.minLength!}"
/>
</div>
</div>
</div>
...
...
@@ -78,7 +78,7 @@
<div
class=
"form-group row"
>
<label
class=
"col-sm-3 col-form-label"
><
@
locale
code=
"login.passwordpolicy.maxlength"
/>
:
</label>
<div
class=
"col-sm-9"
>
<input
class=
"form-control"
type=
"text"
id=
"maxLength"
name=
"maxLength"
value=
"${model.maxLength!}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"maxLength"
name=
"maxLength"
value=
"${model.maxLength!}"
/>
</div>
</div>
</div>
...
...
@@ -88,7 +88,7 @@
<div
class=
"form-group row"
>
<label
class=
"col-sm-3 col-form-label"
><
@
locale
code=
"login.passwordpolicy.lowercase"
/>
:
</label>
<div
class=
"col-sm-9"
>
<input
class=
"form-control"
type=
"text"
id=
"lowerCase"
name=
"lowerCase"
value=
"${model.lowerCase!}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"lowerCase"
name=
"lowerCase"
value=
"${model.lowerCase!}"
/>
</div>
</div>
</div>
...
...
@@ -96,7 +96,7 @@
<div
class=
"form-group row"
>
<label
class=
"col-sm-3 col-form-label"
><
@
locale
code=
"login.passwordpolicy.uppercase"
/>
:
</label>
<div
class=
"col-sm-9"
>
<input
class=
"form-control"
type=
"text"
id=
"upperCase"
name=
"upperCase"
value=
"${model.upperCase!}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"upperCase"
name=
"upperCase"
value=
"${model.upperCase!}"
/>
</div>
</div>
</div>
...
...
@@ -106,7 +106,7 @@
<div
class=
"form-group row"
>
<label
class=
"col-sm-3 col-form-label"
><
@
locale
code=
"login.passwordpolicy.digits"
/>
:
</label>
<div
class=
"col-sm-9"
>
<input
class=
"form-control"
type=
"text"
id=
"digits"
name=
"digits"
value=
"${model.digits!}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"digits"
name=
"digits"
value=
"${model.digits!}"
/>
</div>
</div>
</div>
...
...
@@ -114,7 +114,7 @@
<div
class=
"form-group row"
>
<label
class=
"col-sm-3"
><
@
locale
code=
"login.passwordpolicy.specialchar"
/>
:
</label>
<div
class=
"col-sm-9"
>
<input
class=
"form-control"
type=
"text"
id=
"specialChar"
name=
"specialChar"
value=
"${model.specialChar!}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"specialChar"
name=
"specialChar"
value=
"${model.specialChar!}"
/>
</div>
</div>
</div>
...
...
@@ -124,7 +124,7 @@
<div
class=
"form-group row"
>
<label
class=
"col-sm-3 col-form-label"
><
@
locale
code=
"login.passwordpolicy.attempts"
/>
:
</label>
<div
class=
"col-sm-9"
>
<input
class=
"form-control"
type=
"text"
id=
"attempts"
name=
"attempts"
value=
"${model.attempts}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"attempts"
name=
"attempts"
value=
"${model.attempts}"
/>
</div>
</div>
</div>
...
...
@@ -132,7 +132,7 @@
<div
class=
"form-group row"
>
<label
class=
"col-sm-3 col-form-label"
><
@
locale
code=
"login.passwordpolicy.duration"
/>
(Unit:Hour):
</label>
<div
class=
"col-sm-9"
>
<input
class=
"form-control"
type=
"text"
id=
"duration"
name=
"duration"
value=
"${model.duration!}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"duration"
name=
"duration"
value=
"${model.duration!}"
/>
</div>
</div>
</div>
...
...
@@ -142,7 +142,7 @@
<div
class=
"form-group row"
>
<label
class=
"col-sm-3 col-form-label"
><
@
locale
code=
"login.passwordpolicy.expiration"
/>
(Unit:Day):
</label>
<div
class=
"col-sm-9"
>
<input
class=
"form-control"
type=
"text"
id=
"expiration"
name=
"expiration"
value=
"${model.expiration!}"
/>
<input
required=
""
class=
"form-control"
type=
"text"
id=
"expiration"
name=
"expiration"
value=
"${model.expiration!}"
/>
</div>
</div>
</div>
...
...
@@ -163,7 +163,7 @@
<div
class=
"col-md-12"
>
<div
class=
"form-group m-b-20"
>
<label
style=
"float: left;"
for=
"simplePasswords"
><
@
locale
code=
"login.passwordpolicy.simplepasswords"
/>
:
</label>
<textarea
id=
"simplePasswords"
name=
"simplePasswords"
class=
"form-control"
>
${model.simplePasswords!}
</textarea>
<textarea
required=
""
id=
"simplePasswords"
name=
"simplePasswords"
class=
"form-control"
>
${model.simplePasswords!}
</textarea>
</div>
</div>
</div>
...
...
maxkey-web-manage/src/main/resources/templates/views/groups/groupAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -11,7 +11,7 @@
</style>
</head>
<body>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/groups/add"
>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/groups/add"
class=
"needs-validation"
novalidate
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
class=
"table table-bordered"
>
<tbody>
<tr>
...
...
@@ -24,7 +24,7 @@
<td
nowrap
colspan=
"2"
class=
"center"
>
<input
id=
"_method"
type=
"hidden"
name=
"_method"
value=
"post"
/>
<input
id=
"status"
type=
"hidden"
name=
"status"
value=
"1"
/>
<input
class=
"button btn btn-primary mr-3"
id=
"submitBtn"
type=
"
button
"
value=
"<@locale code="
button.text.save
"
/>
">
<input
class=
"button btn btn-primary mr-3"
id=
"submitBtn"
type=
"
submit
"
value=
"<@locale code="
button.text.save
"
/>
">
<input
class=
"button btn btn-secondary mr-3"
id=
"closeBtn"
type=
"button"
value=
"<@locale code="
button.text.cancel
"
/>
">
</td>
</tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/groups/groupUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -11,7 +11,7 @@
</style>
</head>
<body>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/groups/update"
>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/groups/update"
class=
"needs-validation"
novalidate
>
<table
border=
"0"
cellpadding=
"0"
cellspacing=
"0"
class=
"table table-bordered"
>
<tbody>
<tr
style=
"display:none1"
>
...
...
@@ -30,7 +30,7 @@
<td
nowrap
colspan=
"2"
class=
"center"
>
<input
id=
"_method"
type=
"hidden"
name=
"_method"
value=
"post"
/>
<input
id=
"status"
type=
"hidden"
name=
"status"
value=
"1"
/>
<input
class=
"button btn btn-primary mr-3"
id=
"submitBtn"
type=
"
button
"
value=
"<@locale code="
button.text.save
"
/>
">
<input
class=
"button btn btn-primary mr-3"
id=
"submitBtn"
type=
"
submit
"
value=
"<@locale code="
button.text.save
"
/>
">
<input
class=
"button btn btn-secondary mr-3"
id=
"closeBtn"
type=
"button"
value=
"<@locale code="
button.text.cancel
"
/>
">
</td>
</tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/layout/common.cssjs.ftl
浏览文件 @
ab374f4f
<#-- javascript js begin -->
<#-- jquery base -->
<script src ="<@base />/static/jquery/jquery-3.5.0.min.js" type="text/javascript"></script>
<script src ="<@base />/static/jquery/jquery-3.5.0.min.map" type="text/javascript"></script>
<script src ="<@base />/static/jquery/popper.min.js" type="text/javascript" ></script>
<#-- bootstrap-4.4.1 -->
<link href="<@base />/static/bootstrap-4.4.1/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
...
...
@@ -31,9 +30,7 @@
<script src ="<@base />/static/jquery/jquery.blockUI.js" type="text/javascript" ></script>
<#-- serializeObject -->
<script src ="<@base />/static/jquery/jquery.serialize-object.min.js" type="text/javascript" ></script>
<#-- validation -->
<script src ="<@base />/static/jquery/jquery-validation-1.11.1/jquery.validate.min.js" type="text/javascript" ></script>
<script src ="<@base />/static/jquery/jquery-validation-1.11.1/localization/messages_<@locale />.js" type="text/javascript" ></script>
<script src ="<@base />/static/jquery/jsonformatter.js" type="text/javascript" ></script>
<script src ="<@base />/static/jquery/switchtab/switchtab.js" type="text/javascript" ></script>
<link href="<@base />/static/jquery/switchtab/switchtab.css" type="text/css" rel="stylesheet" />
...
...
maxkey-web-manage/src/main/resources/templates/views/login.ftl
浏览文件 @
ab374f4f
...
...
@@ -26,7 +26,7 @@
</h4>
</div>
<div
class=
"card-body"
>
<form
class=
"form-horizontal m-t-20
"
id=
"loginForm"
name=
"loginForm"
action=
"<@base />/logon.do"
method=
"post"
>
<form
class=
"form-horizontal m-t-20
needs-validation"
id=
"loginForm"
name=
"loginForm"
action=
"<@base />/logon.do"
method=
"post"
novalidate
>
<div
class=
"form-group"
>
<span
class=
"input-group-addon"
><i
class=
"fa fa-user"
></i></span>
<input
id=
'j_username'
name=
'username'
value=
"admin"
class=
"form-control"
type=
"text"
required=
""
placeholder=
"<@locale code="
login.text.username
"
/>
">
...
...
maxkey-web-manage/src/main/resources/templates/views/orgs/orgsAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -20,7 +20,7 @@ $(function () {
</head>
<body>
<form
id=
"actionForm"
action=
'<@base/>/orgs/add'
method=
"post"
>
<form
id=
"actionForm"
action=
'<@base/>/orgs/add'
method=
"post"
class=
"needs-validation"
novalidate
>
<table
class=
"datatable"
style=
"width:600px"
>
<tr>
<td>
...
...
@@ -134,7 +134,7 @@ $(function () {
</td></tr>
<tr><td
nowrap
class=
"center"
>
<input
id=
"submitBtn"
class=
"button btn btn-primary mr-3"
type=
"
button
"
style=
"width:100px"
value=
"<@locale code="
button.text.save
"
/>
"/>
<input
id=
"submitBtn"
class=
"button btn btn-primary mr-3"
type=
"
submit
"
style=
"width:100px"
value=
"<@locale code="
button.text.save
"
/>
"/>
</td></tr>
</table>
...
...
maxkey-web-manage/src/main/resources/templates/views/orgs/orgsUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -19,7 +19,7 @@ $(function () {
</head>
<body>
<form
id=
"actionForm"
action=
'<@base/>/orgs/update'
method=
"post"
>
<form
id=
"actionForm"
action=
'<@base/>/orgs/update'
method=
"post"
class=
"needs-validation"
novalidate
>
<table
class=
"datatable"
style=
"width:600px"
>
<tr>
<td>
...
...
@@ -46,15 +46,15 @@ $(function () {
</tr>
<tr
>
<td
>
<
@
locale
code=
"org.id"
/>
:
</td>
<td><input
type=
"text"
id=
"id"
name=
"id"
class=
"form-control"
value=
"${model.id!}"
/></td>
<td><input
type=
"text"
id=
"id"
name=
"id"
required=
""
class=
"form-control"
value=
"${model.id!}"
/></td>
</tr>
<tr>
<td
>
<
@
locale
code=
"org.name"
/>
:
</td>
<td><input
type=
"text"
id=
"name"
name=
"name"
class=
"form-control"
value=
"${model.name!}"
/></td>
<td><input
type=
"text"
id=
"name"
name=
"name"
required=
""
class=
"form-control"
value=
"${model.name!}"
/></td>
</tr>
<tr>
<td
>
<
@
locale
code=
"org.fullname"
/>
:
</td>
<td><input
type=
"text"
id=
"fullName"
name=
"fullName"
class=
"form-control"
value=
"${model.fullName!}"
/></td>
<td><input
type=
"text"
id=
"fullName"
name=
"fullName"
required=
""
class=
"form-control"
value=
"${model.fullName!}"
/></td>
</tr>
<tr
>
<td
>
<
@
locale
code=
"org.xpath"
/>
:
...
...
@@ -133,7 +133,7 @@ $(function () {
</td></tr>
<tr><td
nowrap
class=
"center"
>
<input
id=
"submitBtn"
class=
"button btn btn-primary mr-3"
type=
"
button
"
style=
"width:100px"
value=
"<@locale code="
button.text.save
"
/>
"/>
<input
id=
"submitBtn"
class=
"button btn btn-primary mr-3"
type=
"
submit
"
style=
"width:100px"
value=
"<@locale code="
button.text.save
"
/>
"/>
</td></tr>
</table>
...
...
maxkey-web-manage/src/main/resources/templates/views/userinfo/changePassword.ftl
浏览文件 @
ab374f4f
...
...
@@ -12,7 +12,7 @@
</head>
<body>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/userinfo/changePassword"
>
<form
id=
"actionForm"
method=
"post"
type=
"label"
autoclose=
"true"
action=
"<@base/>/userinfo/changePassword"
class=
"needs-validation"
novalidate
>
<table
class=
"table table-bordered"
>
<tbody>
...
...
@@ -34,19 +34,19 @@
<tr>
<th><
@
locale
code=
"login.password.newPassword"
/>
:
</th>
<td>
<input
type=
"password"
id=
"password"
name=
"password"
class=
"form-control"
title=
""
value=
""
/>
<input
type=
"password"
id=
"password"
name=
"password"
required=
""
class=
"form-control"
title=
""
value=
""
/>
</td>
</tr>
<tr>
<th><
@
locale
code=
"login.password.confirmPassword"
/>
:
</th>
<td
nowrap
>
<input
type=
"password"
id=
"confirmPassword"
name=
"confirmPassword"
class=
"form-control"
title=
""
value=
""
/>
<input
type=
"password"
id=
"confirmPassword"
name=
"confirmPassword"
required=
""
class=
"form-control"
title=
""
value=
""
/>
</td>
</tr>
<tr>
<td
colspan=
"2"
class=
"center"
>
<input
id=
"_method"
type=
"hidden"
name=
"_method"
value=
"post"
/>
<input
class=
"button btn btn-primary mr-3"
style=
"width:100px"
type=
"
button
"
id=
"submitBtn"
value=
"<@locale code="
button.text.save
"
/>
"/>
<input
class=
"button btn btn-primary mr-3"
style=
"width:100px"
type=
"
submit
"
id=
"submitBtn"
value=
"<@locale code="
button.text.save
"
/>
"/>
</td>
</tr>
...
...
maxkey-web-manage/src/main/resources/templates/views/userinfo/userAdd.ftl
浏览文件 @
ab374f4f
...
...
@@ -30,7 +30,8 @@
type=
"alert"
action=
"<@base/>/userinfo/add"
autoclose=
"true"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<div
class=
""
style=
"width:100%;"
>
<div
class=
"top"
>
<ul
class=
"switch_tab"
style=
"width:100%"
>
...
...
maxkey-web-manage/src/main/resources/templates/views/userinfo/userUpdate.ftl
浏览文件 @
ab374f4f
...
...
@@ -26,7 +26,8 @@
type=
"alert"
action=
"<@base/>/userinfo/update"
autoclose=
"true"
enctype=
"multipart/form-data"
>
enctype=
"multipart/form-data"
class=
"needs-validation"
novalidate
>
<div
class=
""
style=
"width:100%;"
>
<div
class=
"top"
>
<ul
class=
"switch_tab"
style=
"width:100%"
>
...
...
maxkey-web-maxkey/src/main/resources/templates/views/layout/common.cssjs.ftl
浏览文件 @
ab374f4f
<#-- javascript js begin -->
<#-- jquery base -->
<script src ="<@base />/static/jquery/jquery-3.5.0.min.js" type="text/javascript"></script>
<script src ="<@base />/static/jquery/jquery-3.5.0.min.map" type="text/javascript"></script>
<script src ="<@base />/static/jquery/popper.min.js" type="text/javascript" ></script>
<#-- bootstrap-4.4.1 -->
<link href="<@base />/static/bootstrap-4.4.1/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录