Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
MaxKey单点登录官方(MaxKeyTop)
MaxKey
提交
49d5008d
MaxKey
项目概览
MaxKey单点登录官方(MaxKeyTop)
/
MaxKey
大约 1 年 前同步成功
通知
76
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,发现更多精彩内容 >>
提交
49d5008d
编写于
1月 03, 2023
作者:
M
MaxKey
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复sms配置显示问题
上级
f4e36ad0
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
40 addition
and
30 deletion
+40
-30
maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.html
...pp/routes/config/sms-provider/sms-provider.component.html
+40
-30
未找到文件。
maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/config/sms-provider/sms-provider.component.html
浏览文件 @
49d5008d
...
...
@@ -4,11 +4,13 @@
<nz-form-item
style=
"display: none"
>
<nz-form-label
[nzMd]=
"6"
nzRequired
nzFor=
"id"
>
{{ 'mxk.text.id' | i18n }}
</nz-form-label>
<nz-form-control
[nzMd]=
"18"
nzErrorTip=
"The input is not valid id!"
>
<input
[(ngModel)]=
"form.model.id"
[disabled]=
"true"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"id"
id=
"id"
/>
<input
[(ngModel)]=
"form.model.id"
[disabled]=
"true"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"id"
id=
"id"
/>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"provider"
>
{{ 'mxk.smsprovider.provider' | i18n }}
</nz-form-label>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"provider"
>
{{ 'mxk.smsprovider.provider' | i18n
}}
</nz-form-label>
<nz-form-control
[nzSm]=
"18"
[nzMd]=
"18"
[nzXs]=
"36"
[nzXl]=
"48"
nzErrorTip=
"The input is not validminLength!"
>
<nz-select
[(ngModel)]=
"form.model.provider"
[ngModelOptions]=
"{ standalone: true }"
>
<nz-option
nzValue=
"aliyun"
nzLabel=
"{{ 'mxk.smsprovider.name.aliyun' | i18n }}"
></nz-option>
...
...
@@ -21,61 +23,69 @@
<nz-form-item>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"status"
>
{{ 'mxk.text.status' | i18n }}
</nz-form-label>
<nz-form-control
[nzSm]=
"14"
[nzXs]=
"24"
nzErrorTip=
"The input is not valid status!"
>
<nz-switch
[(ngModel)]=
"form.model.switch_status"
[ngModelOptions]=
"{ standalone: true }"
name=
"status"
[nzCheckedChildren]=
"checkedTemplate"
[nzUnCheckedChildren]=
"unCheckedTemplate"
></nz-switch>
<nz-switch
[(ngModel)]=
"form.model.switch_status"
[ngModelOptions]=
"{ standalone: true }"
name=
"status"
[nzCheckedChildren]=
"checkedTemplate"
[nzUnCheckedChildren]=
"unCheckedTemplate"
></nz-switch>
<ng-template
#checkedTemplate
><i
nz-icon
nzType=
"check"
></i></ng-template>
<ng-template
#unCheckedTemplate
><i
nz-icon
nzType=
"close"
></i></ng-template>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"message"
>
{{ 'mxk.smsprovider.message' | i18n }}
</nz-form-label>
<nz-form-item
*ngIf=
"form.model.provider != 'email'"
>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"message"
>
{{ 'mxk.smsprovider.message' | i18n
}}
</nz-form-label>
<nz-form-control
[nzSm]=
"18"
[nzXs]=
"24"
nzErrorTip=
"The input is not valid message!"
>
<input
[(ngModel)]=
"form.model.message"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"message"
id=
"message"
/>
<input
[(ngModel)]=
"form.model.message"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"message"
id=
"message"
/>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"templateId"
>
{{ 'mxk.smsprovider.templateId' | i18n }}
</nz-form-label>
<nz-form-item
*ngIf=
"form.model.provider != 'email'"
>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"templateId"
>
{{ 'mxk.smsprovider.templateId' | i18n
}}
</nz-form-label>
<nz-form-control
[nzSm]=
"18"
[nzXs]=
"24"
nzErrorTip=
"The input is not valid templateId!"
>
<input
[(ngModel)]=
"form.model.templateId"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"templateId"
id=
"templateId"
/>
<input
[(ngModel)]=
"form.model.templateId"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"templateId"
id=
"templateId"
/>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"appKey"
>
{{ 'mxk.smsprovider.appKey' | i18n }}
</nz-form-label>
<nz-form-item
*ngIf=
"form.model.provider != 'email'"
>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"appKey"
>
{{ 'mxk.smsprovider.appKey' | i18n
}}
</nz-form-label>
<nz-form-control
[nzSm]=
"18"
[nzXs]=
"24"
nzErrorTip=
"The input is not valid appKey!"
>
<input
[(ngModel)]=
"form.model.appKey"
[ngModelOptions]=
"{ standalone: true }"
nz-input
type=
"password"
name=
"appKey"
id=
"appKey"
/>
<input
[(ngModel)]=
"form.model.appKey"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"appKey"
id=
"appKey"
/>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"appSecret"
>
{{ 'mxk.smsprovider.appSecret' | i18n }}
</nz-form-label>
<nz-form-item
*ngIf=
"form.model.provider != 'email'"
>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"appSecret"
>
{{ 'mxk.smsprovider.appSecret' | i18n
}}
</nz-form-label>
<nz-form-control
[nzSm]=
"18"
[nzXs]=
"24"
nzErrorTip=
"The input is not valid appSecret!"
>
<input
[(ngModel)]=
"form.model.appSecret"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"appSecret"
id=
"appSecret"
/>
<input
[(ngModel)]=
"form.model.appSecret"
[ngModelOptions]=
"{ standalone: true }"
nz-input
type=
"password"
name=
"appSecret"
/>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"signName"
>
{{ 'mxk.smsprovider.signName' | i18n }}
</nz-form-label>
<nz-form-item
*ngIf=
"form.model.provider != 'email'"
>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzRequired
nzFor=
"signName"
>
{{ 'mxk.smsprovider.signName' | i18n
}}
</nz-form-label>
<nz-form-control
[nzSm]=
"18"
[nzXs]=
"24"
nzErrorTip=
"The input is not valid signName!"
>
<input
[(ngModel)]=
"form.model.signName"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"signName"
id=
"signName"
/>
<input
[(ngModel)]=
"form.model.signName"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"signName"
id=
"signName"
/>
</nz-form-control>
</nz-form-item>
<nz-form-item>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzFor=
"smsSdkAppId"
>
{{ 'mxk.smsprovider.smsSdkAppId' | i18n }}
</nz-form-label>
<nz-form-item
*ngIf=
"form.model.provider == 'tencentcloud' && form.model.provider != 'email'"
>
<nz-form-label
[nzSm]=
"6"
[nzXs]=
"24"
nzFor=
"smsSdkAppId"
>
{{ 'mxk.smsprovider.smsSdkAppId' | i18n
}}
</nz-form-label>
<nz-form-control
[nzSm]=
"18"
[nzXs]=
"24"
nzErrorTip=
"The input is not valid smsSdkAppId!"
>
<input
[(ngModel)]=
"form.model.smsSdkAppId"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"smsSdkAppId"
id=
"smsSdkAppId"
/>
<input
[(ngModel)]=
"form.model.smsSdkAppId"
[ngModelOptions]=
"{ standalone: true }"
nz-input
name=
"smsSdkAppId"
id=
"smsSdkAppId"
/>
</nz-form-control>
</nz-form-item>
<nz-form-item
style=
"width: 100%"
>
<nz-form-control
[nzOffset]=
"7"
[nzSpan]=
"12"
>
<button
nz-button
nzType=
"primary"
type=
"submit"
[nzLoading]=
"form.submitting"
>
提交
</button>
<nz-form-control
[nzOffset]=
"10"
[nzSpan]=
"8"
>
<button
nz-button
nzType=
"primary"
type=
"submit"
[nzLoading]=
"form.submitting"
>
{{ 'mxk.text.submit' | i18n
}}
</button>
</nz-form-control>
</nz-form-item>
</form>
</nz-card>
</nz-card>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录