dashboard-shell-shell 3.0.5-test.6 → 3.0.5-test.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/brand/csp/favicon.png +0 -0
- package/assets/brand/harvester/favicon.png +0 -0
- package/assets/brand/suse/favicon.png +0 -0
- package/assets/icons/demo.css +539 -0
- package/assets/icons/demo.css:Zone.Identifier +0 -0
- package/assets/icons/demo_index.html +1131 -0
- package/assets/icons/demo_index.html:Zone.Identifier +0 -0
- package/assets/icons/iconfont.css +219 -0
- package/assets/icons/iconfont.css:Zone.Identifier +0 -0
- package/assets/icons/iconfont.js +1 -0
- package/assets/icons/iconfont.js:Zone.Identifier +0 -0
- package/assets/icons/iconfont.json +324 -0
- package/assets/icons/iconfont.json:Zone.Identifier +0 -0
- package/assets/icons/iconfont.ttf +0 -0
- package/assets/icons/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff +0 -0
- package/assets/icons/iconfont.woff2 +0 -0
- package/assets/icons/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/icons/iconfont.woff:Zone.Identifier +0 -0
- package/assets/iconsNew/demo.css +539 -0
- package/assets/iconsNew/demo.css:Zone.Identifier +0 -0
- package/assets/iconsNew/demo_index.html +303 -0
- package/assets/iconsNew/demo_index.html:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.css +43 -0
- package/assets/iconsNew/iconfont.css:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.js +1 -0
- package/assets/iconsNew/iconfont.js:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.json +44 -0
- package/assets/iconsNew/iconfont.json:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.ttf +0 -0
- package/assets/iconsNew/iconfont.ttf:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.woff +0 -0
- package/assets/iconsNew/iconfont.woff2 +0 -0
- package/assets/iconsNew/iconfont.woff2:Zone.Identifier +0 -0
- package/assets/iconsNew/iconfont.woff:Zone.Identifier +0 -0
- package/assets/images/API.svg +3 -0
- package/assets/images/action.svg +6 -0
- package/assets/images/login/password.svg +20 -0
- package/assets/images/login/user.svg +6 -0
- package/assets/images/login-bg.png +0 -0
- package/assets/images/login-left.png +0 -0
- package/assets/images/login-logo.svg +44 -0
- package/assets/images/logo.png +0 -0
- package/assets/images/logo.svg +47 -0
- package/assets/images/pl/dark/logo.png +0 -0
- package/assets/images/pl/half-logo.svg +2 -23
- package/assets/images/pl/harvester.png +0 -0
- package/assets/images/pl/logo.png +0 -0
- package/assets/images/promp-yellow.svg +5 -0
- package/assets/images/user.png +0 -0
- package/assets/styles/all.scss +83 -0
- package/assets/styles/app.scss +5 -0
- package/assets/styles/base/_basic.scss +2 -2
- package/assets/styles/base/_helpers.scss +1 -1
- package/assets/styles/base/_mixins.scss +1 -1
- package/assets/styles/base/_typography.scss +2 -1
- package/assets/styles/base/_variables.scss +14 -7
- package/assets/styles/fonts/_icons.scss +3 -2
- package/assets/styles/global/_button.scss +44 -26
- package/assets/styles/global/_columns.scss +3 -1
- package/assets/styles/global/_form.scss +46 -13
- package/assets/styles/global/_labeled-input.scss +54 -26
- package/assets/styles/global/_layout.scss +8 -3
- package/assets/styles/global/_select.scss +25 -17
- package/assets/styles/global/_table.scss +7 -1
- package/assets/styles/global/_tooltip.scss +60 -8
- package/assets/styles/themes/_dark.scss +3 -0
- package/assets/styles/themes/_light.scss +69 -46
- package/assets/styles/vendor/vue-select.scss +24 -10
- package/assets/translations/en-us.yaml +92 -4
- package/assets/translations/zh-hans.yaml +668 -206
- package/components/ActionDropdown.vue +2 -1
- package/components/ActionMenu.vue +2 -2
- package/components/ActionMenuShell.vue +2 -0
- package/components/AppModal.vue +46 -5
- package/components/BrandImage.vue +1 -0
- package/components/ButtonDropdown.vue +28 -4
- package/components/ButtonMultiAction.vue +1 -0
- package/components/ClusterIconMenu.vue +2 -2
- package/components/CodeMirror.vue +26 -10
- package/components/ConsumptionGauge.vue +24 -5
- package/components/ContainerResourceLimit.vue +2 -2
- package/components/CopyToClipboard.vue +15 -0
- package/components/CruResource.vue +12 -10
- package/components/CruResourceFooter.vue +2 -2
- package/components/DashboardOptions.vue +29 -17
- package/components/DotState.vue +84 -0
- package/components/Drawer/Chrome.vue +2 -2
- package/components/Drawer/ResourceDetailDrawer/ConfigTab.vue +30 -27
- package/components/Drawer/ResourceDetailDrawer/YamlTab.vue +1 -1
- package/components/Drawer/ResourceDetailDrawer/index.vue +5 -4
- package/components/ExplorerMembers.vue +28 -4
- package/components/ExplorerProjectsNamespaces.vue +19 -5
- package/components/GlobalRoleBindings.vue +23 -4
- package/components/GrafanaDashboard.vue +4 -4
- package/components/GrowlManager.vue +3 -1
- package/components/HardwareResourceGauge.vue +39 -3
- package/components/IndentedPanel.vue +4 -10
- package/components/InfoBox.vue +3 -3
- package/components/InputOrDisplay.vue +28 -2
- package/components/LabelValue.vue +20 -1
- package/components/ModalWithCard.vue +12 -3
- package/components/PodSecurityAdmission.vue +2 -2
- package/components/PromptModal.vue +1 -1
- package/components/PromptRemove.vue +53 -12
- package/components/RelatedResources.vue +3 -0
- package/components/Resource/Detail/Metadata/IdentifyingInformation/index.vue +1 -3
- package/components/Resource/Detail/Metadata/KeyValue.vue +8 -4
- package/components/Resource/Detail/Metadata/index.vue +3 -1
- package/components/Resource/Detail/TitleBar/Title.vue +4 -3
- package/components/Resource/Detail/TitleBar/Top.vue +2 -0
- package/components/Resource/Detail/TitleBar/composables.ts +16 -1
- package/components/Resource/Detail/TitleBar/index.vue +125 -27
- package/components/ResourceDetail/Masthead/index.vue +1 -1
- package/components/ResourceDetail/Masthead/latest.vue +1 -1
- package/components/ResourceDetail/Masthead/legacy.vue +183 -39
- package/components/ResourceDetail/legacy.vue +47 -29
- package/components/ResourceList/Masthead.vue +222 -54
- package/components/ResourceList/ResourceLoadingIndicator.vue +5 -2
- package/components/ResourceTable.vue +40 -2
- package/components/SideNav.vue +74 -20
- package/components/SingleClusterInfo.vue +2 -1
- package/components/SortableTable/THead.vue +79 -4
- package/components/SortableTable/index.vue +1053 -464
- package/components/SortableTable/paging.js +26 -16
- package/components/SortableTable/selection.js +2 -2
- package/components/Tabbed/Tab.vue +3 -3
- package/components/Tabbed/index.vue +53 -30
- package/components/YamlEditor.vue +0 -1
- package/components/auth/Principal.vue +51 -19
- package/components/auth/RoleDetailEdit.vue +69 -14
- package/components/auth/SelectPrincipal.vue +1 -0
- package/components/breadcrumb/index.vue +119 -0
- package/components/form/ArrayList.vue +177 -152
- package/components/form/ArrayListGrouped.vue +13 -3
- package/components/form/ArrayListSelect.vue +1 -1
- package/components/form/BannerSettings.vue +64 -59
- package/components/form/ChangePassword.vue +5 -5
- package/components/form/ClusterAppearance.vue +4 -3
- package/components/form/ColorInput.vue +32 -8
- package/components/form/Command.vue +4 -5
- package/components/form/Conditions.vue +15 -1
- package/components/form/Footer.vue +12 -8
- package/components/form/HealthCheck.vue +0 -2
- package/components/form/HookOption.vue +87 -58
- package/components/form/InputWithSelect.vue +8 -4
- package/components/form/KeyValue.vue +66 -8
- package/components/form/LabeledSelect.vue +216 -242
- package/components/form/Labels.vue +4 -4
- package/components/form/MatchExpressions.vue +28 -11
- package/components/form/Members/ClusterMembershipEditor.vue +1 -1
- package/components/form/Members/ClusterPermissionsEditor.vue +61 -43
- package/components/form/Members/MembershipEditor.vue +4 -4
- package/components/form/Members/ProjectMembershipEditor.vue +1 -1
- package/components/form/NameNsDescription.vue +62 -22
- package/components/form/Networking.vue +6 -9
- package/components/form/NodeAffinity.vue +29 -28
- package/components/form/Password.vue +16 -7
- package/components/form/PodAffinity.vue +24 -25
- package/components/form/Probe.vue +15 -11
- package/components/form/ProjectMemberEditor.vue +66 -48
- package/components/form/ResourceQuota/Namespace.vue +4 -4
- package/components/form/ResourceQuota/NamespaceRow.vue +26 -23
- package/components/form/ResourceQuota/Project.vue +4 -4
- package/components/form/ResourceQuota/ProjectRow.vue +38 -35
- package/components/form/ResourceSelector.vue +1 -1
- package/components/form/SecretSelector.vue +24 -23
- package/components/form/Security.vue +1 -3
- package/components/form/Select.vue +12 -3
- package/components/form/ServiceNameSelect.vue +2 -5
- package/components/form/ServicePorts.vue +149 -75
- package/components/form/SimpleSecretSelector.vue +29 -9
- package/components/form/Taints.vue +2 -1
- package/components/form/Tolerations.vue +13 -9
- package/components/form/UnitInput.vue +8 -3
- package/components/form/ValueFromResource.vue +110 -96
- package/components/form/WorkloadPorts.vue +143 -123
- package/components/formatter/BadgeStateFormatter.vue +8 -5
- package/components/formatter/LiveDate.vue +3 -3
- package/components/formatter/WorkloadHealthScale.vue +4 -3
- package/components/nav/Favorite.vue +5 -1
- package/components/nav/Group.vue +139 -99
- package/components/nav/Header.vue +138 -164
- package/components/nav/HeaderPageActionMenu.vue +1 -0
- package/components/nav/NamespaceFilter.vue +34 -36
- package/components/nav/TopLevelMenu.vue +62 -25
- package/components/nav/Type.vue +73 -43
- package/composables/useClickOutside.ts +1 -1
- package/config/menuRouteMap.js +10 -0
- package/config/private-label.js +14 -11
- package/config/product/auth.js +17 -7
- package/config/product/explorer.js +32 -10
- package/config/product/manager.js +28 -17
- package/config/product/settings.js +19 -9
- package/config/product/uiplugins.js +13 -10
- package/config/router/navigation-guards/index.js +61 -3
- package/config/settings.ts +28 -0
- package/config/table-headers.js +3 -2
- package/detail/node.vue +28 -23
- package/dialog/AddCustomBadgeDialog.vue +17 -9
- package/dialog/ForceMachineRemoveDialog.vue +2 -2
- package/dialog/RollbackWorkloadDialog.vue +1 -1
- package/dialog/ScalePoolDownDialog.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/external-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/hpa-scaling-rule.vue +9 -6
- package/edit/autoscaling.horizontalpodautoscaler/index.vue +3 -1
- package/edit/autoscaling.horizontalpodautoscaler/metric-identifier.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/metric-object-reference.vue +7 -5
- package/edit/autoscaling.horizontalpodautoscaler/metric-target.vue +5 -3
- package/edit/autoscaling.horizontalpodautoscaler/metrics-row.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/object-metric.vue +2 -2
- package/edit/autoscaling.horizontalpodautoscaler/pod-metric.vue +1 -1
- package/edit/autoscaling.horizontalpodautoscaler/resource-metric.vue +2 -2
- package/edit/configmap.vue +4 -0
- package/edit/logging-flow/index.vue +1 -2
- package/edit/logging.banzaicloud.io.output/providers/awsElasticsearch.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/azurestorage.vue +19 -19
- package/edit/logging.banzaicloud.io.output/providers/cloudwatch.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/datadog.vue +19 -19
- package/edit/logging.banzaicloud.io.output/providers/elasticsearch.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/forward.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/gcs.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/gelf.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/kafka.vue +10 -10
- package/edit/logging.banzaicloud.io.output/providers/kinesisStream.vue +8 -8
- package/edit/logging.banzaicloud.io.output/providers/logdna.vue +17 -17
- package/edit/logging.banzaicloud.io.output/providers/logz.vue +7 -7
- package/edit/logging.banzaicloud.io.output/providers/loki.vue +12 -12
- package/edit/logging.banzaicloud.io.output/providers/newrelic.vue +3 -3
- package/edit/logging.banzaicloud.io.output/providers/opensearch.vue +14 -14
- package/edit/logging.banzaicloud.io.output/providers/redis.vue +6 -6
- package/edit/logging.banzaicloud.io.output/providers/s3.vue +23 -23
- package/edit/logging.banzaicloud.io.output/providers/splunkHec.vue +13 -13
- package/edit/logging.banzaicloud.io.output/providers/sumologic.vue +2 -2
- package/edit/logging.banzaicloud.io.output/providers/syslog.vue +54 -54
- package/edit/management.cattle.io.user.vue +17 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/auth.vue +19 -19
- package/edit/monitoring.coreos.com.alertmanagerconfig/receiverConfig.vue +50 -26
- package/edit/monitoring.coreos.com.alertmanagerconfig/routeConfig.vue +36 -12
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/dingding.vue +32 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/message.vue +52 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/pagerduty.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/slack.vue +4 -4
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/snmp.vue +45 -0
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/webhook.vue +1 -1
- package/edit/monitoring.coreos.com.alertmanagerconfig/types/work.vue +31 -0
- package/edit/monitoring.coreos.com.receiver/types/email.vue +6 -6
- package/edit/monitoring.coreos.com.receiver/types/opsgenie.vue +10 -10
- package/edit/monitoring.coreos.com.receiver/types/pagerduty.vue +5 -5
- package/edit/monitoring.coreos.com.receiver/types/slack.vue +4 -4
- package/edit/namespace.vue +1 -2
- package/edit/networking.k8s.io.ingress/Certificate.vue +14 -5
- package/edit/networking.k8s.io.ingress/DefaultBackend.vue +2 -2
- package/edit/networking.k8s.io.ingress/Rule.vue +5 -11
- package/edit/networking.k8s.io.ingress/RulePath.vue +105 -96
- package/edit/networking.k8s.io.networkpolicy/PolicyRule.vue +3 -3
- package/edit/networking.k8s.io.networkpolicy/PolicyRulePort.vue +4 -2
- package/edit/networking.k8s.io.networkpolicy/PolicyRuleTarget.vue +12 -11
- package/edit/networking.k8s.io.networkpolicy/index.vue +1 -1
- package/edit/persistentvolume/index.vue +3 -1
- package/edit/persistentvolumeclaim.vue +2 -0
- package/edit/provisioning.cattle.io.cluster/tabs/Basics.vue +1 -1
- package/edit/secret/index.vue +2 -2
- package/edit/service.vue +4 -1
- package/edit/storage.k8s.io.storageclass/index.vue +10 -8
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/aws-ebs.vue +34 -27
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/gce-pd.vue +15 -13
- package/edit/storage.k8s.io.storageclass/provisioners/kubernetes.io/vsphere-volume.vue +41 -39
- package/edit/token.vue +31 -12
- package/edit/workload/Job.vue +31 -34
- package/edit/workload/Upgrading.vue +5 -5
- package/edit/workload/index.vue +22 -18
- package/edit/workload/storage/Mount.vue +1 -0
- package/edit/workload/storage/awsElasticBlockStore.vue +9 -7
- package/edit/workload/storage/azureDisk.vue +14 -10
- package/edit/workload/storage/azureFile.vue +9 -7
- package/edit/workload/storage/csi/index.vue +6 -9
- package/edit/workload/storage/emptyDir.vue +7 -5
- package/edit/workload/storage/gcePersistentDisk.vue +9 -7
- package/edit/workload/storage/hostPath.vue +7 -5
- package/edit/workload/storage/nfs.vue +8 -6
- package/edit/workload/storage/persistentVolumeClaim/index.vue +12 -10
- package/edit/workload/storage/persistentVolumeClaim/persistentvolumeclaim.vue +20 -15
- package/edit/workload/storage/secret.vue +9 -6
- package/edit/workload/storage/vsphereVolume.vue +11 -7
- package/initialize/app-extended.js +7 -1
- package/list/management.cattle.io.podsecurityadmissionconfigurationtemplate.vue +8 -6
- package/list/management.cattle.io.setting.vue +22 -13
- package/list/management.cattle.io.user.vue +7 -3
- package/list/namespace.vue +3 -0
- package/list/provisioning.cattle.io.cluster.vue +6 -7
- package/mixins/brand.js +17 -0
- package/mixins/create-edit-view/impl.js +10 -0
- package/models/provisioning.cattle.io.cluster.js +19 -18
- package/models/workload.js +2 -2
- package/package.json +1 -1
- package/pages/account/index.vue +93 -58
- package/pages/account/pri.vue +229 -0
- package/pages/auth/login.vue +216 -51
- package/pages/auth/setup.vue +175 -33
- package/pages/c/_cluster/_product/namespaces.vue +5 -5
- package/pages/c/_cluster/auth/roles/index.vue +83 -8
- package/pages/c/_cluster/explorer/ConfigBadge.vue +1 -1
- package/pages/c/_cluster/explorer/index.vue +2 -1
- package/pages/c/_cluster/explorer/tools/index.vue +6 -6
- package/pages/c/_cluster/monitoring/monitor/index.vue +2 -2
- package/pages/c/_cluster/settings/banners.vue +174 -102
- package/pages/c/_cluster/settings/brand.vue +350 -302
- package/pages/c/_cluster/settings/performance.vue +61 -38
- package/pages/home.vue +119 -37
- package/pages/prefs.vue +27 -25
- package/pkg/tsconfig.json +9 -9
- package/pkg/vue.config.js +1 -1
- package/plugins/dashboard-store/actions.js +1 -1
- package/plugins/dashboard-store/resource-class.js +28 -27
- package/promptRemove/mixin/roleDeletionCheck.js +2 -2
- package/public/index.html +4 -4
- package/rancher-components/BadgeState/BadgeState.vue +38 -55
- package/rancher-components/Banner/Banner.vue +25 -9
- package/rancher-components/Card/Card.vue +7 -8
- package/rancher-components/Form/Checkbox/Checkbox.vue +4 -0
- package/rancher-components/Form/LabeledInput/LabeledInput.vue +42 -3
- package/rancher-components/Form/Radio/RadioButton.vue +35 -11
- package/rancher-components/Form/Radio/RadioGroup.vue +22 -6
- package/rancher-components/Form/TextArea/TextAreaAutoGrow.vue +3 -3
- package/rancher-components/Form/ToggleSwitch/ToggleSwitch.vue +1 -0
- package/rancher-components/LabeledTooltip/LabeledTooltip.vue +41 -4
- package/rancher-components/RcDropdown/RcDropdown.vue +35 -7
- package/rancher-components/RcDropdown/RcDropdownItem.vue +2 -2
- package/rancher-components/RcDropdown/RcDropdownMenu.vue +12 -6
- package/rancher-components/RcDropdown/types.ts +1 -0
- package/rancher-components/StringList/StringList.vue +1 -1
- package/scripts/build-pkg.sh +18 -23
- package/scripts/publish-shell.sh +1 -1
- package/static/favicon.ico +0 -0
- package/static/favicon.png +0 -0
- package/static/loading-indicator.html +3 -3
- package/store/i18n.js +6 -2
- package/store/modal.ts +3 -3
- package/store/prefs.js +11 -4
- package/store/type-map.js +30 -2
- package/types/shell/index.d.ts +86 -97
- package/utils/error.js +109 -8
- package/utils/errorTranslate.json +1740 -0
- package/utils/errorTranslateNew.json +39 -0
- package/utils/roleFiltering.js +33 -0
- package/utils/router.js +21 -0
- package/utils/select.js +26 -3
- package/utils/string.js +8 -5
- package/utils/title.ts +1 -1
- package/vue.config.js +1 -1
|
@@ -18,35 +18,59 @@ import { fetchAlertManagerConfigSpecs } from '@shell/utils/alertmanagerconfig';
|
|
|
18
18
|
// i18n-uses monitoringReceiver.opsgenie.*, monitoringReceiver.webhook.*, monitoringReceiver.custom.*
|
|
19
19
|
export const RECEIVERS_TYPES = [
|
|
20
20
|
{
|
|
21
|
-
name: '
|
|
22
|
-
label: 'monitoringReceiver.
|
|
23
|
-
title: 'monitoringReceiver.
|
|
21
|
+
name: 'message',
|
|
22
|
+
label: 'monitoringReceiver.message.label',
|
|
23
|
+
title: 'monitoringReceiver.message.title',
|
|
24
24
|
info: 'monitoringReceiver.slack.info',
|
|
25
25
|
key: 'slackConfigs',
|
|
26
26
|
logo: require(`@shell/assets/images/vendor/slack.svg`)
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
name: '
|
|
30
|
-
label: 'monitoringReceiver.
|
|
31
|
-
title: 'monitoringReceiver.
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
name: 'dingding',
|
|
30
|
+
label: 'monitoringReceiver.dingding.label',
|
|
31
|
+
title: 'monitoringReceiver.dingding.title',
|
|
32
|
+
info: 'monitoringReceiver.slack.info',
|
|
33
|
+
key: 'dingding',
|
|
34
|
+
logo: require(`@shell/assets/images/vendor/slack.svg`)
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'work',
|
|
38
|
+
label: 'monitoringReceiver.weixin.label',
|
|
39
|
+
title: 'monitoringReceiver.weixin.title',
|
|
40
|
+
info: 'monitoringReceiver.slack.info',
|
|
41
|
+
key: 'work',
|
|
42
|
+
logo: require(`@shell/assets/images/vendor/slack.svg`)
|
|
34
43
|
},
|
|
35
44
|
{
|
|
36
|
-
name: '
|
|
37
|
-
label: 'monitoringReceiver.
|
|
38
|
-
title: 'monitoringReceiver.
|
|
39
|
-
info: 'monitoringReceiver.
|
|
40
|
-
key: '
|
|
41
|
-
logo: require(`@shell/assets/images/vendor/
|
|
45
|
+
name: 'snmp',
|
|
46
|
+
label: 'monitoringReceiver.snmp.label',
|
|
47
|
+
title: 'monitoringReceiver.snmp.title',
|
|
48
|
+
info: 'monitoringReceiver.slack.info',
|
|
49
|
+
key: 'snmp',
|
|
50
|
+
logo: require(`@shell/assets/images/vendor/slack.svg`)
|
|
42
51
|
},
|
|
43
52
|
{
|
|
44
|
-
name: '
|
|
45
|
-
label: 'monitoringReceiver.
|
|
46
|
-
title: 'monitoringReceiver.
|
|
47
|
-
key: '
|
|
53
|
+
name: 'email',
|
|
54
|
+
label: 'monitoringReceiver.email.label',
|
|
55
|
+
title: 'monitoringReceiver.email.title',
|
|
56
|
+
key: 'emailConfigs',
|
|
48
57
|
logo: require(`@shell/assets/images/vendor/email.svg`)
|
|
49
58
|
},
|
|
59
|
+
// {
|
|
60
|
+
// name: 'pagerduty',
|
|
61
|
+
// label: 'monitoringReceiver.pagerduty.label',
|
|
62
|
+
// title: 'monitoringReceiver.pagerduty.title',
|
|
63
|
+
// info: 'monitoringReceiver.pagerduty.info',
|
|
64
|
+
// key: 'pagerdutyConfigs',
|
|
65
|
+
// logo: require(`@shell/assets/images/vendor/pagerduty.svg`)
|
|
66
|
+
// },
|
|
67
|
+
// {
|
|
68
|
+
// name: 'opsgenie',
|
|
69
|
+
// label: 'monitoringReceiver.opsgenie.label',
|
|
70
|
+
// title: 'monitoringReceiver.opsgenie.title',
|
|
71
|
+
// key: 'opsgenieConfigs',
|
|
72
|
+
// logo: require(`@shell/assets/images/vendor/email.svg`)
|
|
73
|
+
// },
|
|
50
74
|
{
|
|
51
75
|
name: 'webhook',
|
|
52
76
|
label: 'monitoringReceiver.webhook.label',
|
|
@@ -54,14 +78,14 @@ export const RECEIVERS_TYPES = [
|
|
|
54
78
|
key: 'webhookConfigs',
|
|
55
79
|
logo: require(`@shell/assets/images/vendor/webhook.svg`),
|
|
56
80
|
},
|
|
57
|
-
{
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
},
|
|
81
|
+
// {
|
|
82
|
+
// name: 'custom',
|
|
83
|
+
// label: 'monitoringReceiver.custom.label',
|
|
84
|
+
// title: 'monitoringReceiver.custom.title',
|
|
85
|
+
// info: 'monitoringReceiver.custom.info',
|
|
86
|
+
// key: 'webhookConfigs',
|
|
87
|
+
// logo: require(`@shell/assets/images/vendor/custom.svg`)
|
|
88
|
+
// },
|
|
65
89
|
];
|
|
66
90
|
|
|
67
91
|
export default {
|
|
@@ -46,30 +46,34 @@ export default {
|
|
|
46
46
|
</script>
|
|
47
47
|
<template>
|
|
48
48
|
<div>
|
|
49
|
-
<
|
|
50
|
-
|
|
49
|
+
<div class="route-title-config mb-20">
|
|
50
|
+
接收器
|
|
51
51
|
<i
|
|
52
52
|
v-clean-tooltip="t('monitoring.alertmanagerConfig.receiverTooltip')"
|
|
53
53
|
class="icon icon-info"
|
|
54
54
|
/>
|
|
55
|
-
</
|
|
55
|
+
</div>
|
|
56
56
|
<Banner
|
|
57
57
|
color="info"
|
|
58
58
|
:label="t('monitoring.alertmanagerConfig.routeInfo')"
|
|
59
59
|
/>
|
|
60
|
-
<div class="row
|
|
60
|
+
<div class="row">
|
|
61
61
|
<div class="col span-6">
|
|
62
62
|
<LabeledSelect
|
|
63
63
|
v-model:value="value.receiver"
|
|
64
64
|
:mode="mode"
|
|
65
|
+
:isLabel="true"
|
|
66
|
+
:leftWidth="'225px'"
|
|
65
67
|
:options="receiverOptions"
|
|
66
68
|
/>
|
|
67
69
|
</div>
|
|
68
70
|
</div>
|
|
69
|
-
<
|
|
70
|
-
|
|
71
|
+
<div class="route-title-config config-top mb-20">
|
|
72
|
+
分组
|
|
73
|
+
</div>
|
|
74
|
+
<div class="row">
|
|
71
75
|
<div class="col span-6">
|
|
72
|
-
<span class="label">
|
|
76
|
+
<span class="label mb-10">
|
|
73
77
|
{{ t("monitoringRoute.groups.addGroupByLabel'") }}
|
|
74
78
|
<i
|
|
75
79
|
v-clean-tooltip="t('monitoringRoute.groups.groupByTooltip')"
|
|
@@ -84,8 +88,10 @@ export default {
|
|
|
84
88
|
/>
|
|
85
89
|
</div>
|
|
86
90
|
</div>
|
|
87
|
-
<
|
|
88
|
-
|
|
91
|
+
<div class="route-title-config config-top mb-20">
|
|
92
|
+
等待和间隔
|
|
93
|
+
</div>
|
|
94
|
+
<div class="row">
|
|
89
95
|
<div class="col span-6">
|
|
90
96
|
<LabeledInput
|
|
91
97
|
v-model:value="value.groupWait"
|
|
@@ -101,7 +107,7 @@ export default {
|
|
|
101
107
|
/>
|
|
102
108
|
</div>
|
|
103
109
|
</div>
|
|
104
|
-
<div class="row
|
|
110
|
+
<div class="row">
|
|
105
111
|
<div class="col span-6">
|
|
106
112
|
<LabeledInput
|
|
107
113
|
v-model:value="value.repeatInterval"
|
|
@@ -111,7 +117,9 @@ export default {
|
|
|
111
117
|
</div>
|
|
112
118
|
</div>
|
|
113
119
|
|
|
114
|
-
<
|
|
120
|
+
<div class="route-title-config config-top mb-20 mb-20">
|
|
121
|
+
匹配器
|
|
122
|
+
</div>
|
|
115
123
|
<ArrayListGrouped
|
|
116
124
|
v-model:value="value.matchers"
|
|
117
125
|
class="mt-20"
|
|
@@ -120,7 +128,7 @@ export default {
|
|
|
120
128
|
:default-add-value="{ matchers: [] }"
|
|
121
129
|
>
|
|
122
130
|
<template #default="props">
|
|
123
|
-
<div class="row
|
|
131
|
+
<div class="row ">
|
|
124
132
|
<div class="col span-4">
|
|
125
133
|
<LabeledInput
|
|
126
134
|
v-model:value="props.row.value.name"
|
|
@@ -150,3 +158,19 @@ export default {
|
|
|
150
158
|
</ArrayListGrouped>
|
|
151
159
|
</div>
|
|
152
160
|
</template>
|
|
161
|
+
|
|
162
|
+
<style scoped>
|
|
163
|
+
.route-title-config{
|
|
164
|
+
font-size: 14px;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.row{
|
|
168
|
+
flex-wrap: wrap;
|
|
169
|
+
}
|
|
170
|
+
.col{
|
|
171
|
+
width: 49.125%;
|
|
172
|
+
}
|
|
173
|
+
.config-top{
|
|
174
|
+
margin-top: 32px;
|
|
175
|
+
}
|
|
176
|
+
</style>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="mb-20">
|
|
4
|
+
<LabeledInput
|
|
5
|
+
v-model:value="message"
|
|
6
|
+
:placeholder="'webhook地址'"
|
|
7
|
+
:label="'webhook地址'"
|
|
8
|
+
/>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="mb-20">
|
|
11
|
+
<LabeledInput
|
|
12
|
+
v-model:value="id"
|
|
13
|
+
:placeholder="'签名密钥'"
|
|
14
|
+
:label="'签名密钥'"
|
|
15
|
+
/>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</template>
|
|
19
|
+
<script>
|
|
20
|
+
import { LabeledInput } from '@components/Form/LabeledInput';
|
|
21
|
+
export default {
|
|
22
|
+
components: { LabeledInput },
|
|
23
|
+
data() {
|
|
24
|
+
return {
|
|
25
|
+
message: '',
|
|
26
|
+
id: '',
|
|
27
|
+
scret: '',
|
|
28
|
+
templateId: ''
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
</script>
|
|
@@ -80,7 +80,7 @@ export default {
|
|
|
80
80
|
<div>
|
|
81
81
|
<div class="row">
|
|
82
82
|
<div class="col span-12">
|
|
83
|
-
<h3
|
|
83
|
+
<h3>目标</h3>
|
|
84
84
|
</div>
|
|
85
85
|
</div>
|
|
86
86
|
<div class="row mb-20">
|
|
@@ -88,7 +88,7 @@ export default {
|
|
|
88
88
|
<LabeledInput
|
|
89
89
|
v-model:value="value.to"
|
|
90
90
|
:mode="mode"
|
|
91
|
-
label="
|
|
91
|
+
label="默认收件人地址"
|
|
92
92
|
placeholder="e.g. admin@example.com"
|
|
93
93
|
/>
|
|
94
94
|
</div>
|
|
@@ -97,7 +97,7 @@ export default {
|
|
|
97
97
|
v-model:value="value.sendResolved"
|
|
98
98
|
:mode="mode"
|
|
99
99
|
class="mt-20"
|
|
100
|
-
label="
|
|
100
|
+
label="启用发送已解决的警报"
|
|
101
101
|
/>
|
|
102
102
|
</div>
|
|
103
103
|
</div>
|
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
<LabeledInput
|
|
110
110
|
v-model:value="value.from"
|
|
111
111
|
:mode="mode"
|
|
112
|
-
label="
|
|
112
|
+
label="发件人"
|
|
113
113
|
placeholder="e.g. admin@example.com"
|
|
114
114
|
/>
|
|
115
115
|
</div>
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
119
119
|
<LabeledInput
|
|
120
120
|
v-model:value="value.smarthost"
|
|
121
121
|
:mode="mode"
|
|
122
|
-
label="
|
|
122
|
+
label="主机"
|
|
123
123
|
placeholder="e.g. 192.168.1.121:587"
|
|
124
124
|
/>
|
|
125
125
|
</div>
|
|
@@ -128,7 +128,7 @@ export default {
|
|
|
128
128
|
v-model:value="value.requireTLS"
|
|
129
129
|
:mode="mode"
|
|
130
130
|
class="mt-20"
|
|
131
|
-
label="
|
|
131
|
+
label="启用TLS"
|
|
132
132
|
/>
|
|
133
133
|
</div>
|
|
134
134
|
</div>
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="mb-20">
|
|
4
|
+
<LabeledInput
|
|
5
|
+
v-model:value="message"
|
|
6
|
+
:placeholder="'请输入手机号'"
|
|
7
|
+
:label="'默认手机人电话'"
|
|
8
|
+
/>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="mb-20">
|
|
11
|
+
<LabeledInput
|
|
12
|
+
v-model:value="id"
|
|
13
|
+
:placeholder="'API密钥ID'"
|
|
14
|
+
:label="'默认API密钥ID'"
|
|
15
|
+
/>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="mb-20">
|
|
18
|
+
<LabeledInput
|
|
19
|
+
v-model:value="scret"
|
|
20
|
+
:placeholder="'API密钥secret'"
|
|
21
|
+
:label="'默认API密钥secret'"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
<div class="mb-20">
|
|
25
|
+
<LabeledInput
|
|
26
|
+
v-model:value="templateId"
|
|
27
|
+
:placeholder="'请输入模板ID'"
|
|
28
|
+
:label="'模板ID'"
|
|
29
|
+
/>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</template>
|
|
33
|
+
<script>
|
|
34
|
+
import { LabeledInput } from '@components/Form/LabeledInput';
|
|
35
|
+
// import { ref } from 'vue';
|
|
36
|
+
// const id = ref('');
|
|
37
|
+
// const scret = ref('');
|
|
38
|
+
// const message = ref('');
|
|
39
|
+
// const templateId = ref('');
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
components: { LabeledInput },
|
|
43
|
+
data() {
|
|
44
|
+
return {
|
|
45
|
+
message: '',
|
|
46
|
+
id: '',
|
|
47
|
+
scret: '',
|
|
48
|
+
templateId: ''
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
</script>
|
|
@@ -165,7 +165,7 @@ export default {
|
|
|
165
165
|
<div>
|
|
166
166
|
<div class="row">
|
|
167
167
|
<div class="col span-12">
|
|
168
|
-
<h3
|
|
168
|
+
<h3>目标</h3>
|
|
169
169
|
</div>
|
|
170
170
|
</div>
|
|
171
171
|
<div class="row mb-20">
|
|
@@ -192,7 +192,7 @@ export default {
|
|
|
192
192
|
<LabeledInput
|
|
193
193
|
v-model:value="value.httpConfig.proxyURL"
|
|
194
194
|
:mode="mode"
|
|
195
|
-
label="
|
|
195
|
+
label="代理地址"
|
|
196
196
|
placeholder="e.g. http://my-proxy/"
|
|
197
197
|
/>
|
|
198
198
|
</div>
|
|
@@ -201,12 +201,12 @@ export default {
|
|
|
201
201
|
<Checkbox
|
|
202
202
|
v-model:value="value.sendResolved"
|
|
203
203
|
:mode="mode"
|
|
204
|
-
label="
|
|
204
|
+
label="启用发送已解决的警报"
|
|
205
205
|
/>
|
|
206
206
|
</div>
|
|
207
207
|
<div class="row">
|
|
208
208
|
<div class="col span-12">
|
|
209
|
-
<h3
|
|
209
|
+
<h3>响应者</h3>
|
|
210
210
|
<ArrayList
|
|
211
211
|
v-model:value="responders"
|
|
212
212
|
:mode="mode"
|
|
@@ -219,18 +219,18 @@ export default {
|
|
|
219
219
|
class="row"
|
|
220
220
|
:class="{'mb-15': isView, 'mb-10': !isView}"
|
|
221
221
|
>
|
|
222
|
-
|
|
223
|
-
<span class="text-label"
|
|
222
|
+
<div class="col" style="width:400px">
|
|
223
|
+
<span class="text-label">类型</span>
|
|
224
224
|
</div>
|
|
225
|
-
<div class="col
|
|
226
|
-
<span class="text-label"
|
|
225
|
+
<div class="col send-to ml-10" style="flex: 1;">
|
|
226
|
+
<span class="text-label">发送至</span>
|
|
227
227
|
</div>
|
|
228
228
|
</div>
|
|
229
229
|
</div>
|
|
230
230
|
</template>
|
|
231
231
|
<template v-slot:columns="scope">
|
|
232
232
|
<div class="row responder">
|
|
233
|
-
<div
|
|
233
|
+
<div style="width:400px">
|
|
234
234
|
<span v-if="isView">{{ typeLabel(scope.row.value.type) }}</span>
|
|
235
235
|
<Select
|
|
236
236
|
v-else
|
|
@@ -239,7 +239,7 @@ export default {
|
|
|
239
239
|
:options="TYPES"
|
|
240
240
|
/>
|
|
241
241
|
</div>
|
|
242
|
-
<div class="
|
|
242
|
+
<div class="target-container ml-10" style="flex: 1;">
|
|
243
243
|
<span v-if="isView">{{ targetLabel(scope.row.value.target) }}: {{ scope.row.value.value }}</span>
|
|
244
244
|
<InputWithSelect
|
|
245
245
|
v-else
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
<div>
|
|
131
131
|
<div class="row">
|
|
132
132
|
<div class="col span-12">
|
|
133
|
-
<h3
|
|
133
|
+
<h3>目标</h3>
|
|
134
134
|
</div>
|
|
135
135
|
</div>
|
|
136
136
|
<div
|
|
@@ -142,7 +142,7 @@ export default {
|
|
|
142
142
|
v-model:value="integrationType"
|
|
143
143
|
:options="integrationTypeOptions"
|
|
144
144
|
:mode="mode"
|
|
145
|
-
label="
|
|
145
|
+
label="整合型"
|
|
146
146
|
/>
|
|
147
147
|
</div>
|
|
148
148
|
</div>
|
|
@@ -186,7 +186,7 @@ export default {
|
|
|
186
186
|
<LabeledInput
|
|
187
187
|
v-model:value="value.httpConfig.proxyURL"
|
|
188
188
|
:mode="mode"
|
|
189
|
-
label="
|
|
189
|
+
label="代理地址"
|
|
190
190
|
placeholder="e.g. http://my-proxy/"
|
|
191
191
|
data-testid="v2-monitoring-receiver-pagerduty-proxy-url"
|
|
192
192
|
/>
|
|
@@ -196,7 +196,7 @@ export default {
|
|
|
196
196
|
<Checkbox
|
|
197
197
|
v-model:value="value.sendResolved"
|
|
198
198
|
:mode="mode"
|
|
199
|
-
label="
|
|
199
|
+
label="启用发送已解决的警报"
|
|
200
200
|
/>
|
|
201
201
|
</div>
|
|
202
202
|
</div>
|
|
@@ -82,7 +82,7 @@ export default {
|
|
|
82
82
|
<div>
|
|
83
83
|
<div class="row">
|
|
84
84
|
<div class="col span-12">
|
|
85
|
-
<h3
|
|
85
|
+
<h3>目标</h3>
|
|
86
86
|
</div>
|
|
87
87
|
</div>
|
|
88
88
|
<div class="row mb-20">
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
116
116
|
<LabeledInput
|
|
117
117
|
v-model:value="value.channel"
|
|
118
118
|
:mode="mode"
|
|
119
|
-
label="
|
|
119
|
+
label="默认频道"
|
|
120
120
|
placeholder="e.g. #example"
|
|
121
121
|
/>
|
|
122
122
|
</div>
|
|
@@ -124,7 +124,7 @@ export default {
|
|
|
124
124
|
<LabeledInput
|
|
125
125
|
v-model:value="value.httpConfig.proxyURL"
|
|
126
126
|
:mode="mode"
|
|
127
|
-
label="
|
|
127
|
+
label="代理地址"
|
|
128
128
|
placeholder="e.g. http://my-proxy/"
|
|
129
129
|
/>
|
|
130
130
|
</div>
|
|
@@ -133,7 +133,7 @@ export default {
|
|
|
133
133
|
<Checkbox
|
|
134
134
|
v-model:value="value.sendResolved"
|
|
135
135
|
:mode="mode"
|
|
136
|
-
label="
|
|
136
|
+
label="启用发送已解决的警报"
|
|
137
137
|
/>
|
|
138
138
|
</div>
|
|
139
139
|
</div>
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="mb-20">
|
|
4
|
+
<LabeledInput
|
|
5
|
+
v-model:value="message"
|
|
6
|
+
:placeholder="'目标主机'"
|
|
7
|
+
:label="'目标主机'"
|
|
8
|
+
/>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="mb-20">
|
|
11
|
+
<LabeledInput
|
|
12
|
+
v-model:value="id"
|
|
13
|
+
:placeholder="'端口'"
|
|
14
|
+
:label="'端口'"
|
|
15
|
+
/>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="mb-20">
|
|
18
|
+
<LabeledInput
|
|
19
|
+
v-model:value="scret"
|
|
20
|
+
:placeholder="'团体字'"
|
|
21
|
+
:label="'团体字'"
|
|
22
|
+
/>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</template>
|
|
26
|
+
<script>
|
|
27
|
+
import { LabeledInput } from '@components/Form/LabeledInput';
|
|
28
|
+
// import { ref } from 'vue';
|
|
29
|
+
// const id = ref('');
|
|
30
|
+
// const scret = ref('');
|
|
31
|
+
// const message = ref('');
|
|
32
|
+
// const templateId = ref('');
|
|
33
|
+
|
|
34
|
+
export default {
|
|
35
|
+
components: { LabeledInput },
|
|
36
|
+
data() {
|
|
37
|
+
return {
|
|
38
|
+
message: '',
|
|
39
|
+
id: '',
|
|
40
|
+
scret: '',
|
|
41
|
+
templateId: ''
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
</script>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="mb-20">
|
|
4
|
+
<LabeledInput
|
|
5
|
+
v-model:value="message"
|
|
6
|
+
:placeholder="'webhook地址'"
|
|
7
|
+
:label="'webhook地址'"
|
|
8
|
+
/>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
<script>
|
|
13
|
+
import { LabeledInput } from '@components/Form/LabeledInput';
|
|
14
|
+
// import { ref } from 'vue';
|
|
15
|
+
// const id = ref('');
|
|
16
|
+
// const scret = ref('');
|
|
17
|
+
// const message = ref('');
|
|
18
|
+
// const templateId = ref('');
|
|
19
|
+
|
|
20
|
+
export default {
|
|
21
|
+
components: { LabeledInput },
|
|
22
|
+
data() {
|
|
23
|
+
return {
|
|
24
|
+
message: '',
|
|
25
|
+
id: '',
|
|
26
|
+
scret: '',
|
|
27
|
+
templateId: ''
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
</script>
|
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
<div>
|
|
40
40
|
<div class="row">
|
|
41
41
|
<div class="col span-12">
|
|
42
|
-
<h3
|
|
42
|
+
<h3>目标</h3>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
45
|
<div class="row mb-20">
|
|
@@ -47,7 +47,7 @@ export default {
|
|
|
47
47
|
<LabeledInput
|
|
48
48
|
v-model:value="value.to"
|
|
49
49
|
:mode="mode"
|
|
50
|
-
label="
|
|
50
|
+
label="默认收件人地址"
|
|
51
51
|
placeholder="e.g. admin@example.com"
|
|
52
52
|
/>
|
|
53
53
|
</div>
|
|
@@ -56,7 +56,7 @@ export default {
|
|
|
56
56
|
v-model:value="value.send_resolved"
|
|
57
57
|
:mode="mode"
|
|
58
58
|
class="mt-20"
|
|
59
|
-
label="
|
|
59
|
+
label="启用发送已解决的警报"
|
|
60
60
|
/>
|
|
61
61
|
</div>
|
|
62
62
|
</div>
|
|
@@ -97,7 +97,7 @@ export default {
|
|
|
97
97
|
v-model:value="value.require_tls"
|
|
98
98
|
:mode="mode"
|
|
99
99
|
class="mt-20"
|
|
100
|
-
label="
|
|
100
|
+
label="启用TLS"
|
|
101
101
|
/>
|
|
102
102
|
</div>
|
|
103
103
|
</div>
|
|
@@ -106,7 +106,7 @@ export default {
|
|
|
106
106
|
<LabeledInput
|
|
107
107
|
v-model:value="value.auth_username"
|
|
108
108
|
:mode="mode"
|
|
109
|
-
label="
|
|
109
|
+
label="用户名"
|
|
110
110
|
placeholder="e.g. John"
|
|
111
111
|
/>
|
|
112
112
|
</div>
|
|
@@ -114,7 +114,7 @@ export default {
|
|
|
114
114
|
<LabeledInput
|
|
115
115
|
v-model:value="value.auth_password"
|
|
116
116
|
:mode="mode"
|
|
117
|
-
label="
|
|
117
|
+
label="密码"
|
|
118
118
|
type="password"
|
|
119
119
|
autocomplete="current-password"
|
|
120
120
|
/>
|