Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MaxKey单点登录官方(MaxKeyTop)
MaxKey
提交
d67bc93c
MaxKey
项目概览
MaxKey单点登录官方(MaxKeyTop)
/
MaxKey
9 个月 前同步成功
通知
75
Star
3
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
MaxKey
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d67bc93c
编写于
2月 14, 2022
作者:
M
MaxKey
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ui optimize
上级
af887484
变更
24
隐藏空白更改
内联
并排
Showing
24 changed file
with
220 addition
and
224 deletion
+220
-224
maxkey-protocols/maxkey-protocol-oauth-2.0/json-web-key-generator/Usage.txt
...axkey-protocol-oauth-2.0/json-web-key-generator/Usage.txt
+0
-18
maxkey-protocols/maxkey-protocol-oauth-2.0/json-web-key-generator/json-web-key-generator.bat
...uth-2.0/json-web-key-generator/json-web-key-generator.bat
+0
-2
maxkey-protocols/maxkey-protocol-oauth-2.0/json-web-key-generator/json-web-key-generator.jar
...uth-2.0/json-web-key-generator/json-web-key-generator.jar
+0
-0
maxkey-protocols/maxkey-protocol-oauth-2.0/json-web-key-generator/maxkey.jwks
...key-protocol-oauth-2.0/json-web-key-generator/maxkey.jwks
+0
-14
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/historys/loginList.ftl
...src/main/resources/templates/views/historys/loginList.ftl
+3
-3
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/historys/sessionList.ftl
...c/main/resources/templates/views/historys/sessionList.ftl
+2
-2
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/historys/systemLogsList.ftl
...ain/resources/templates/views/historys/systemLogsList.ftl
+2
-2
maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/apps/contorller/JwtDetailsController.java
.../org/maxkey/web/apps/contorller/JwtDetailsController.java
+1
-1
maxkey-webs/maxkey-web-mgt/src/main/resources/messages/message.properties
...ey-web-mgt/src/main/resources/messages/message.properties
+5
-5
maxkey-webs/maxkey-web-mgt/src/main/resources/messages/message_en.properties
...web-mgt/src/main/resources/messages/message_en.properties
+1
-1
maxkey-webs/maxkey-web-mgt/src/main/resources/messages/message_zh_CN.properties
...-mgt/src/main/resources/messages/message_zh_CN.properties
+5
-5
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/appAddCommon.ftl
.../src/main/resources/templates/views/apps/appAddCommon.ftl
+28
-31
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/appUpdateCommon.ftl
...c/main/resources/templates/views/apps/appUpdateCommon.ftl
+29
-27
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/oauth20/appAdd.ftl
...rc/main/resources/templates/views/apps/oauth20/appAdd.ftl
+16
-16
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/oauth20/appUpdate.ftl
...main/resources/templates/views/apps/oauth20/appUpdate.ftl
+16
-17
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/saml20/appAdd.ftl
...src/main/resources/templates/views/apps/saml20/appAdd.ftl
+4
-1
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/saml20/appUpdate.ftl
.../main/resources/templates/views/apps/saml20/appUpdate.ftl
+10
-4
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/tokenbased/appAdd.ftl
...main/resources/templates/views/apps/tokenbased/appAdd.ftl
+18
-5
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/tokenbased/appUpdate.ftl
...n/resources/templates/views/apps/tokenbased/appUpdate.ftl
+17
-4
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/orgs/orgsAdd.ftl
...b-mgt/src/main/resources/templates/views/orgs/orgsAdd.ftl
+23
-23
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/orgs/orgsUpdate.ftl
...gt/src/main/resources/templates/views/orgs/orgsUpdate.ftl
+23
-23
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/userinfo/userAdd.ftl
...t/src/main/resources/templates/views/userinfo/userAdd.ftl
+5
-11
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/userinfo/userUpdate.ftl
...rc/main/resources/templates/views/userinfo/userUpdate.ftl
+2
-8
maxkey-webs/maxkey-web-resources/src/main/resources/static/javascript/platform.common.js
...s/src/main/resources/static/javascript/platform.common.js
+10
-1
未找到文件。
maxkey-protocols/maxkey-protocol-oauth-2.0/json-web-key-generator/Usage.txt
已删除
100644 → 0
浏览文件 @
af887484
Usage
Invoking the utility without arguments will print its usage message
usage java -jar json-web-key-generator.jar -t keyType [options]
-a arg Algorithm (optional)
-c arg Key Curve, required for EC key type. Must be one of P-256,
P-384, P-521
-i arg Key ID (optional)
-p Display public key separately
-s arg Key Size in bits, required for RSA and OCT key types. Must be
an integer divisible by 8
-S Wrap the generated key in a KeySet
-t arg Key Type, one of RSA, oct, EC
-u arg Usage, one of enc, sig (optional)
Example
To generate a 2048-bit RSA public private key pair, with a specified key ID and use, and wrapped in a standard JWK set
java -jar json-web-key-generator.jar -t RSA -s 2048 -i 1 -u sig -S
\ No newline at end of file
maxkey-protocols/maxkey-protocol-oauth-2.0/json-web-key-generator/json-web-key-generator.bat
已删除
100644 → 0
浏览文件 @
af887484
java
-jar
json
-web-key-generator
.jar
-a
RS256
-t
RSA
-s
2048
-i
maxkey_rsa
-u
sig
-S
>
maxkey
.jwks
pause
\ No newline at end of file
maxkey-protocols/maxkey-protocol-oauth-2.0/json-web-key-generator/json-web-key-generator.jar
已删除
100644 → 0
浏览文件 @
af887484
文件已删除
maxkey-protocols/maxkey-protocol-oauth-2.0/json-web-key-generator/maxkey.jwks
已删除
100644 → 0
浏览文件 @
af887484
Full key:
{
"keys": [
{
"kty": "RSA",
"d": "K2VCm_6enq5uoFLZXUlWkgbCXj5m9X5uUX3_Ol3qcY9X1cP04TN98R8lpw-ASeFDRFRhe0FT-lYCYu_fqZcrNXVhyN3rgi27af5x4HdFMnHLTLMPvE6aEyTGmZjTF1AbiX5VOJAl6POI9FiyTbV1Uqt943ydJv8SH4NfcYhKBmpp8Fi1f58mon-bYwsIy8mzZjssc8KZy-GzpscKrc5ewb7106JY3uRQNprAHrpcGAPZ8uXUvVhrxp_FNn5Nf5KVxl2tm50L83_5nw0OZrbJ8Ceg7sZAw_Z41lbYbS9VDaST6TuKRb7W4XCKimZUn57LoQT2-Gkv6msJHCmqTgK02Q",
"e": "AQAB",
"use": "sig",
"kid": "maxkey_rsa",
"alg": "RS256",
"n": "vyfZwQuBLNvJDhmziUCFuAfIv-bC6ivodcR6PfanTt8XLd6G63Yx10YChAdsDACjoLz1tEU56WPp_ee_vcTSsEZT3ouWJYghuGI2j4XclXlEj0S7DzdpcBBpI4n5dr8K3iKY-3JUMZR1AMBHI50UaMST9ZTZJAjUPIYxkhRdca5lWBo4wGUh1yj_80-Bq6al0ia9S5NTzNLaJ18jSxFqZ79BAkBm-KjkP248YUk6WBGtYEAV5Fws4dpse4hrqJ3RRHiMZV1o1iTmPHz_l55ZSDP3vpYf6iKqKzoK2RmdjfH5mGpbc4-PclTs4GKfwZ7cWfrny6B7sMnQfzujCH996Q"
}
]
}
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/historys/loginList.ftl
浏览文件 @
d67bc93c
...
@@ -71,11 +71,11 @@
...
@@ -71,11 +71,11 @@
<th
data-field=
"message"
><
@
locale
code=
"log.loginhistory.message"
/></th>
<th
data-field=
"message"
><
@
locale
code=
"log.loginhistory.message"
/></th>
<th
data-field=
"loginType"
><
@
locale
code=
"log.loginhistory.loginType"
/></th>
<th
data-field=
"loginType"
><
@
locale
code=
"log.loginhistory.loginType"
/></th>
<th
data-field=
"sourceIp"
><
@
locale
code=
"log.loginhistory.sourceIp"
/></th>
<th
data-field=
"sourceIp"
><
@
locale
code=
"log.loginhistory.sourceIp"
/></th>
<th
data-field=
"browser"
><
@
locale
code=
"log.loginhistory.browser"
/></th>
<th
data-field=
"browser"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.browser"
/></th>
<th
data-field=
"loginTime"
><
@
locale
code=
"log.loginhistory.loginTime"
/></th>
<th
data-field=
"loginTime"
><
@
locale
code=
"log.loginhistory.loginTime"
/></th>
<th
data-field=
"logoutTime"
><
@
locale
code=
"log.loginhistory.logoutTime"
/></th>
<th
data-field=
"logoutTime"
><
@
locale
code=
"log.loginhistory.logoutTime"
/></th>
<th
data-field=
"platform"
><
@
locale
code=
"log.loginhistory.platform"
/></th>
<th
data-field=
"platform"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.platform"
/></th>
<th
data-field=
"application"
><
@
locale
code=
"log.loginhistory.application"
/></th>
<th
data-field=
"application"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.application"
/></th>
<th
data-field=
"loginUrl"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.loginUrl"
/></th>
<th
data-field=
"loginUrl"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.loginUrl"
/></th>
<th
data-field=
"code"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.code"
/></th>
<th
data-field=
"code"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.code"
/></th>
<th
data-field=
"rpUserInfo"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.rpUserInfo"
/></th>
<th
data-field=
"rpUserInfo"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.rpUserInfo"
/></th>
...
...
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/historys/sessionList.ftl
浏览文件 @
d67bc93c
...
@@ -77,10 +77,10 @@
...
@@ -77,10 +77,10 @@
<th
data-field=
"message"
><
@
locale
code=
"log.loginhistory.message"
/></th>
<th
data-field=
"message"
><
@
locale
code=
"log.loginhistory.message"
/></th>
<th
data-field=
"loginType"
><
@
locale
code=
"log.loginhistory.loginType"
/></th>
<th
data-field=
"loginType"
><
@
locale
code=
"log.loginhistory.loginType"
/></th>
<th
data-field=
"sourceIp"
><
@
locale
code=
"log.loginhistory.sourceIp"
/></th>
<th
data-field=
"sourceIp"
><
@
locale
code=
"log.loginhistory.sourceIp"
/></th>
<th
data-field=
"browser"
><
@
locale
code=
"log.loginhistory.browser"
/></th>
<th
data-field=
"browser"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.browser"
/></th>
<th
data-field=
"loginTime"
><
@
locale
code=
"log.loginhistory.loginTime"
/></th>
<th
data-field=
"loginTime"
><
@
locale
code=
"log.loginhistory.loginTime"
/></th>
<th
data-field=
"logoutTime"
><
@
locale
code=
"log.loginhistory.logoutTime"
/></th>
<th
data-field=
"logoutTime"
><
@
locale
code=
"log.loginhistory.logoutTime"
/></th>
<th
data-field=
"platform"
><
@
locale
code=
"log.loginhistory.platform"
/></th>
<th
data-field=
"platform"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.platform"
/></th>
<th
data-field=
"application"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.application"
/></th>
<th
data-field=
"application"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.application"
/></th>
<th
data-field=
"loginUrl"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.loginUrl"
/></th>
<th
data-field=
"loginUrl"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.loginUrl"
/></th>
<th
data-field=
"code"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.code"
/></th>
<th
data-field=
"code"
data-visible=
"false"
><
@
locale
code=
"log.loginhistory.code"
/></th>
...
...
maxkey-webs/maxkey-web-maxkey/src/main/resources/templates/views/historys/systemLogsList.ftl
浏览文件 @
d67bc93c
...
@@ -55,9 +55,9 @@
...
@@ -55,9 +55,9 @@
<th
data-field=
"messageType"
><
@
locale
code=
"log.operate.messageType"
/></th>
<th
data-field=
"messageType"
><
@
locale
code=
"log.operate.messageType"
/></th>
<th
data-field=
"operateType"
><
@
locale
code=
"log.operate.operateType"
/></th>
<th
data-field=
"operateType"
><
@
locale
code=
"log.operate.operateType"
/></th>
<th
data-field=
"username"
><
@
locale
code=
"log.operate.username"
/></th>
<th
data-field=
"username"
><
@
locale
code=
"log.operate.username"
/></th>
<th
data-field=
"createdBy"
><
@
locale
code=
"common.text.createdby"
/></th>
<th
data-field=
"createdBy"
data-visible=
"false"
><
@
locale
code=
"common.text.createdby"
/></th>
<th
data-field=
"createdDate"
><
@
locale
code=
"common.text.createddate"
/></th>
<th
data-field=
"createdDate"
><
@
locale
code=
"common.text.createddate"
/></th>
<th
data-field=
"modifiedBy"
><
@
locale
code=
"common.text.modifiedby"
/></th>
<th
data-field=
"modifiedBy"
data-visible=
"false"
><
@
locale
code=
"common.text.modifiedby"
/></th>
<th
data-field=
"modifiedDate"
><
@
locale
code=
"common.text.modifieddate"
/></th>
<th
data-field=
"modifiedDate"
><
@
locale
code=
"common.text.modifieddate"
/></th>
</tr>
</tr>
</thead>
</thead>
...
...
maxkey-webs/maxkey-web-mgt/src/main/java/org/maxkey/web/apps/contorller/JwtDetailsController.java
浏览文件 @
d67bc93c
...
@@ -51,7 +51,7 @@ public class JwtDetailsController extends BaseAppContorller {
...
@@ -51,7 +51,7 @@ public class JwtDetailsController extends BaseAppContorller {
AppsJwtDetails
jwtDetails
=
new
AppsJwtDetails
();
AppsJwtDetails
jwtDetails
=
new
AppsJwtDetails
();
jwtDetails
.
setId
(
jwtDetails
.
generateId
());
jwtDetails
.
setId
(
jwtDetails
.
generateId
());
jwtDetails
.
setProtocol
(
ConstsProtocols
.
JWT
);
jwtDetails
.
setProtocol
(
ConstsProtocols
.
JWT
);
jwtDetails
.
setSecret
(
ReciprocalUtils
.
generateKey
(
ReciprocalUtils
.
Algorithm
.
AES
));
jwtDetails
.
setSecret
(
ReciprocalUtils
.
generateKey
(
""
));
jwtDetails
.
setUserPropertys
(
"userPropertys"
);
jwtDetails
.
setUserPropertys
(
"userPropertys"
);
modelAndView
.
addObject
(
"model"
,
jwtDetails
);
modelAndView
.
addObject
(
"model"
,
jwtDetails
);
return
modelAndView
;
return
modelAndView
;
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/messages/message.properties
浏览文件 @
d67bc93c
...
@@ -204,10 +204,10 @@ userinfo.status.lock=\u9501\u5B9A
...
@@ -204,10 +204,10 @@ userinfo.status.lock=\u9501\u5B9A
userinfo.status.inactive
=
\u
4E0D
\u
6D3B
\u
52A8
userinfo.status.inactive
=
\u
4E0D
\u
6D3B
\u
52A8
userinfo.status.delete
=
\u
5DF2
\u5220\u9664
userinfo.status.delete
=
\u
5DF2
\u5220\u9664
userinfo.userstate
=
\u7528\u6237\u
72B6
\u6001
userinfo.userstate
=
\u7528\u6237\u
72B6
\u6001
userinfo.userstate.resident
=
\u5728\u
518C
\u
4EBA
\u5458
userinfo.userstate.resident
=
\u5728\u
804C
userinfo.userstate.withdrawn
=
\u
79BB
\u
804C
\u
4EBA
\u5458
userinfo.userstate.withdrawn
=
\u
79BB
\u
804C
userinfo.userstate.inactive
=
\u
505C
\u
85AA
\u7559\u
804C
\u
4EBA
\u5458
userinfo.userstate.inactive
=
\u
505C
\u
85AA
\u7559\u
804C
userinfo.userstate.retiree
=
\u9000\u
4F11
\u
4EBA
\u5458
userinfo.userstate.retiree
=
\u9000\u
4F11
userinfo.authnType
=
\u
767B
\u
5F55
\u
65B9
\u
5F0F
userinfo.authnType
=
\u
767B
\u
5F55
\u
65B9
\u
5F0F
userinfo.authnType.authnType.1
=
\u
666E
\u
901A
\u
767B
\u
5F55
userinfo.authnType.authnType.1
=
\u
666E
\u
901A
\u
767B
\u
5F55
...
@@ -361,7 +361,7 @@ apps.jwt.content=\u4EE4\u724C\u5185\u5BB9
...
@@ -361,7 +361,7 @@ apps.jwt.content=\u4EE4\u724C\u5185\u5BB9
apps.jwt.expires
=
\u
8FC7
\u
671F
\u
65F6
\u
95F4
apps.jwt.expires
=
\u
8FC7
\u
671F
\u
65F6
\u
95F4
#SAML
#SAML
apps.saml.metadata.company
=
\u
516C
\u
53F8
apps.saml.metadata.company
=
\u
516C
\u
53F8
apps.saml.spAcsUrl
=
SP
ACS Url
apps.saml.spAcsUrl
=
ACS Url
apps.saml.fileType.Certificate
=
\u
8BC1
\u
4E66
apps.saml.fileType.Certificate
=
\u
8BC1
\u
4E66
apps.saml.metadata.orgDisplayName
=
\u
7EC4
\u
7EC7
\u
540D
\u
79F0
apps.saml.metadata.orgDisplayName
=
\u
7EC4
\u
7EC7
\u
540D
\u
79F0
apps.saml.nameIdConvert.original
=
\u
539F
\u
59CB
apps.saml.nameIdConvert.original
=
\u
539F
\u
59CB
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/messages/message_en.properties
浏览文件 @
d67bc93c
...
@@ -366,7 +366,7 @@ apps.jwt.content=content
...
@@ -366,7 +366,7 @@ apps.jwt.content=content
apps.jwt.expires
=
expires
apps.jwt.expires
=
expires
#SAML
#SAML
apps.saml.metadata.company
=
company
apps.saml.metadata.company
=
company
apps.saml.spAcsUrl
=
SP
ACS Url
apps.saml.spAcsUrl
=
ACS Url
apps.saml.fileType.Certificate
=
Certificate
apps.saml.fileType.Certificate
=
Certificate
apps.saml.metadata.orgDisplayName
=
orgDisplayName
apps.saml.metadata.orgDisplayName
=
orgDisplayName
apps.saml.nameIdConvert.original
=
original
apps.saml.nameIdConvert.original
=
original
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/messages/message_zh_CN.properties
浏览文件 @
d67bc93c
...
@@ -204,10 +204,10 @@ userinfo.status.lock=\u9501\u5B9A
...
@@ -204,10 +204,10 @@ userinfo.status.lock=\u9501\u5B9A
userinfo.status.inactive
=
\u
4E0D
\u
6D3B
\u
52A8
userinfo.status.inactive
=
\u
4E0D
\u
6D3B
\u
52A8
userinfo.status.delete
=
\u
5DF2
\u5220\u9664
userinfo.status.delete
=
\u
5DF2
\u5220\u9664
userinfo.userstate
=
\u7528\u6237\u
72B6
\u6001
userinfo.userstate
=
\u7528\u6237\u
72B6
\u6001
userinfo.userstate.resident
=
\u5728\u
518C
\u
4EBA
\u5458
userinfo.userstate.resident
=
\u5728\u
804C
userinfo.userstate.withdrawn
=
\u
79BB
\u
804C
\u
4EBA
\u5458
userinfo.userstate.withdrawn
=
\u
79BB
\u
804C
userinfo.userstate.inactive
=
\u
505C
\u
85AA
\u7559\u
804C
\u
4EBA
\u5458
userinfo.userstate.inactive
=
\u
505C
\u
85AA
\u7559\u
804C
userinfo.userstate.retiree
=
\u9000\u
4F11
\u
4EBA
\u5458
userinfo.userstate.retiree
=
\u9000\u
4F11
userinfo.authnType
=
\u
767B
\u
5F55
\u
65B9
\u
5F0F
userinfo.authnType
=
\u
767B
\u
5F55
\u
65B9
\u
5F0F
userinfo.authnType.authnType.1
=
\u
666E
\u
901A
\u
767B
\u
5F55
userinfo.authnType.authnType.1
=
\u
666E
\u
901A
\u
767B
\u
5F55
...
@@ -361,7 +361,7 @@ apps.jwt.content=\u4EE4\u724C\u5185\u5BB9
...
@@ -361,7 +361,7 @@ apps.jwt.content=\u4EE4\u724C\u5185\u5BB9
apps.jwt.expires
=
\u
8FC7
\u
671F
\u
65F6
\u
95F4
apps.jwt.expires
=
\u
8FC7
\u
671F
\u
65F6
\u
95F4
#SAML
#SAML
apps.saml.metadata.company
=
\u
516C
\u
53F8
apps.saml.metadata.company
=
\u
516C
\u
53F8
apps.saml.spAcsUrl
=
SP
ACS Url
apps.saml.spAcsUrl
=
ACS Url
apps.saml.fileType.Certificate
=
\u
8BC1
\u
4E66
apps.saml.fileType.Certificate
=
\u
8BC1
\u
4E66
apps.saml.metadata.orgDisplayName
=
\u
7EC4
\u
7EC7
\u
540D
\u
79F0
apps.saml.metadata.orgDisplayName
=
\u
7EC4
\u
7EC7
\u
540D
\u
79F0
apps.saml.nameIdConvert.original
=
\u
539F
\u
59CB
apps.saml.nameIdConvert.original
=
\u
539F
\u
59CB
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/appAddCommon.ftl
浏览文件 @
d67bc93c
...
@@ -6,29 +6,36 @@
...
@@ -6,29 +6,36 @@
<td colspan=4><h5><@locale code="apps.basic.info"/></h5></td>
<td colspan=4><h5><@locale code="apps.basic.info"/></h5></td>
</tr>
</tr>
<tr>
<tr>
<th><@locale code="apps.id"/></th>
<th style="width:15%;"><@locale code="apps.id"/></th>
<td>
<td style="width:35%;">
<span id="id_text" style="width:100%;font-weight: bold;">${model.id!}</span>
<input type="text" readonly class="form-control" id="id" name="id" title="" value="${model.id!}"/>
<input type="hidden" class="form-control" id="id" name="id" title="" value="${model.id!}"/>
</td>
</td>
<th><@locale code="apps.secret"/></th>
<th style="width:15%;"><@locale code="apps.secret"/></th>
<td>
<td style="width:35%;">
<span id="secret_text" style="width:100%;font-weight: bold;">${model.secret!}</span>
<input type="text" readonly class="form-control" id="secret" name="secret" title="" value="${model.secret!}"/>
<input type="hidden" class="form-control" id="secret" name="secret" title="" value="${model.secret!}"/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th><@locale code="apps.name"/></th>
<th><@locale code="apps.name"/></th>
<td
colspan="3"
>
<td>
<input type="text"class="form-control" id="name" name="name" size="100" title="" value="" required="" />
<input type="text"class="form-control" id="name" name="name" size="100" title="" value="" required="" />
</td>
</td>
<th><@locale code="apps.icon"/></th>
<td>
<input type="file" id="iconFile" class="form-control" name="iconFile" title="" value=""/>
</td>
</tr>
</tr>
<tr>
<tr>
<th><@locale code="apps.loginUrl"/></th>
<th><@locale code="apps.loginUrl"/></th>
<td colspan="3">
<td colspan="3">
<input type="text" class="form-control" id="loginUrl" name="loginUrl" size="100" title="" value="" required="" />
<div class="input-group" >
<input type="text" class="form-control" id="loginUrl" name="loginUrl" size="100" title="" value="" required="" />
<input class="button btn btn-primary btn-collapse" id="advancedSearchExpandBtn" type="button" size="50" value="<@locale code="button.text.expandsearch"/>" collapseId="#basic_info" expandValue="<@locale code="button.text.expandsearch"/>" collapseValue="<@locale code="button.text.collapsesearch"/>">
</div>
</td>
</td>
</tr>
</tr>
</tbody>
<tbody id="basic_info" style="display:none" >
<tr>
<tr>
<th><@locale code="apps.logoutUrl"/></th>
<th><@locale code="apps.logoutUrl"/></th>
<td>
<td>
...
@@ -44,20 +51,25 @@
...
@@ -44,20 +51,25 @@
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th
style="width:15%;"
><@locale code="apps.protocol"/></th>
<th ><@locale code="apps.protocol"/></th>
<td
style="width:35%;"
id="app_protocol_control">
<td id="app_protocol_control">
<span id="protocol_text" >${model.protocol!}</span>
<span id="protocol_text" >${model.protocol!}</span>
<input type="hidden"class="form-control" id="protocol" name="protocol" title="" value="${model.protocol!}"/>
<input type="hidden"class="form-control" id="protocol" name="protocol" title="" value="${model.protocol!}"/>
</td>
</td>
<th
style="width:15%;"
><@locale code="apps.category"/></th>
<th ><@locale code="apps.category"/></th>
<td
style="width:35%;"
>
<td>
<input type="text"class="form-control" id="category" name="category" title="" value="${model.category!}"/>
<input type="text"class="form-control" id="category" name="category" title="" value="${model.category!}"/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th><@locale code="apps.
icon
"/></th>
<th><@locale code="apps.
visible
"/></th>
<td>
<td>
<input type="file" id="iconFile" class="form-control" name="iconFile" title="" value=""/>
<select id="visible" name="visible" class="form-control form-select" >
<option value="0" ><@locale code="apps.visible.hidden"/></option>
<option value="1" selected><@locale code="apps.visible.all"/></option>
<option value="2" ><@locale code="apps.visible.internet"/></option>
<option value="3" ><@locale code="apps.visible.intranet"/></option>
</select>
</td>
</td>
<th><@locale code="common.text.sortindex"/></th>
<th><@locale code="common.text.sortindex"/></th>
<td>
<td>
...
@@ -74,21 +86,6 @@
...
@@ -74,21 +86,6 @@
<input type="text" class="form-control" id="vendorUrl" name="vendorUrl" title="" value=""/>
<input type="text" class="form-control" id="vendorUrl" name="vendorUrl" title="" value=""/>
</td>
</td>
</tr>
</tr>
<tr>
<th><@locale code="apps.visible"/></th>
<td>
<select id="visible" name="visible" class="form-control form-select" >
<option value="0" ><@locale code="apps.visible.hidden"/></option>
<option value="1" selected><@locale code="apps.visible.all"/></option>
<option value="2" ><@locale code="apps.visible.internet"/></option>
<option value="3" ><@locale code="apps.visible.intranet"/></option>
</select>
</td>
<th><@locale code="common.text.description"/></th>
<td>
<input type="text" class="form-control" id="description" name="description" title="" value=""/>
</td>
</tr>
<tr>
<tr>
<th><@locale code="apps.isAdapter" /></th>
<th><@locale code="apps.isAdapter" /></th>
<td>
<td>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/appUpdateCommon.ftl
浏览文件 @
d67bc93c
...
@@ -7,8 +7,15 @@
...
@@ -7,8 +7,15 @@
<tr>
<tr>
<th style="width:15%;"><@locale code="apps.id"/></th>
<th style="width:15%;"><@locale code="apps.id"/></th>
<td style="width:35%;">
<td style="width:35%;">
<div style="width:100%;font-weight: bold;">${model.id!}</div>
<div class="input-group">
<input type="hidden" id="id" name="id" title="" value="${model.id!}"/>
<input class="form-control" type="text" readonly id="id" name="id" title="" value="${model.id!}"/>
<input class="button btn btn-primary mr-3 window" style="float: left;" id="addExtendAttrBtn" type="button"
value="<@locale code="apps.extendAttr"/>"
wurl="<@base/>/apps/forwardAppsExtendAttr/${model.id!}"
wwidth="900"
wheight="650"
target="window">
</div>
<input type="hidden" id="status" name="status" title="" value="${model.status!}"/>
<input type="hidden" id="status" name="status" title="" value="${model.status!}"/>
</td>
</td>
<th style="width:15%;"><@locale code="apps.secret"/></th>
<th style="width:15%;"><@locale code="apps.secret"/></th>
...
@@ -21,16 +28,25 @@
...
@@ -21,16 +28,25 @@
</tr>
</tr>
<tr>
<tr>
<th><@locale code="apps.name"/></th>
<th><@locale code="apps.name"/></th>
<td
colspan="3"
>
<td>
<input type="text" class="form-control" id="name" name="name" title="" value="${model.name!}" required="" />
<input type="text" class="form-control" id="name" name="name" title="" value="${model.name!}" required="" />
</td>
</td>
<th><@locale code="apps.icon"/></th>
<td>
<img id="iconFileImg" height='30' src='<@base/>/image/${model.id!}'/>
</td>
</tr>
</tr>
<tr>
<tr>
<th><@locale code="apps.loginUrl"/></th>
<th><@locale code="apps.loginUrl"/></th>
<td colspan="3">
<td colspan="3">
<input type="text" class="form-control" id="loginUrl" name="loginUrl" title="" value="${model.loginUrl!}" required="" />
<div class="input-group" >
<input type="text" class="form-control" id="loginUrl" name="loginUrl" title="" value="${model.loginUrl!}" required="" />
<input class="button btn btn-primary btn-collapse" type="button" size="50" value="<@locale code="button.text.expandsearch"/>" collapseId="#basic_info" expandValue="<@locale code="button.text.expandsearch"/>" collapseValue="<@locale code="button.text.collapsesearch"/>">
</div>
</td>
</td>
</tr>
</tr>
</tbody>
<tbody id="basic_info" style="display:none" >
<tr>
<tr>
<th><@locale code="apps.logoutUrl"/></th>
<th><@locale code="apps.logoutUrl"/></th>
<td>
<td>
...
@@ -56,8 +72,14 @@
...
@@ -56,8 +72,14 @@
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th><@locale code="apps.icon"/></th>
<th><@locale code="apps.visible"/></th>
<td><img id="iconFileImg" height='30' src='<@base/>/image/${model.id!}'/>
<td>
<select id="visible" name="visible" class="form-control form-select">
<option value="0" <#if 0==model.visible!>selected</#if> ><@locale code="apps.visible.hidden"/></option>
<option value="1" <#if 1==model.visible!>selected</#if> ><@locale code="apps.visible.all"/></option>
<option value="2" <#if 2==model.visible!>selected</#if> ><@locale code="apps.visible.internet"/></option>
<option value="3" <#if 3==model.visible!>selected</#if> ><@locale code="apps.visible.intranet"/></option>
</select>
</td>
</td>
<th><@locale code="common.text.sortindex"/></th>
<th><@locale code="common.text.sortindex"/></th>
<td>
<td>
...
@@ -74,26 +96,6 @@
...
@@ -74,26 +96,6 @@
<input type="text" class="form-control" id="vendorUrl" name="vendorUrl" title="" value="${model.vendorUrl!}"/>
<input type="text" class="form-control" id="vendorUrl" name="vendorUrl" title="" value="${model.vendorUrl!}"/>
</td>
</td>
</tr>
</tr>
<tr>
<th><@locale code="apps.visible"/></th>
<td>
<select id="visible" name="visible" class="form-control form-select">
<option value="0" <#if 0==model.visible!>selected</#if> ><@locale code="apps.visible.hidden"/></option>
<option value="1" <#if 1==model.visible!>selected</#if> ><@locale code="apps.visible.all"/></option>
<option value="2" <#if 2==model.visible!>selected</#if> ><@locale code="apps.visible.internet"/></option>
<option value="3" <#if 3==model.visible!>selected</#if> ><@locale code="apps.visible.intranet"/></option>
</select>
</td>
<th><@locale code="apps.extendAttr"/></th>
<td>
<input class="button btn btn-primary mr-3 window" style="float: left;" id="addExtendAttrBtn" type="button"
value="<@locale code="button.text.select"/>"
wurl="<@base/>/apps/forwardAppsExtendAttr/${model.id!}"
wwidth="900"
wheight="650"
target="window">
</td>
</tr>
<tr>
<tr>
<th><@locale code="apps.isAdapter" /></th>
<th><@locale code="apps.isAdapter" /></th>
<td>
<td>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/oauth20/appAdd.ftl
浏览文件 @
d67bc93c
...
@@ -79,15 +79,15 @@
...
@@ -79,15 +79,15 @@
<td
>
<td
>
<table
class=
"hidetable"
style=
"width:100%;"
>
<table
class=
"hidetable"
style=
"width:100%;"
>
<tr>
<tr>
<td>
read
<input
type=
"checkbox"
id=
"scope_trust"
name=
"scope"
value=
"read"
checked
/></td>
<td>
read
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_trust"
name=
"scope"
value=
"read"
checked
/></td>
<td>
write
<input
type=
"checkbox"
id=
"scope_write"
name=
"scope"
value=
"write"
/></td>
<td>
write
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_write"
name=
"scope"
value=
"write"
/></td>
<td>
trust
<input
type=
"checkbox"
id=
"scope_trust"
name=
"scope"
value=
"trust"
/></td>
<td>
trust
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_trust"
name=
"scope"
value=
"trust"
/></td>
<td>
openid
<input
type=
"checkbox"
id=
"scope_openid"
name=
"scope"
value=
"openid"
/></td>
<td>
openid
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_openid"
name=
"scope"
value=
"openid"
/></td>
<td>
profile
<input
type=
"checkbox"
id=
"scope_profile"
name=
"scope"
value=
"profile"
/></td>
<td>
profile
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_profile"
name=
"scope"
value=
"profile"
/></td>
<td>
email
<input
type=
"checkbox"
id=
"scope_email"
name=
"scope"
value=
"email"
/></td>
<td>
email
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_email"
name=
"scope"
value=
"email"
/></td>
<td>
phone
<input
type=
"checkbox"
id=
"scope_phone"
name=
"scope"
value=
"phone"
/></td>
<td>
phone
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_phone"
name=
"scope"
value=
"phone"
/></td>
<td>
address
<input
type=
"checkbox"
id=
"scope_address"
name=
"scope"
value=
"address"
/></td>
<td>
address
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_address"
name=
"scope"
value=
"address"
/></td>
<td>
all
<input
type=
"checkbox"
id=
"scope_all"
name=
"scope"
value=
"all"
/></td>
<td>
all
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_all"
name=
"scope"
value=
"all"
/></td>
</tr>
</tr>
</table>
</table>
...
@@ -98,13 +98,13 @@
...
@@ -98,13 +98,13 @@
<td
colspan=
"3"
>
<td
colspan=
"3"
>
<table
class=
"hidetable"
style=
"width:100%;"
>
<table
class=
"hidetable"
style=
"width:100%;"
>
<tr>
<tr>
<td>
authorization_code
| code
<input
type=
"checkbox"
id=
"grantTypes_authorization_code"
name=
"authorizedGrantTypes"
value=
"authorization_code"
checked
/></td>
<td>
authorization_code
<input
class=
"form-check-input"
type=
"checkbox"
id=
"grantTypes_authorization_code"
name=
"authorizedGrantTypes"
value=
"authorization_code"
checked
/></td>
<td>
password
<input
type=
"checkbox"
id=
"grantTypes_trust"
name=
"authorizedGrantTypes"
value=
"password"
/></td>
<td>
password
<input
class=
"form-check-input"
type=
"checkbox"
id=
"grantTypes_trust"
name=
"authorizedGrantTypes"
value=
"password"
/></td>
<td>
implicit
<input
type=
"checkbox"
id=
"grantTypes_implicit"
name=
"authorizedGrantTypes"
value=
"implicit"
/></td>
<td>
implicit
<input
class=
"form-check-input"
type=
"checkbox"
id=
"grantTypes_implicit"
name=
"authorizedGrantTypes"
value=
"implicit"
/></td>
<td>
client_credentials
<input
type=
"checkbox"
id=
"grantTypes_client_credentials"
name=
"authorizedGrantTypes"
value=
"client_credentials"
/></td>
<td>
client_credentials
<input
class=
"form-check-input"
type=
"checkbox"
id=
"grantTypes_client_credentials"
name=
"authorizedGrantTypes"
value=
"client_credentials"
/></td>
<td>
refresh_token
<input
type=
"checkbox"
id=
"grantTypes_refresh_token"
name=
"authorizedGrantTypes"
value=
"refresh_token"
/></td>
<td>
refresh_token
<input
class=
"form-check-input"
type=
"checkbox"
id=
"grantTypes_refresh_token"
name=
"authorizedGrantTypes"
value=
"refresh_token"
/></td>
<td>
id_token
<input
type=
"checkbox"
id=
"grantTypes_id_token"
name=
"authorizedGrantTypes"
value=
"id_token"
/></td>
<td>
id_token
<input
class=
"form-check-input"
type=
"checkbox"
id=
"grantTypes_id_token"
name=
"authorizedGrantTypes"
value=
"id_token"
/></td>
<td>
token
<input
type=
"checkbox"
id=
"grantTypes_token"
name=
"authorizedGrantTypes"
value=
"token"
/></td>
<td>
token
<input
class=
"form-check-input"
type=
"checkbox"
id=
"grantTypes_token"
name=
"authorizedGrantTypes"
value=
"token"
/></td>
</tr>
</tr>
</table>
</table>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/oauth20/appUpdate.ftl
浏览文件 @
d67bc93c
...
@@ -66,16 +66,15 @@
...
@@ -66,16 +66,15 @@
<td
>
<td
>
<table
class=
"hidetable"
style=
"width:100%;"
>
<table
class=
"hidetable"
style=
"width:100%;"
>
<tr>
<tr>
<td>
read
<input
type=
"checkbox"
id=
"scope_trust"
name=
"scope"
value=
"read"
<
#if
model.scope
?
contains
("
read
")
>
checked
</
#
if>
/>
</td>
<td>
read
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_trust"
name=
"scope"
value=
"read"
<
#if
model.scope
?
contains
("
read
")
>
checked
</
#
if>
/>
</td>
<td>
write
<input
type=
"checkbox"
id=
"scope_write"
name=
"scope"
value=
"write"
<
#if
model.scope
?
contains
('
write
')
>
checked
</
#
if>
/>
</td>
<td>
write
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_write"
name=
"scope"
value=
"write"
<
#if
model.scope
?
contains
('
write
')
>
checked
</
#
if>
/>
</td>
<td>
trust
<input
type=
"checkbox"
id=
"scope_trust"
name=
"scope"
value=
"trust"
<
#if
model.scope
?
contains
('
trust
')
>
checked
</
#
if>
/>
</td>
<td>
trust
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_trust"
name=
"scope"
value=
"trust"
<
#if
model.scope
?
contains
('
trust
')
>
checked
</
#
if>
/>
</td>
<td>
openid
<input
type=
"checkbox"
id=
"scope_openid"
name=
"scope"
value=
"openid"
<
#if
model.scope
?
contains
('
openid
')
>
checked
</
#
if>
/>
</td>
<td>
openid
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_openid"
name=
"scope"
value=
"openid"
<
#if
model.scope
?
contains
('
openid
')
>
checked
</
#
if>
/>
</td>
<td>
profile
<input
type=
"checkbox"
id=
"scope_profile"
name=
"scope"
value=
"profile"
<
#if
model.scope
?
contains
('
profile
')
>
checked
</
#
if>
/>
</td>
<td>
profile
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_profile"
name=
"scope"
value=
"profile"
<
#if
model.scope
?
contains
('
profile
')
>
checked
</
#
if>
/>
</td>
<td>
email
<input
type=
"checkbox"
id=
"scope_email"
name=
"scope"
value=
"email"
<
#if
model.scope
?
contains
('
email
')
>
checked
</
#
if>
/>
</td>
<td>
email
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_email"
name=
"scope"
value=
"email"
<
#if
model.scope
?
contains
('
email
')
>
checked
</
#
if>
/>
</td>
<td>
phone
<input
type=
"checkbox"
id=
"scope_phone"
name=
"scope"
value=
"phone"
<
#if
model.scope
?
contains
('
phone
')
>
checked
</
#
if>
/>
</td>
<td>
phone
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_phone"
name=
"scope"
value=
"phone"
<
#if
model.scope
?
contains
('
phone
')
>
checked
</
#
if>
/>
</td>
<td>
address
<input
type=
"checkbox"
id=
"scope_address"
name=
"scope"
value=
"address"
<
#if
model.scope
?
contains
('
address
')
>
checked
</
#
if>
/>
</td>
<td>
address
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_address"
name=
"scope"
value=
"address"
<
#if
model.scope
?
contains
('
address
')
>
checked
</
#
if>
/>
</td>
<td>
all
<input
type=
"checkbox"
id=
"scope_all"
name=
"scope"
value=
"all"
<
#if
model.scope
?
contains
('
all
')
>
checked
</
#
if>
/>
</td>
<td>
all
<input
class=
"form-check-input"
type=
"checkbox"
id=
"scope_all"
name=
"scope"
value=
"all"
<
#if
model.scope
?
contains
('
all
')
>
checked
</
#
if>
/>
</td>
<td><b
class=
"orange"
></b><label
for=
"scope"
></label></td>
</tr>
</tr>
</table>
</table>
</td>
</td>
...
@@ -85,13 +84,13 @@
...
@@ -85,13 +84,13 @@
<td
colspan=
"3"
>
<td
colspan=
"3"
>
<table
class=
"hidetable"
style=
"width:100%;"
>
<table
class=
"hidetable"
style=
"width:100%;"
>
<tr>
<tr>
<td>
authorization_code
| code
<input
<
#if
model.authorizedGrantTypes
?
contains
('
authorization_code
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_authorization_code" name="authorizedGrantTypes" value="authorization_code"/>
</td>
<td>
authorization_code
<input
class=
"form-check-input"
<
#if
model.authorizedGrantTypes
?
contains
('
authorization_code
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_authorization_code" name="authorizedGrantTypes" value="authorization_code"/>
</td>
<td>
password
<input
<
#if
model.authorizedGrantTypes
?
contains
('
password
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_trust" name="authorizedGrantTypes" value="password"/>
</td>
<td>
password
<input
class=
"form-check-input"
<
#if
model.authorizedGrantTypes
?
contains
('
password
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_trust" name="authorizedGrantTypes" value="password"/>
</td>
<td>
implicit
<input
<
#if
model.authorizedGrantTypes
?
contains
('
implicit
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_implicit" name="authorizedGrantTypes" value="implicit"/>
</td>
<td>
implicit
<input
class=
"form-check-input"
<
#if
model.authorizedGrantTypes
?
contains
('
implicit
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_implicit" name="authorizedGrantTypes" value="implicit"/>
</td>
<td>
client_credentials
<input
<
#if
model.authorizedGrantTypes
?
contains
('
client_credentials
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_client_credentials" name="authorizedGrantTypes" value="client_credentials"/>
</td>
<td>
client_credentials
<input
class=
"form-check-input"
<
#if
model.authorizedGrantTypes
?
contains
('
client_credentials
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_client_credentials" name="authorizedGrantTypes" value="client_credentials"/>
</td>
<td>
refresh_token
<input
<
#if
model.authorizedGrantTypes
?
contains
('
refresh_token
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_refresh_token" name="authorizedGrantTypes" value="refresh_token"/>
</td>
<td>
refresh_token
<input
class=
"form-check-input"
<
#if
model.authorizedGrantTypes
?
contains
('
refresh_token
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_refresh_token" name="authorizedGrantTypes" value="refresh_token"/>
</td>
<td>
id_token
<input
<
#if
model.authorizedGrantTypes
?
contains
('
id_token
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_id_token" name="authorizedGrantTypes" value="id_token"/>
</td>
<td>
id_token
<input
class=
"form-check-input"
<
#if
model.authorizedGrantTypes
?
contains
('
id_token
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_id_token" name="authorizedGrantTypes" value="id_token"/>
</td>
<td>
token
<input
<
#if
model.authorizedGrantTypes
?
contains
(
'
token
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_token" name="authorizedGrantTypes" value="token"/>
</td>
<td>
token
<input
class=
"form-check-input"
<
#if
model.authorizedGrantTypes
?
contains
(
'
token
')
>
checked
</
#
if>
type="checkbox" id="grantTypes_token" name="authorizedGrantTypes" value="token"/>
</td>
</tr>
</tr>
</table>
</table>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/saml20/appAdd.ftl
浏览文件 @
d67bc93c
...
@@ -147,7 +147,10 @@
...
@@ -147,7 +147,10 @@
</td>
</td>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.saml.validityInterval"
/></th>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.saml.validityInterval"
/></th>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<input
type=
"text"
class=
"form-control"
id=
"validityInterval"
name=
"validityInterval"
title=
""
value=
"15"
required=
""
/>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control"
id=
"validityInterval"
name=
"validityInterval"
title=
""
value=
"15"
required=
""
/>
<span
class=
"input-group-text"
>
Seconds
</span>
</div>
</td>
</td>
</tr>
</tr>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/saml20/appUpdate.ftl
浏览文件 @
d67bc93c
...
@@ -148,7 +148,10 @@
...
@@ -148,7 +148,10 @@
<th><
@
locale
code=
"apps.saml.validityInterval"
/></th>
<th><
@
locale
code=
"apps.saml.validityInterval"
/></th>
<td
>
<td
>
<input
type=
"text"
class=
"form-control"
id=
"validityInterval"
name=
"validityInterval"
title=
""
value=
"${model.validityInterval}"
/>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control"
id=
"validityInterval"
name=
"validityInterval"
title=
""
value=
"${model.validityInterval}"
/>
<span
class=
"input-group-text"
>
Seconds
</span>
</div>
</td>
</td>
</tr>
</tr>
...
@@ -190,15 +193,18 @@
...
@@ -190,15 +193,18 @@
</tr>
</tr>
<tr>
<tr>
<th><
@
locale
code=
"apps.saml.certIssuer"
/></th>
<th><
@
locale
code=
"apps.saml.certIssuer"
/></th>
<td>
${model.certIssuer!}
<td>
<input
type=
"text"
readonly
class=
"form-control"
title=
""
value=
'${model.certIssuer!}'
/>
</td>
</td>
<th><
@
locale
code=
"apps.saml.certExpiration"
/></th>
<th><
@
locale
code=
"apps.saml.certExpiration"
/></th>
<td>
${model.certExpiration!}
<td>
<input
type=
"text"
readonly
class=
"form-control"
title=
""
value=
'${model.certExpiration!}'
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<th><
@
locale
code=
"apps.saml.certSubject"
/></th>
<th><
@
locale
code=
"apps.saml.certSubject"
/></th>
<td
colspan =
3
>
${model.certSubject!}
<td
colspan =
3
>
<input
type=
"text"
readonly
class=
"form-control"
title=
""
value=
'${model.certSubject!}'
/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/tokenbased/appAdd.ftl
浏览文件 @
d67bc93c
...
@@ -4,6 +4,18 @@
...
@@ -4,6 +4,18 @@
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
header.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../
appCommonHead.ftl
"
/>
<
#include
"../
appCommonHead.ftl
"
/>
<
#setting
number_format=
"#"
>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
$
(
"
#tokenbased_algorithm
"
).
change
(
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/
"
+
$
(
this
).
val
(),
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#algorithmKey
"
).
val
(
data
+
""
);
});
});
});
//-->
</script>
</head>
</head>
<body>
<body>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -50,18 +62,16 @@
...
@@ -50,18 +62,16 @@
<tr>
<tr>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.tokenbased.algorithm"
/></th>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.tokenbased.algorithm"
/></th>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<select
id=
"algorithm"
name=
"algorithm"
class=
"form-control form-select"
>
<select
id=
"
tokenbased_
algorithm"
name=
"algorithm"
class=
"form-control form-select"
>
<option
value=
"DES"
>
DES
</option>
<option
value=
"DES"
>
DES
</option>
<option
value=
"DESede"
>
DESede
</option>
<option
value=
"DESede"
>
DESede
</option>
<option
value=
"Blowfish"
>
Blowfish
</option>
<option
value=
"Blowfish"
>
Blowfish
</option>
<option
value=
"AES"
selected
>
AES
</option>
<option
value=
"AES"
selected
>
AES
</option>
</select>
</select>
<b
class=
"orange"
>
*
</b><label
for=
"algorithm"
></label>
</td>
</td>
<th
width=
"140px"
><
@
locale
code=
"apps.tokenbased.algorithmKey"
/></th>
<th
width=
"140px"
><
@
locale
code=
"apps.tokenbased.algorithmKey"
/></th>
<td
width=
"340px"
>
<td
width=
"340px"
>
<span
id=
"algorithmKey_text"
>
${model.algorithmKey!}
</span>
<input
type=
"text"
class=
"form-control"
id=
"algorithmKey"
name=
"algorithmKey"
title=
""
value=
"${model.algorithmKey!}"
/>
<input
type=
"hidden"
class=
"form-control"
id=
"algorithmKey"
name=
"algorithmKey"
title=
""
value=
"${model.algorithmKey!}"
/>
</td>
</td>
</tr>
</tr>
...
@@ -72,7 +82,10 @@
...
@@ -72,7 +82,10 @@
</td>
</td>
<th><
@
locale
code=
"apps.tokenbased.expires"
/></th>
<th><
@
locale
code=
"apps.tokenbased.expires"
/></th>
<td>
<td>
<input
type=
"text"
class=
"form-control"
id=
"expires"
name=
"expires"
title=
""
value=
"1"
required=
""
/>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control"
id=
"expires"
name=
"expires"
title=
""
value=
"1"
required=
""
/>
<span
class=
"input-group-text"
>
Minutes
</span>
</div>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/apps/tokenbased/appUpdate.ftl
浏览文件 @
d67bc93c
...
@@ -5,6 +5,17 @@
...
@@ -5,6 +5,17 @@
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../../
layout
/
common.cssjs.ftl
"
/>
<
#include
"../
appCommonHead.ftl
"
/>
<
#include
"../
appCommonHead.ftl
"
/>
<
#setting
number_format=
"#"
>
<
#setting
number_format=
"#"
>
<script
type=
"text/javascript"
>
<!--
$
(
function
(){
$
(
"
#tokenbased_algorithm
"
).
change
(
function
(){
$
.
post
(
"
<@base/>/apps/generate/secret/
"
+
$
(
this
).
val
(),
{
_method
:
"
post
"
,
currTime
:(
new
Date
()).
getTime
()},
function
(
data
)
{
$
(
"
#algorithmKey
"
).
val
(
data
+
""
);
});
});
});
//-->
</script>
</head>
</head>
<body>
<body>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -53,7 +64,7 @@
...
@@ -53,7 +64,7 @@
<tr>
<tr>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.tokenbased.algorithm"
/></th>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.tokenbased.algorithm"
/></th>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<select
id=
"algorithm"
name=
"algorithm"
class=
"form-control form-select"
>
<select
id=
"
tokenbased_
algorithm"
name=
"algorithm"
class=
"form-control form-select"
>
<option
value=
"DES"
<
#if
'
DES
'==
model.algorithm
>
selected
</
#
if>
>DES
</option>
<option
value=
"DES"
<
#if
'
DES
'==
model.algorithm
>
selected
</
#
if>
>DES
</option>
<option
value=
"DESede"
<
#if
'
DESede
'==
model.algorithm
>
selected
</
#
if>
>DESede
</option>
<option
value=
"DESede"
<
#if
'
DESede
'==
model.algorithm
>
selected
</
#
if>
>DESede
</option>
<option
value=
"Blowfish"
<
#if
'
Blowfish
'==
model.algorithm
>
selected
</
#
if>
>Blowfish
</option>
<option
value=
"Blowfish"
<
#if
'
Blowfish
'==
model.algorithm
>
selected
</
#
if>
>Blowfish
</option>
...
@@ -62,8 +73,7 @@
...
@@ -62,8 +73,7 @@
</td>
</td>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.tokenbased.algorithmKey"
/></th>
<th
style=
"width:15%;"
><
@
locale
code=
"apps.tokenbased.algorithmKey"
/></th>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<span
id=
"algorithmKey_text"
>
${model.algorithmKey}
</span>
<input
type=
"text"
class=
"form-control"
id=
"algorithmKey"
name=
"algorithmKey"
title=
""
value=
"${model.algorithmKey}"
/>
<input
type=
"hidden"
id=
"algorithmKey"
name=
"algorithmKey"
title=
""
value=
"${model.algorithmKey}"
/>
</td>
</td>
</tr>
</tr>
...
@@ -74,7 +84,10 @@
...
@@ -74,7 +84,10 @@
</td>
</td>
<th><
@
locale
code=
"apps.tokenbased.expires"
/></th>
<th><
@
locale
code=
"apps.tokenbased.expires"
/></th>
<td>
<td>
<input
type=
"text"
class=
"form-control"
id=
"expires"
name=
"expires"
title=
""
value=
"${model.expires}"
required=
""
/>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control"
id=
"expires"
name=
"expires"
title=
""
value=
"${model.expires}"
required=
""
/>
<span
class=
"input-group-text"
>
Minutes
</span>
</div>
</td>
</td>
</tr>
</tr>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/orgs/orgsAdd.ftl
浏览文件 @
d67bc93c
...
@@ -38,96 +38,96 @@ $(function () {
...
@@ -38,96 +38,96 @@ $(function () {
<td></td>
<td></td>
</tr>
</tr>
<tr
>
<tr
>
<t
d
>
<
@
locale
code=
"org.pid"
/>
:
</td
>
<t
h
>
<
@
locale
code=
"org.pid"
/></th
>
<td><input
type=
"text"
id=
"pId"
name=
"parentId"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"pId"
name=
"parentId"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<th
width=
"200px"
>
<
@
locale
code=
"org.pname"
/>
:
</td>
<th
width=
"200px"
>
<
@
locale
code=
"org.pname"
/></td>
<td><input
type=
"text"
id=
"pName"
name=
"parentName"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"pName"
name=
"parentName"
class=
"form-control"
/></td>
</tr>
</tr>
<tr
>
<tr
>
<t
d
>
<
@
locale
code=
"org.id"
/>
:
</td
>
<t
h
>
<
@
locale
code=
"org.id"
/></th
>
<td><input
type=
"text"
id=
"id"
name=
"id"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"id"
name=
"id"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<t
d
>
<
@
locale
code=
"org.name"
/>
:
</td
>
<t
h
>
<
@
locale
code=
"org.name"
/></th
>
<td><input
type=
"text"
id=
"name"
name=
"name"
required=
""
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"name"
name=
"name"
required=
""
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.fullname"
/>
:
</td>
<td
>
<
@
locale
code=
"org.fullname"
/></td>
<td><input
type=
"text"
id=
"fullName"
name=
"fullName"
required=
""
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"fullName"
name=
"fullName"
required=
""
class=
"form-control"
/></td>
</tr>
</tr>
<tr
>
<tr
>
<td
>
<
@
locale
code=
"org.xpath"
/>
:
<td
>
<
@
locale
code=
"org.xpath"
/>
</th>
</th>
<td><input
type=
"text"
id=
"xPath"
name=
"codePath"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"xPath"
name=
"codePath"
class=
"form-control"
/></td>
</tr>
</tr>
<tr
>
<tr
>
<td
>
<
@
locale
code=
"org.xnamepath"
/>
:
<td
>
<
@
locale
code=
"org.xnamepath"
/>
</th>
</th>
<td><input
type=
"text"
id=
"xNamePath"
name=
"namePath"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"xNamePath"
name=
"namePath"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.type"
/>
:
</td>
<td
>
<
@
locale
code=
"org.type"
/></td>
<td><input
type=
"text"
id=
"type"
name=
"type"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"type"
name=
"type"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.division"
/>
:
</td>
<td
>
<
@
locale
code=
"org.division"
/></td>
<td><input
type=
"text"
id=
"division"
name=
"division"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"division"
name=
"division"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<t
h
>
<t
d
>
<
@
locale
code=
"org.sortorder"
/>
:
<
@
locale
code=
"org.sortorder"
/>
</t
h
>
</t
d
>
<td><input
type=
"text"
id=
"sortIndex"
name=
"sortIndex"
class=
"form-control"
value=
'1'
/></td>
<td><input
type=
"text"
id=
"sortIndex"
name=
"sortIndex"
class=
"form-control"
value=
'1'
/></td>
</tr>
</tr>
<tr>
<tr>
<t
h
><
@
locale
code=
"org.description"
/>
:
</td>
<t
d
><
@
locale
code=
"org.description"
/>
</td>
<td><input
type=
"text"
id=
"description"
name=
"description"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"description"
name=
"description"
class=
"form-control"
/></td>
</tr>
</tr>
</table>
</table>
<table
id=
"div_switch_extra"
class=
"table table-bordered"
style=
"display:none"
>
<table
id=
"div_switch_extra"
class=
"table table-bordered"
style=
"display:none"
>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.contact"
/>
:
</td>
<td
>
<
@
locale
code=
"org.contact"
/></td>
<td><input
type=
"text"
id=
"contact"
name=
"contact"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"contact"
name=
"contact"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<t
h
width=
"200px"
>
<
@
locale
code=
"org.phone"
/>
:
</td>
<t
d
width=
"200px"
>
<
@
locale
code=
"org.phone"
/>
</td>
<td><input
type=
"text"
id=
"phone"
name=
"phone"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"phone"
name=
"phone"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.email"
/>
:
</td>
<td
>
<
@
locale
code=
"org.email"
/></td>
<td><input
type=
"text"
id=
"email"
name=
"email"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"email"
name=
"email"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.fax"
/>
:
</td>
<td
>
<
@
locale
code=
"org.fax"
/></td>
<td><input
type=
"text"
id=
"fax"
name=
"fax"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"fax"
name=
"fax"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.country"
/>
:
</td>
<td
>
<
@
locale
code=
"org.country"
/></td>
<td><input
type=
"text"
id=
"country"
name=
"country"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"country"
name=
"country"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.region"
/>
:
</td>
<td
>
<
@
locale
code=
"org.region"
/></td>
<td><input
type=
"text"
id=
"region"
name=
"region"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"region"
name=
"region"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.locality"
/>
:
</td>
<td
>
<
@
locale
code=
"org.locality"
/></td>
<td><input
type=
"text"
id=
"locality"
name=
"locality"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"locality"
name=
"locality"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.street"
/>
:
</td>
<td
>
<
@
locale
code=
"org.street"
/></td>
<td><input
type=
"text"
id=
"street"
name=
"street"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"street"
name=
"street"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.address"
/>
:
</td>
<td
>
<
@
locale
code=
"org.address"
/></td>
<td><input
type=
"text"
id=
"address"
name=
"address"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"address"
name=
"address"
class=
"form-control"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.postalcode"
/>
:
</td>
<td
>
<
@
locale
code=
"org.postalcode"
/></td>
<td><input
type=
"text"
id=
"postalCode"
name=
"postalCode"
class=
"form-control"
/></td>
<td><input
type=
"text"
id=
"postalCode"
name=
"postalCode"
class=
"form-control"
/></td>
</tr>
</tr>
</table>
</table>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/orgs/orgsUpdate.ftl
浏览文件 @
d67bc93c
...
@@ -37,96 +37,96 @@ $(function () {
...
@@ -37,96 +37,96 @@ $(function () {
<td></td>
<td></td>
</tr>
</tr>
<tr
>
<tr
>
<t
d
>
<
@
locale
code=
"org.pid"
/>
:
</td
>
<t
h
>
<
@
locale
code=
"org.pid"
/></th
>
<td><input
type=
"text"
readonly
id=
"pId"
name=
"parentId"
class=
"form-control"
value=
"${model.parentId!}"
/></td>
<td><input
type=
"text"
readonly
id=
"pId"
name=
"parentId"
class=
"form-control"
value=
"${model.parentId!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<th
width=
"200px"
>
<
@
locale
code=
"org.pname"
/>
:
</td>
<th
width=
"200px"
>
<
@
locale
code=
"org.pname"
/></td>
<td><input
type=
"text"
readonly
id=
"pName"
name=
"parentName"
class=
"form-control"
value=
"${model.parentName!}"
/></td>
<td><input
type=
"text"
readonly
id=
"pName"
name=
"parentName"
class=
"form-control"
value=
"${model.parentName!}"
/></td>
</tr>
</tr>
<tr
>
<tr
>
<t
d
>
<
@
locale
code=
"org.id"
/>
:
</td
>
<t
h
>
<
@
locale
code=
"org.id"
/></th
>
<td><input
type=
"text"
id=
"id"
name=
"id"
required=
""
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>
<tr>
<tr>
<t
d
>
<
@
locale
code=
"org.name"
/>
:
</td
>
<t
h
>
<
@
locale
code=
"org.name"
/></th
>
<td><input
type=
"text"
id=
"name"
name=
"name"
required=
""
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>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.fullname"
/>
:
</td>
<td
>
<
@
locale
code=
"org.fullname"
/></td>
<td><input
type=
"text"
id=
"fullName"
name=
"fullName"
required=
""
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>
<tr
>
<tr
>
<td
>
<
@
locale
code=
"org.xpath"
/>
:
<td
>
<
@
locale
code=
"org.xpath"
/>
</th>
</th>
<td><input
type=
"text"
id=
"xPath"
name=
"codePath"
class=
"form-control"
value=
"${model.codePath!}"
/></td>
<td><input
type=
"text"
id=
"xPath"
name=
"codePath"
class=
"form-control"
value=
"${model.codePath!}"
/></td>
</tr>
</tr>
<tr
>
<tr
>
<td
>
<
@
locale
code=
"org.xnamepath"
/>
:
<td
>
<
@
locale
code=
"org.xnamepath"
/>
</th>
</th>
<td><input
type=
"text"
id=
"xNamePath"
name=
"namePath"
class=
"form-control"
value=
"${model.namePath!}"
/></td>
<td><input
type=
"text"
id=
"xNamePath"
name=
"namePath"
class=
"form-control"
value=
"${model.namePath!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.type"
/>
:
</td>
<td
>
<
@
locale
code=
"org.type"
/></td>
<td><input
type=
"text"
id=
"type"
name=
"type"
class=
"form-control"
value=
"${model.type!}"
/></td>
<td><input
type=
"text"
id=
"type"
name=
"type"
class=
"form-control"
value=
"${model.type!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.division"
/>
:
</td>
<td
>
<
@
locale
code=
"org.division"
/></td>
<td><input
type=
"text"
id=
"division"
name=
"division"
class=
"form-control"
value=
"${model.division!}"
/></td>
<td><input
type=
"text"
id=
"division"
name=
"division"
class=
"form-control"
value=
"${model.division!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<t
h
>
<t
d
>
<
@
locale
code=
"org.sortorder"
/>
:
<
@
locale
code=
"org.sortorder"
/>
</t
h
>
</t
d
>
<td><input
type=
"text"
id=
"sortOrder"
name=
"sortIndex"
class=
"form-control"
value=
"${model.sortIndex!}"
/></td>
<td><input
type=
"text"
id=
"sortOrder"
name=
"sortIndex"
class=
"form-control"
value=
"${model.sortIndex!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<t
h
><
@
locale
code=
"org.description"
/>
:
</td>
<t
d
><
@
locale
code=
"org.description"
/>
</td>
<td><input
type=
"text"
id=
"description"
name=
"description"
class=
"form-control"
value=
"${model.description!}"
/></td>
<td><input
type=
"text"
id=
"description"
name=
"description"
class=
"form-control"
value=
"${model.description!}"
/></td>
</tr>
</tr>
</table>
</table>
<table
id=
"div_switch_extra"
class=
"table table-bordered"
style=
"display:none"
>
<table
id=
"div_switch_extra"
class=
"table table-bordered"
style=
"display:none"
>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.contact"
/>
:
</td>
<td
>
<
@
locale
code=
"org.contact"
/></td>
<td><input
type=
"text"
id=
"contact"
name=
"contact"
class=
"form-control"
value=
"${model.contact!}"
/></td>
<td><input
type=
"text"
id=
"contact"
name=
"contact"
class=
"form-control"
value=
"${model.contact!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<t
h
width=
"200px"
>
<
@
locale
code=
"org.phone"
/>
:
</td>
<t
d
width=
"200px"
>
<
@
locale
code=
"org.phone"
/>
</td>
<td><input
type=
"text"
id=
"phone"
name=
"phone"
class=
"form-control"
value=
"${model.phone!}"
/></td>
<td><input
type=
"text"
id=
"phone"
name=
"phone"
class=
"form-control"
value=
"${model.phone!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.email"
/>
:
</td>
<td
>
<
@
locale
code=
"org.email"
/></td>
<td><input
type=
"text"
id=
"email"
name=
"email"
class=
"form-control"
value=
"${model.email!}"
/></td>
<td><input
type=
"text"
id=
"email"
name=
"email"
class=
"form-control"
value=
"${model.email!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.fax"
/>
:
</td>
<td
>
<
@
locale
code=
"org.fax"
/></td>
<td><input
type=
"text"
id=
"fax"
name=
"fax"
class=
"form-control"
value=
"${model.fax!}"
/></td>
<td><input
type=
"text"
id=
"fax"
name=
"fax"
class=
"form-control"
value=
"${model.fax!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.country"
/>
:
</td>
<td
>
<
@
locale
code=
"org.country"
/></td>
<td><input
type=
"text"
id=
"country"
name=
"country"
class=
"form-control"
value=
"${model.country!}"
/></td>
<td><input
type=
"text"
id=
"country"
name=
"country"
class=
"form-control"
value=
"${model.country!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.region"
/>
:
</td>
<td
>
<
@
locale
code=
"org.region"
/></td>
<td><input
type=
"text"
id=
"region"
name=
"region"
class=
"form-control"
value=
"${model.region!}"
/></td>
<td><input
type=
"text"
id=
"region"
name=
"region"
class=
"form-control"
value=
"${model.region!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.locality"
/>
:
</td>
<td
>
<
@
locale
code=
"org.locality"
/></td>
<td><input
type=
"text"
id=
"locality"
name=
"locality"
class=
"form-control"
value=
"${model.locality!}"
/></td>
<td><input
type=
"text"
id=
"locality"
name=
"locality"
class=
"form-control"
value=
"${model.locality!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.street"
/>
:
</td>
<td
>
<
@
locale
code=
"org.street"
/></td>
<td><input
type=
"text"
id=
"street"
name=
"street"
class=
"form-control"
value=
"${model.street!}"
/></td>
<td><input
type=
"text"
id=
"street"
name=
"street"
class=
"form-control"
value=
"${model.street!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.address"
/>
:
</td>
<td
>
<
@
locale
code=
"org.address"
/></td>
<td><input
type=
"text"
id=
"address"
name=
"address"
class=
"form-control"
value=
"${model.address!}"
/></td>
<td><input
type=
"text"
id=
"address"
name=
"address"
class=
"form-control"
value=
"${model.address!}"
/></td>
</tr>
</tr>
<tr>
<tr>
<td
>
<
@
locale
code=
"org.postalcode"
/>
:
</td>
<td
>
<
@
locale
code=
"org.postalcode"
/></td>
<td><input
type=
"text"
id=
"postalCode"
name=
"postalCode"
class=
"form-control"
value=
"${model.postalCode!}"
/></td>
<td><input
type=
"text"
id=
"postalCode"
name=
"postalCode"
class=
"form-control"
value=
"${model.postalCode!}"
/></td>
</tr>
</tr>
</table>
</table>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/userinfo/userAdd.ftl
浏览文件 @
d67bc93c
...
@@ -49,19 +49,19 @@
...
@@ -49,19 +49,19 @@
<table
id=
"div_table_switch_basic"
width=
"980"
class=
"table table-bordered"
>
<table
id=
"div_table_switch_basic"
width=
"980"
class=
"table table-bordered"
>
<tbody>
<tbody>
<tr>
<tr>
<t
d
style=
"width:15%;"
><
@
locale
code=
"userinfo.username"
/></td
>
<t
h
style=
"width:15%;"
><
@
locale
code=
"userinfo.username"
/></th
>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<input
type=
"hidden"
id=
"id"
name=
"id"
value=
""
/>
<input
type=
"hidden"
id=
"id"
name=
"id"
value=
""
/>
<input
type=
"hidden"
id=
"status"
name=
"status"
value=
"1"
/>
<input
type=
"hidden"
id=
"status"
name=
"status"
value=
"1"
/>
<input
class=
"form-control"
type=
"text"
required=
""
id=
"username"
name=
"username"
title=
""
value=
""
/>
<input
class=
"form-control"
type=
"text"
required=
""
id=
"username"
name=
"username"
title=
""
value=
""
/>
</td>
</td>
<t
d
style=
"width:15%;"
><
@
locale
code=
"login.text.password"
/></td
>
<t
h
style=
"width:15%;"
><
@
locale
code=
"login.text.password"
/></th
>
<t
d
style=
"width:35%;"
>
<t
h
style=
"width:35%;"
>
<div
class=
"input-group"
style=
"vertical-align middle;"
>
<div
class=
"input-group"
style=
"vertical-align middle;"
>
<input
class=
"form-control"
type=
"password"
required=
""
id=
"password"
name=
"password"
title=
""
value=
""
/>
<input
class=
"form-control"
type=
"password"
required=
""
id=
"password"
name=
"password"
title=
""
value=
""
/>
<i
class=
"passwdeye fa fa-eye-slash fa-2"
style=
"left: 290px; color: gainsboro;"
refid=
"password"
></i>
<i
class=
"passwdeye fa fa-eye-slash fa-2"
style=
"left: 290px; color: gainsboro;"
refid=
"password"
></i>
</div>
</div>
</t
d
>
</t
h
>
</tr>
</tr>
<tr>
<tr>
<td
style=
"width:15%;"
><
@
locale
code=
"userinfo.employeeNumber"
/></td>
<td
style=
"width:15%;"
><
@
locale
code=
"userinfo.employeeNumber"
/></td>
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
</tr>
</tr>
<tr>
<tr>
<t
d><
@
locale
code=
"userinfo.displayName"
/></td
>
<t
h><
@
locale
code=
"userinfo.displayName"
/></th
>
<td>
<td>
<input
class=
"form-control"
type=
"text"
required=
""
id=
"displayName"
name=
"displayName"
title=
""
value=
""
/>
<input
class=
"form-control"
type=
"text"
required=
""
id=
"displayName"
name=
"displayName"
title=
""
value=
""
/>
</td>
</td>
...
@@ -153,12 +153,6 @@
...
@@ -153,12 +153,6 @@
<input
class=
"form-control"
type=
"text"
id=
"birthDate"
name=
"birthDate"
title=
""
value=
""
/>
<input
class=
"form-control"
type=
"text"
id=
"birthDate"
name=
"birthDate"
title=
""
value=
""
/>
</td>
</td>
</tr>
</tr>
<tr>
<td
colspan=
"4"
>
</td>
</tr>
<tr>
<tr>
<td><
@
locale
code=
"userinfo.preferredLanguage"
/></td>
<td><
@
locale
code=
"userinfo.preferredLanguage"
/></td>
<td>
<td>
...
...
maxkey-webs/maxkey-web-mgt/src/main/resources/templates/views/userinfo/userUpdate.ftl
浏览文件 @
d67bc93c
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<table
id=
"div_table_switch_basic"
width=
"980"
class=
"table table-bordered"
>
<table
id=
"div_table_switch_basic"
width=
"980"
class=
"table table-bordered"
>
<tbody>
<tbody>
<tr>
<tr>
<t
d
style=
"width:15%;"
><
@
locale
code=
"userinfo.username"
/></td
>
<t
h
style=
"width:15%;"
><
@
locale
code=
"userinfo.username"
/></th
>
<td
style=
"width:35%;"
>
<td
style=
"width:35%;"
>
<input
type=
"hidden"
id=
"id"
name=
"id"
value=
"${model.id!"
"}"
/>
<input
type=
"hidden"
id=
"id"
name=
"id"
value=
"${model.id!"
"}"
/>
<input
class=
"form-control"
type=
"text"
id=
"username"
name=
"username"
title=
""
value=
"${model.username!"
"}"
/>
<input
class=
"form-control"
type=
"text"
id=
"username"
name=
"username"
title=
""
value=
"${model.username!"
"}"
/>
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
</tr>
</tr>
<tr>
<tr>
<t
d><
@
locale
code=
"userinfo.displayName"
/></td
>
<t
h><
@
locale
code=
"userinfo.displayName"
/></th
>
<td>
<td>
<input
class=
"form-control"
type=
"text"
id=
"displayName"
name=
"displayName"
title=
""
value=
"${model.displayName!"
"}"
/>
<input
class=
"form-control"
type=
"text"
id=
"displayName"
name=
"displayName"
title=
""
value=
"${model.displayName!"
"}"
/>
</td>
</td>
...
@@ -149,12 +149,6 @@
...
@@ -149,12 +149,6 @@
<input
class=
"form-control"
type=
"text"
id=
"birthDate"
name=
"birthDate"
title=
""
value=
"${model.birthDate!"
"}"
/>
<input
class=
"form-control"
type=
"text"
id=
"birthDate"
name=
"birthDate"
title=
""
value=
"${model.birthDate!"
"}"
/>
</td>
</td>
</tr>
</tr>
<tr>
<td
colspan=
"4"
>
</td>
</tr>
<tr>
<tr>
<td><
@
locale
code=
"userinfo.preferredLanguage"
/></td>
<td><
@
locale
code=
"userinfo.preferredLanguage"
/></td>
<td>
<td>
...
...
maxkey-webs/maxkey-web-resources/src/main/resources/static/javascript/platform.common.js
浏览文件 @
d67bc93c
...
@@ -45,7 +45,16 @@ $(function(){
...
@@ -45,7 +45,16 @@ $(function(){
}
}
});
});
//btn-collapse toggle collapseId
$
(
"
.btn-collapse
"
).
click
(
function
(){
$
(
$
(
this
).
attr
(
"
collapseId
"
)).
toggle
();
if
(
$
(
$
(
this
).
attr
(
"
collapseId
"
)).
is
(
"
:visible
"
)){
$
(
this
).
val
(
$
(
this
).
attr
(
"
collapseValue
"
));
}
else
{
$
(
this
).
val
(
$
(
this
).
attr
(
"
expandValue
"
));
}
});
/*side-nav-menu side navigation*/
/*side-nav-menu side navigation*/
if
(
$
(
'
#side-nav-menu
'
).
length
>
0
){
if
(
$
(
'
#side-nav-menu
'
).
length
>
0
){
$
(
'
#side-nav-menu
'
).
metisMenu
();
$
(
'
#side-nav-menu
'
).
metisMenu
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录