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
|
@@ -117,7 +117,7 @@ export default ({
|
|
|
117
117
|
|
|
118
118
|
<template>
|
|
119
119
|
<div>
|
|
120
|
-
<div class="row
|
|
120
|
+
<div class="row">
|
|
121
121
|
<div class="col span-6">
|
|
122
122
|
<ColorInput
|
|
123
123
|
v-model:value="value[bannerType].color"
|
|
@@ -137,7 +137,7 @@ export default ({
|
|
|
137
137
|
/>
|
|
138
138
|
</div>
|
|
139
139
|
</div>
|
|
140
|
-
<div class="row
|
|
140
|
+
<div class="row mb-20">
|
|
141
141
|
<ToggleSwitch
|
|
142
142
|
v-model:value="isHtml"
|
|
143
143
|
:aria-label="`${t(`banner.${bannerType}`)} ${t('banner.toggleTextHtml')}`"
|
|
@@ -147,71 +147,76 @@ export default ({
|
|
|
147
147
|
:on-label="t('banner.type.html')"
|
|
148
148
|
/>
|
|
149
149
|
</div>
|
|
150
|
-
<div
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
>
|
|
154
|
-
<p
|
|
155
|
-
:id="bannerTitleId"
|
|
156
|
-
class="sr-only"
|
|
150
|
+
<div v-if="!isHtml">
|
|
151
|
+
<div
|
|
152
|
+
class="row"
|
|
157
153
|
>
|
|
158
|
-
{{ t(`banner.${bannerType}`) }}
|
|
159
|
-
</p>
|
|
160
|
-
<div class="col span-6">
|
|
161
|
-
<LabeledInput
|
|
162
|
-
v-model:value="value[bannerType].text"
|
|
163
|
-
:disabled="isUiDisabled"
|
|
164
|
-
:label="t('banner.text')"
|
|
165
|
-
type="multiline"
|
|
166
|
-
:aria-describedby="bannerTitleId"
|
|
167
|
-
/>
|
|
168
154
|
<p
|
|
169
|
-
|
|
170
|
-
class="
|
|
155
|
+
:id="bannerTitleId"
|
|
156
|
+
class="sr-only"
|
|
171
157
|
>
|
|
172
|
-
{{ t(
|
|
158
|
+
{{ t(`banner.${bannerType}`) }}
|
|
173
159
|
</p>
|
|
160
|
+
<div class="col span-6">
|
|
161
|
+
<LabeledInput
|
|
162
|
+
v-model:value="value[bannerType].text"
|
|
163
|
+
:disabled="isUiDisabled"
|
|
164
|
+
:label="t('banner.text')"
|
|
165
|
+
type="multiline"
|
|
166
|
+
:aria-describedby="bannerTitleId"
|
|
167
|
+
/>
|
|
168
|
+
<p
|
|
169
|
+
v-if="isConsentBanner"
|
|
170
|
+
class="banner-input-footnote mt-5 mb-20"
|
|
171
|
+
>
|
|
172
|
+
{{ t('banner.consentFootnote') }}
|
|
173
|
+
</p>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="col span-6">
|
|
176
|
+
<LabeledSelect
|
|
177
|
+
v-model:value="value[bannerType].fontSize"
|
|
178
|
+
:data-testid="`banner_font_size_options${bannerType}`"
|
|
179
|
+
:disabled="isUiDisabled"
|
|
180
|
+
:label="t('banner.bannerFontSize.label')"
|
|
181
|
+
:options="uiBannerFontSizeOptions"
|
|
182
|
+
:aria-describedby="bannerTitleId"
|
|
183
|
+
/>
|
|
184
|
+
</div>
|
|
174
185
|
</div>
|
|
175
|
-
<div class="
|
|
176
|
-
<
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
:aria-label="`${t(`banner.${bannerType}`)} ${t('banner.bannerAlignment.label')}`"
|
|
185
|
-
/>
|
|
186
|
-
</div>
|
|
187
|
-
<div class="col span-2">
|
|
188
|
-
<h3 id="decoration-banner-title-id">
|
|
189
|
-
{{ t('banner.bannerDecoration.label') }}
|
|
190
|
-
</h3>
|
|
191
|
-
<div
|
|
192
|
-
v-for="(o, i) in textDecorationOptions"
|
|
193
|
-
:key="i"
|
|
194
|
-
>
|
|
195
|
-
<Checkbox
|
|
196
|
-
v-model:value="value[bannerType][o.style]"
|
|
197
|
-
name="bannerDecoration"
|
|
198
|
-
:data-testid="`banner_decoration_checkbox${bannerType}${o.label}`"
|
|
199
|
-
class="banner-decoration-checkbox"
|
|
186
|
+
<div class="row">
|
|
187
|
+
<div class="col span-6">
|
|
188
|
+
<RadioGroup
|
|
189
|
+
v-model:value="value[bannerType].textAlignment"
|
|
190
|
+
name="bannerAlignment"
|
|
191
|
+
:data-testid="`banner_alignment_radio_options${bannerType}`"
|
|
192
|
+
:label="t('banner.bannerAlignment.label')"
|
|
193
|
+
:options="radioOptions.options"
|
|
194
|
+
:labels="radioOptions.labels"
|
|
200
195
|
:mode="mode"
|
|
201
|
-
:label="
|
|
202
|
-
:aria-describedby="`${bannerTitleId} decoration-banner-title-id`"
|
|
196
|
+
:aria-label="`${t(`banner.${bannerType}`)} ${t('banner.bannerAlignment.label')}`"
|
|
203
197
|
/>
|
|
204
198
|
</div>
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
199
|
+
<div style="display: flex;" class="col span-6">
|
|
200
|
+
<p style="width: 160px;" id="decoration-banner-title-id">
|
|
201
|
+
{{ t('banner.bannerDecoration.label') }}
|
|
202
|
+
</p>
|
|
203
|
+
<div style="display: flex;">
|
|
204
|
+
<div
|
|
205
|
+
v-for="(o, i) in textDecorationOptions"
|
|
206
|
+
:key="i"
|
|
207
|
+
>
|
|
208
|
+
<Checkbox
|
|
209
|
+
v-model:value="value[bannerType][o.style]"
|
|
210
|
+
name="bannerDecoration"
|
|
211
|
+
:data-testid="`banner_decoration_checkbox${bannerType}${o.label}`"
|
|
212
|
+
class="banner-decoration-checkbox"
|
|
213
|
+
:mode="mode"
|
|
214
|
+
:label="o.label"
|
|
215
|
+
:aria-describedby="`${bannerTitleId} decoration-banner-title-id`"
|
|
216
|
+
/>
|
|
217
|
+
</div>
|
|
218
|
+
</div>
|
|
219
|
+
</div>
|
|
215
220
|
</div>
|
|
216
221
|
</div>
|
|
217
222
|
<div
|
|
@@ -355,7 +355,7 @@ export default {
|
|
|
355
355
|
v-if="isRandomGenerated"
|
|
356
356
|
:class="{'row': isCreateEdit}"
|
|
357
357
|
>
|
|
358
|
-
<div :class="{'col': isCreateEdit, 'span-
|
|
358
|
+
<div :class="{'col': isCreateEdit, 'span-6': isCreateEdit}">
|
|
359
359
|
<Password
|
|
360
360
|
v-model:value="passwordGen"
|
|
361
361
|
class="mt-10"
|
|
@@ -370,7 +370,7 @@ export default {
|
|
|
370
370
|
class="userGen"
|
|
371
371
|
:class="{'row': isCreateEdit}"
|
|
372
372
|
>
|
|
373
|
-
<div :class="{'col': isCreateEdit, 'span-
|
|
373
|
+
<div :class="{'col': isCreateEdit, 'span-6': isCreateEdit}">
|
|
374
374
|
<Password
|
|
375
375
|
v-model:value="passwordNew"
|
|
376
376
|
data-testid="account__new_password"
|
|
@@ -380,7 +380,7 @@ export default {
|
|
|
380
380
|
:ignore-password-managers="!isChange"
|
|
381
381
|
/>
|
|
382
382
|
</div>
|
|
383
|
-
<div :class="{'col': isCreateEdit, 'span-
|
|
383
|
+
<div :class="{'col': isCreateEdit, 'span-6': isCreateEdit}">
|
|
384
384
|
<Password
|
|
385
385
|
v-model:value="passwordConfirm"
|
|
386
386
|
data-testid="account__confirm_password"
|
|
@@ -405,7 +405,7 @@ export default {
|
|
|
405
405
|
class="text-error"
|
|
406
406
|
:class="{'row': isCreateEdit}"
|
|
407
407
|
>
|
|
408
|
-
<div :class="{'col': isCreateEdit, 'span-
|
|
408
|
+
<div :class="{'col': isCreateEdit, 'span-6': isCreateEdit}">
|
|
409
409
|
<Banner
|
|
410
410
|
v-for="(err, i) in errorMessages"
|
|
411
411
|
:key="i"
|
|
@@ -432,7 +432,7 @@ export default {
|
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
&.create, &.edit {
|
|
435
|
-
height:
|
|
435
|
+
height: 160px;
|
|
436
436
|
.form {
|
|
437
437
|
.fields {
|
|
438
438
|
display: flex;
|
|
@@ -88,11 +88,12 @@ export default {
|
|
|
88
88
|
<style lang="scss" scoped>
|
|
89
89
|
.cluster-appearance {
|
|
90
90
|
display: flex;
|
|
91
|
-
flex-direction: column;
|
|
92
|
-
|
|
91
|
+
// flex-direction: column;
|
|
92
|
+
// align-items: center;
|
|
93
|
+
// margin: 3px 35px 0px 0px;
|
|
93
94
|
|
|
94
95
|
label {
|
|
95
|
-
margin:
|
|
96
|
+
margin: 10px 10px 0 0;
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
&-preview {
|
|
@@ -112,8 +112,7 @@ export default {
|
|
|
112
112
|
|
|
113
113
|
<template>
|
|
114
114
|
<div
|
|
115
|
-
class="color-input"
|
|
116
|
-
:class="{[mode]:mode, disabled: isDisabled}"
|
|
115
|
+
class="color-input-box"
|
|
117
116
|
:data-testid="componentTestid + '-color-input'"
|
|
118
117
|
:tabindex="isDisabled ? -1 : 0"
|
|
119
118
|
@keydown.space.prevent
|
|
@@ -135,6 +134,7 @@ export default {
|
|
|
135
134
|
</label>
|
|
136
135
|
<div
|
|
137
136
|
:data-testid="componentTestid + '-color-input_preview-container'"
|
|
137
|
+
:class="{[mode]:mode, disabled: isDisabled}"
|
|
138
138
|
class="preview-container"
|
|
139
139
|
@click.stop="$refs.input.click($event)"
|
|
140
140
|
>
|
|
@@ -143,28 +143,31 @@ export default {
|
|
|
143
143
|
class="color-display"
|
|
144
144
|
>
|
|
145
145
|
<input
|
|
146
|
+
style="margin-bottom: 6px;"
|
|
146
147
|
ref="input"
|
|
147
148
|
:aria-disabled="isDisabled ? 'true' : 'false'"
|
|
148
149
|
:aria-label="ariaLabel"
|
|
149
150
|
:aria-describedby="ariaDescribedBy"
|
|
150
151
|
type="color"
|
|
152
|
+
class="color-input"
|
|
151
153
|
:disabled="isDisabled"
|
|
152
154
|
tabindex="-1"
|
|
153
155
|
:value="inputValue"
|
|
154
156
|
@input="$emit('update:value', $event.target.value)"
|
|
155
157
|
>
|
|
156
158
|
</span>
|
|
157
|
-
<span class="
|
|
159
|
+
<span class="color-value">{{ inputValue }}</span>
|
|
158
160
|
</div>
|
|
159
161
|
</div>
|
|
160
162
|
</template>
|
|
161
163
|
|
|
162
164
|
<style lang='scss' scoped>
|
|
163
|
-
.color-input {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
.color-input-box {
|
|
166
|
+
display: flex;
|
|
167
|
+
.text-label {
|
|
168
|
+
display: flex;
|
|
169
|
+
align-items: center;
|
|
170
|
+
}
|
|
168
171
|
&:focus-visible {
|
|
169
172
|
@include focus-outline;
|
|
170
173
|
}
|
|
@@ -201,6 +204,26 @@ export default {
|
|
|
201
204
|
|
|
202
205
|
.color-value {
|
|
203
206
|
margin-left: 4px;
|
|
207
|
+
color: var(--input-label);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&.disabled, &.disabled .selected, &[disabled], &[disabled]:hover {
|
|
211
|
+
color: var(--input-disabled-text);
|
|
212
|
+
outline-width: 0;
|
|
213
|
+
border-color: var(--input-disabled-border);
|
|
214
|
+
cursor: not-allowed;
|
|
215
|
+
|
|
216
|
+
label, span, div, input {
|
|
217
|
+
cursor: not-allowed !important;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.color-value {
|
|
221
|
+
color: var(--muted);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&::placeholder {
|
|
225
|
+
color: var(--input-disabled-placeholder);
|
|
226
|
+
}
|
|
204
227
|
}
|
|
205
228
|
}
|
|
206
229
|
|
|
@@ -226,4 +249,5 @@ export default {
|
|
|
226
249
|
}
|
|
227
250
|
}
|
|
228
251
|
}
|
|
252
|
+
|
|
229
253
|
</style>
|
|
@@ -146,9 +146,9 @@ export default {
|
|
|
146
146
|
</div>
|
|
147
147
|
</div>
|
|
148
148
|
|
|
149
|
-
<div class="row
|
|
149
|
+
<div class="row">
|
|
150
150
|
<div
|
|
151
|
-
class="
|
|
151
|
+
class="span-6"
|
|
152
152
|
data-testid="input-command-workingDir"
|
|
153
153
|
>
|
|
154
154
|
<LabeledInput
|
|
@@ -159,13 +159,13 @@ export default {
|
|
|
159
159
|
@update:value="update"
|
|
160
160
|
/>
|
|
161
161
|
</div>
|
|
162
|
-
<div class="
|
|
162
|
+
<div class="span-6">
|
|
163
163
|
<div
|
|
164
164
|
:style="{ 'align-items': 'center' }"
|
|
165
165
|
class="row"
|
|
166
166
|
>
|
|
167
167
|
<div
|
|
168
|
-
class="col
|
|
168
|
+
class="col"
|
|
169
169
|
data-testid="input-command-stdin"
|
|
170
170
|
>
|
|
171
171
|
<LabeledSelect
|
|
@@ -191,7 +191,6 @@ export default {
|
|
|
191
191
|
</div>
|
|
192
192
|
</div>
|
|
193
193
|
</div>
|
|
194
|
-
<div class="spacer" />
|
|
195
194
|
<h3>{{ t('workload.container.titles.env') }}</h3>
|
|
196
195
|
<EnvVars
|
|
197
196
|
:mode="mode"
|
|
@@ -68,6 +68,20 @@ export default {
|
|
|
68
68
|
};
|
|
69
69
|
});
|
|
70
70
|
},
|
|
71
|
+
},
|
|
72
|
+
methods: {
|
|
73
|
+
hans(row) {
|
|
74
|
+
const conditionMap = {
|
|
75
|
+
'DiskPressure': '磁盘压力',
|
|
76
|
+
'MemoryPressure': '内存压力',
|
|
77
|
+
'PIDPressure': '进程数压力',
|
|
78
|
+
'Ready': '就绪状态',
|
|
79
|
+
'EtcdIsVoter': 'Etcd投票成员',
|
|
80
|
+
'NetworkUnavailable': '网络不可用',
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
return conditionMap[row.condition] || row.condition;
|
|
84
|
+
}
|
|
71
85
|
}
|
|
72
86
|
};
|
|
73
87
|
</script>
|
|
@@ -83,7 +97,7 @@ export default {
|
|
|
83
97
|
:search="false"
|
|
84
98
|
>
|
|
85
99
|
<template #cell:condition="{row}">
|
|
86
|
-
<span :class="{'text-error': row.error}">{{ row
|
|
100
|
+
<span :class="{'text-error': row.error}">{{ hans(row) }}</span>
|
|
87
101
|
</template>
|
|
88
102
|
|
|
89
103
|
<template #cell:status="{row}">
|
|
@@ -55,7 +55,7 @@ export default defineComponent({
|
|
|
55
55
|
<div v-if="!isView">
|
|
56
56
|
<div class="spacer-small" />
|
|
57
57
|
|
|
58
|
-
<div
|
|
58
|
+
<!-- <div
|
|
59
59
|
v-for="(err,idx) in errors"
|
|
60
60
|
:key="idx"
|
|
61
61
|
>
|
|
@@ -65,7 +65,7 @@ export default defineComponent({
|
|
|
65
65
|
:closable="true"
|
|
66
66
|
@close="closeError(idx)"
|
|
67
67
|
/>
|
|
68
|
-
</div>
|
|
68
|
+
</div> -->
|
|
69
69
|
<div class="buttons">
|
|
70
70
|
<div class="left">
|
|
71
71
|
<slot name="left" />
|
|
@@ -97,13 +97,15 @@ export default defineComponent({
|
|
|
97
97
|
|
|
98
98
|
<style lang='scss'>
|
|
99
99
|
.buttons {
|
|
100
|
-
display: grid;
|
|
100
|
+
/* display: grid;
|
|
101
101
|
grid-template-areas: "left right";
|
|
102
|
-
grid-template-columns: "min-content auto";
|
|
102
|
+
grid-template-columns: "min-content auto"; */
|
|
103
|
+
display: flex;
|
|
103
104
|
|
|
104
105
|
.left {
|
|
105
106
|
grid-area: left;
|
|
106
107
|
text-align: left;
|
|
108
|
+
margin-right: 10px;
|
|
107
109
|
|
|
108
110
|
.btn, button {
|
|
109
111
|
margin: 0 $column-gutter 0 0;
|
|
@@ -111,11 +113,13 @@ export default defineComponent({
|
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
.right {
|
|
114
|
-
grid-area: right;
|
|
115
|
-
text-align: right;
|
|
116
|
-
|
|
116
|
+
/* grid-area: right;
|
|
117
|
+
text-align: right; */
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: flex-end;
|
|
117
120
|
.btn, button {
|
|
118
|
-
margin: 0 0 0 $column-gutter;
|
|
121
|
+
/* margin: 0 0 0 $column-gutter; */
|
|
122
|
+
margin: 0 10px 0 0px;
|
|
119
123
|
}
|
|
120
124
|
}
|
|
121
125
|
}
|
|
@@ -128,7 +128,7 @@ export default {
|
|
|
128
128
|
</div>
|
|
129
129
|
|
|
130
130
|
<template v-if="selectHook === 'exec'">
|
|
131
|
-
<div class="
|
|
131
|
+
<div class="col single-value mt-20">
|
|
132
132
|
<h4>{{ t('workload.container.lifecycleHook.exec.title') }}</h4>
|
|
133
133
|
<div>
|
|
134
134
|
<ShellInput
|
|
@@ -143,65 +143,61 @@ export default {
|
|
|
143
143
|
</template>
|
|
144
144
|
|
|
145
145
|
<template v-if="selectHook === 'httpGet'">
|
|
146
|
-
<
|
|
146
|
+
<div class="mt-20"></div>
|
|
147
|
+
<h4 class="mb-10">{{ t('workload.container.lifecycleHook.httpGet.title') }}</h4>
|
|
147
148
|
<div class="var-row">
|
|
148
|
-
<
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
149
|
+
<div class="row">
|
|
150
|
+
<div class="col span-6">
|
|
151
|
+
<LabeledInput
|
|
152
|
+
v-model:value="value.httpGet.host"
|
|
153
|
+
:label="t('workload.container.lifecycleHook.httpGet.host.label')"
|
|
154
|
+
:placeholder="t('workload.container.lifecycleHook.httpGet.host.placeholder')"
|
|
155
|
+
:mode="mode"
|
|
156
|
+
@update:value="update"
|
|
157
|
+
/>
|
|
158
|
+
</div>
|
|
159
|
+
<div class="col span-6">
|
|
160
|
+
<LabeledInput
|
|
161
|
+
v-model:value="value.httpGet.path"
|
|
162
|
+
:label="t('workload.container.lifecycleHook.httpGet.path.label')"
|
|
163
|
+
:placeholder="t('workload.container.lifecycleHook.httpGet.path.placeholder')"
|
|
164
|
+
:mode="mode"
|
|
165
|
+
@update:value="update"
|
|
166
|
+
/>
|
|
167
|
+
</div>
|
|
168
|
+
</div>
|
|
169
|
+
<div class="row">
|
|
170
|
+
<div class="col span-6">
|
|
171
|
+
<LabeledInput
|
|
172
|
+
v-model:value.number="value.httpGet.port"
|
|
173
|
+
type="number"
|
|
174
|
+
:label="t('workload.container.lifecycleHook.httpGet.port.label')"
|
|
175
|
+
:placeholder="t('workload.container.lifecycleHook.httpGet.port.placeholder')"
|
|
176
|
+
:mode="mode"
|
|
177
|
+
required
|
|
178
|
+
@update:value="update"
|
|
179
|
+
/>
|
|
180
|
+
</div>
|
|
181
|
+
<div class="col span-6">
|
|
182
|
+
<LabeledSelect
|
|
183
|
+
v-model:value="value.httpGet.scheme"
|
|
184
|
+
:label="t('workload.container.lifecycleHook.httpGet.scheme.label')"
|
|
185
|
+
:placeholder="t('workload.container.lifecycleHook.httpGet.scheme.placeholder')"
|
|
186
|
+
:options="schemeOptions"
|
|
187
|
+
:mode="mode"
|
|
188
|
+
@update:value="update"
|
|
189
|
+
/>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
179
192
|
</div>
|
|
180
193
|
|
|
181
|
-
<h4>{{ t('workload.container.lifecycleHook.httpHeaders.title') }}</h4>
|
|
194
|
+
<h4 class="mb-10">{{ t('workload.container.lifecycleHook.httpHeaders.title') }}</h4>
|
|
182
195
|
<div
|
|
183
196
|
v-for="(header, index) in value.httpGet.httpHeaders"
|
|
184
197
|
:key="index"
|
|
185
198
|
class="var-row"
|
|
186
199
|
data-testid="hookoption-header-row"
|
|
187
200
|
>
|
|
188
|
-
<LabeledInput
|
|
189
|
-
v-model:value="value.httpGet.httpHeaders[index].name"
|
|
190
|
-
:label="t('workload.container.lifecycleHook.httpHeaders.name.label')"
|
|
191
|
-
:placeholder="t('workload.container.lifecycleHook.httpHeaders.name.placeholder')"
|
|
192
|
-
class="single-value"
|
|
193
|
-
:mode="mode"
|
|
194
|
-
required
|
|
195
|
-
@update:value="update"
|
|
196
|
-
/>
|
|
197
|
-
<LabeledInput
|
|
198
|
-
v-model:value="value.httpGet.httpHeaders[index].value"
|
|
199
|
-
:label="t('workload.container.lifecycleHook.httpHeaders.value.label')"
|
|
200
|
-
:placeholder="t('workload.container.lifecycleHook.httpHeaders.value.placeholder')"
|
|
201
|
-
class="single-value"
|
|
202
|
-
:mode="mode"
|
|
203
|
-
@update:value="update"
|
|
204
|
-
/>
|
|
205
201
|
<div class="remove">
|
|
206
202
|
<button
|
|
207
203
|
v-if="!isView"
|
|
@@ -213,18 +209,41 @@ export default {
|
|
|
213
209
|
<t k="generic.remove" />
|
|
214
210
|
</button>
|
|
215
211
|
</div>
|
|
212
|
+
<div class="row">
|
|
213
|
+
<div class="col span-6">
|
|
214
|
+
<LabeledInput
|
|
215
|
+
v-model:value="value.httpGet.httpHeaders[index].name"
|
|
216
|
+
:label="t('workload.container.lifecycleHook.httpHeaders.name.label')"
|
|
217
|
+
:placeholder="t('workload.container.lifecycleHook.httpHeaders.name.placeholder')"
|
|
218
|
+
class="single-value"
|
|
219
|
+
:mode="mode"
|
|
220
|
+
required
|
|
221
|
+
@update:value="update"
|
|
222
|
+
/>
|
|
223
|
+
</div>
|
|
224
|
+
<div class="col span-6">
|
|
225
|
+
<LabeledInput
|
|
226
|
+
v-model:value="value.httpGet.httpHeaders[index].value"
|
|
227
|
+
:label="t('workload.container.lifecycleHook.httpHeaders.value.label')"
|
|
228
|
+
:placeholder="t('workload.container.lifecycleHook.httpHeaders.value.placeholder')"
|
|
229
|
+
class="single-value"
|
|
230
|
+
:mode="mode"
|
|
231
|
+
@update:value="update"
|
|
232
|
+
/>
|
|
233
|
+
</div>
|
|
234
|
+
</div>
|
|
216
235
|
</div>
|
|
217
236
|
|
|
218
237
|
<div>
|
|
219
238
|
<button
|
|
220
239
|
v-if="!isView"
|
|
221
240
|
type="button"
|
|
222
|
-
class="btn role-link mb-20"
|
|
241
|
+
class="btn role-link mb-20 httpAdd"
|
|
223
242
|
:disabled="mode === 'view'"
|
|
224
243
|
data-testid="hookoption-add-header-button"
|
|
225
244
|
@click.stop="addHeader"
|
|
226
245
|
>
|
|
227
|
-
|
|
246
|
+
添加HTTP头
|
|
228
247
|
</button>
|
|
229
248
|
</div>
|
|
230
249
|
</template>
|
|
@@ -233,11 +252,11 @@ export default {
|
|
|
233
252
|
|
|
234
253
|
<style lang='scss' scoped>
|
|
235
254
|
.var-row{
|
|
236
|
-
display: grid;
|
|
237
|
-
grid-template-columns: 1fr 1fr 1fr 1fr 100px;
|
|
238
|
-
grid-column-gap: 20px;
|
|
239
|
-
margin-bottom: 20px;
|
|
240
|
-
align-items: center;
|
|
255
|
+
// display: grid;
|
|
256
|
+
// grid-template-columns: 1fr 1fr 1fr 1fr 100px;
|
|
257
|
+
// grid-column-gap: 20px;
|
|
258
|
+
// margin-bottom: 20px;
|
|
259
|
+
// align-items: center;
|
|
241
260
|
|
|
242
261
|
.single-value {
|
|
243
262
|
grid-column: span 2;
|
|
@@ -248,6 +267,16 @@ export default {
|
|
|
248
267
|
}
|
|
249
268
|
.remove BUTTON {
|
|
250
269
|
padding: 0px;
|
|
270
|
+
min-width: auto;
|
|
251
271
|
}
|
|
252
272
|
}
|
|
273
|
+
.httpAdd{
|
|
274
|
+
background: var(--accent-btn);
|
|
275
|
+
border: solid 1px var(--primary);
|
|
276
|
+
color: var(--primary);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
H4{
|
|
280
|
+
font-size: 14px;
|
|
281
|
+
}
|
|
253
282
|
</style>
|