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
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import { NORMAN } from '@shell/config/types';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
props: {
|
|
6
|
+
value: {
|
|
7
|
+
type: String,
|
|
8
|
+
required: true,
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
useMuted: {
|
|
12
|
+
type: Boolean,
|
|
13
|
+
default: true,
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
showLabels: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false,
|
|
19
|
+
},
|
|
20
|
+
isShowPass: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false,
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
async fetch() {
|
|
27
|
+
this.principal = this.$store.getters['rancher/byId'](NORMAN.PRINCIPAL, this.value);
|
|
28
|
+
|
|
29
|
+
if ( this.principal ) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const principalId = escape(this.value).replace(/\//g, '%2F');
|
|
34
|
+
|
|
35
|
+
try {
|
|
36
|
+
this.principal = await this.$store.dispatch('rancher/find', {
|
|
37
|
+
type: NORMAN.PRINCIPAL,
|
|
38
|
+
id: this.value,
|
|
39
|
+
opt: { url: `/v3/principals/${ principalId }` }
|
|
40
|
+
});
|
|
41
|
+
} catch (e) {
|
|
42
|
+
console.error('Failed to fetch principal', this.value, principalId); // eslint-disable-line no-console
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
|
|
46
|
+
data() {
|
|
47
|
+
// Load from cache immediately if possible
|
|
48
|
+
return { principal: null };
|
|
49
|
+
},
|
|
50
|
+
|
|
51
|
+
computed: {
|
|
52
|
+
showBoth() {
|
|
53
|
+
const p = this.principal;
|
|
54
|
+
|
|
55
|
+
return p.name && p.loginName && p.name.trim().toLowerCase() !== p.loginName.trim().toLowerCase();
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
</script>
|
|
60
|
+
|
|
61
|
+
<template>
|
|
62
|
+
<div
|
|
63
|
+
class="principal"
|
|
64
|
+
:class="{'showLabels': showLabels}"
|
|
65
|
+
>
|
|
66
|
+
<template v-if="!principal && $fetchState.pending">
|
|
67
|
+
<div class="avatar">
|
|
68
|
+
<div class="empty">
|
|
69
|
+
<i class="icon icon-spinner icon-lg" />
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
<div
|
|
73
|
+
v-clean-html="t('principal.loading', null, true)"
|
|
74
|
+
class="name"
|
|
75
|
+
:class="{'text-muted': useMuted}"
|
|
76
|
+
/>
|
|
77
|
+
<div class="description" />
|
|
78
|
+
</template>
|
|
79
|
+
|
|
80
|
+
<template v-else-if="principal">
|
|
81
|
+
<div class="avatar">
|
|
82
|
+
<img
|
|
83
|
+
src="@shell/assets/images/user.png"
|
|
84
|
+
>
|
|
85
|
+
</div>
|
|
86
|
+
<div
|
|
87
|
+
v-if="showLabels"
|
|
88
|
+
class="name"
|
|
89
|
+
>
|
|
90
|
+
<table>
|
|
91
|
+
<tr class="mb-10">
|
|
92
|
+
<td>{{ t('principal.name') }}: </td><td>{{ principal.name || principal.loginName }}</td>
|
|
93
|
+
</tr>
|
|
94
|
+
<tr class="mb-10">
|
|
95
|
+
<td>{{ t('principal.loginName') }}: </td><td>{{ principal.loginName }}</td>
|
|
96
|
+
</tr>
|
|
97
|
+
<tr
|
|
98
|
+
v-if="isShowPass"
|
|
99
|
+
class="mb-10"
|
|
100
|
+
>
|
|
101
|
+
<td>修改密码: </td><td>****** <slot name="edit" /></td>
|
|
102
|
+
</tr>
|
|
103
|
+
<tr><td>{{ t('principal.type') }}: </td><td>{{ principal.displayType }}</td></tr>
|
|
104
|
+
</table>
|
|
105
|
+
</div>
|
|
106
|
+
<template v-else>
|
|
107
|
+
<div class="name">
|
|
108
|
+
<template v-if="showBoth">
|
|
109
|
+
{{ principal.name }}
|
|
110
|
+
<span
|
|
111
|
+
v-if="principal.loginName"
|
|
112
|
+
:class="{'text-muted': useMuted}"
|
|
113
|
+
>({{ principal.loginName }})</span>
|
|
114
|
+
</template>
|
|
115
|
+
<template v-else-if="principal.name">
|
|
116
|
+
{{ principal.name }}
|
|
117
|
+
</template>
|
|
118
|
+
<template v-else>
|
|
119
|
+
{{ principal.loginName }}
|
|
120
|
+
</template>
|
|
121
|
+
</div>
|
|
122
|
+
<div
|
|
123
|
+
class="description"
|
|
124
|
+
:class="{'text-muted': useMuted}"
|
|
125
|
+
>
|
|
126
|
+
{{ principal.displayType }}
|
|
127
|
+
</div>
|
|
128
|
+
</template>
|
|
129
|
+
</template>
|
|
130
|
+
|
|
131
|
+
<template v-else>
|
|
132
|
+
<div class="avatar">
|
|
133
|
+
<div
|
|
134
|
+
class="empty"
|
|
135
|
+
:class="{'text-muted': useMuted}"
|
|
136
|
+
>
|
|
137
|
+
<i class="icon icon-warning icon-lg" />
|
|
138
|
+
</div>
|
|
139
|
+
</div>
|
|
140
|
+
<div
|
|
141
|
+
v-t="'principal.error'"
|
|
142
|
+
class="name text-error"
|
|
143
|
+
/>
|
|
144
|
+
<div
|
|
145
|
+
class="description"
|
|
146
|
+
:class="{'text-muted': useMuted}"
|
|
147
|
+
>
|
|
148
|
+
{{ value }}
|
|
149
|
+
</div>
|
|
150
|
+
</template>
|
|
151
|
+
</div>
|
|
152
|
+
</template>
|
|
153
|
+
|
|
154
|
+
<style lang="scss" scoped>
|
|
155
|
+
$size: 79px;
|
|
156
|
+
|
|
157
|
+
.principal {
|
|
158
|
+
display: grid;
|
|
159
|
+
grid-template-areas:
|
|
160
|
+
"avatar name"
|
|
161
|
+
"avatar description";
|
|
162
|
+
grid-template-columns: $size auto;
|
|
163
|
+
grid-template-rows: auto math.div($size, 2);
|
|
164
|
+
column-gap: 10px;
|
|
165
|
+
|
|
166
|
+
th {
|
|
167
|
+
text-align: left;
|
|
168
|
+
font-weight: normal;
|
|
169
|
+
padding-right: 10px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&.showLabels {
|
|
173
|
+
/* grid-template-areas:
|
|
174
|
+
"avatar name";
|
|
175
|
+
grid-template-columns: 60px auto;
|
|
176
|
+
grid-template-rows: 60px;
|
|
177
|
+
column-gap: 0; */
|
|
178
|
+
display: flex;
|
|
179
|
+
column-gap:0;
|
|
180
|
+
.name {
|
|
181
|
+
display: flex;
|
|
182
|
+
line-height: unset;
|
|
183
|
+
}
|
|
184
|
+
table tr {
|
|
185
|
+
display: block;
|
|
186
|
+
}
|
|
187
|
+
table tr td:not(:first-of-type) {
|
|
188
|
+
padding-left: 10px;
|
|
189
|
+
}
|
|
190
|
+
table tr td:not(:last-of-type) {
|
|
191
|
+
width: 100px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.avatar {
|
|
196
|
+
/* grid-area: avatar;
|
|
197
|
+
text-align: center; */
|
|
198
|
+
width: 287px;
|
|
199
|
+
display: flex;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
align-items: center;
|
|
202
|
+
|
|
203
|
+
DIV.empty {
|
|
204
|
+
border: 1px solid var(--border);
|
|
205
|
+
line-height: $size;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
IMG {
|
|
209
|
+
width: $size;
|
|
210
|
+
height: $size;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
DIV.round, IMG.round {
|
|
214
|
+
border-radius: 50%;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.name {
|
|
219
|
+
grid-area: name;
|
|
220
|
+
line-height: math.div($size, 2);
|
|
221
|
+
overflow-wrap: anywhere;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.description {
|
|
225
|
+
grid-area: description;
|
|
226
|
+
line-height: math.div($size, 2);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
</style>
|
package/pages/auth/login.vue
CHANGED
|
@@ -32,6 +32,7 @@ import loadPlugins from '@shell/plugins/plugin';
|
|
|
32
32
|
import Loading from '@shell/components/Loading';
|
|
33
33
|
import { HARVESTER_NAME as HARVESTER } from '@shell/config/features';
|
|
34
34
|
import TabTitle from '@shell/components/TabTitle.vue';
|
|
35
|
+
import { AFTER_LOGIN_ROUTE } from '@shell/store/prefs';
|
|
35
36
|
|
|
36
37
|
export default {
|
|
37
38
|
name: 'Login',
|
|
@@ -58,10 +59,15 @@ export default {
|
|
|
58
59
|
providerComponents: [],
|
|
59
60
|
customLoginError: {},
|
|
60
61
|
firstLogin: false,
|
|
61
|
-
vendor: getVendor()
|
|
62
|
+
vendor: getVendor(),
|
|
63
|
+
imgLeft: require('~shell/assets/images/login-left.png')
|
|
62
64
|
};
|
|
63
65
|
},
|
|
64
66
|
|
|
67
|
+
created() {
|
|
68
|
+
// this.$store.dispatch('i18n/switchTo', 'zh-hans');
|
|
69
|
+
},
|
|
70
|
+
|
|
65
71
|
computed: {
|
|
66
72
|
...mapGetters(['isSingleProduct']),
|
|
67
73
|
...mapGetters({ t: 'i18n/t', hasMultipleLocales: 'i18n/hasMultipleLocales' }),
|
|
@@ -254,6 +260,13 @@ export default {
|
|
|
254
260
|
|
|
255
261
|
async loginLocal(buttonCb) {
|
|
256
262
|
try {
|
|
263
|
+
// 临时 superadmin 处理
|
|
264
|
+
if (this.username === 'super#Admin') {
|
|
265
|
+
sessionStorage.setItem('TOPLEVELPERMISSIONS', 'superadmin');
|
|
266
|
+
this.username = 'admin';
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
// 登录
|
|
257
270
|
await this.$store.dispatch('auth/login', {
|
|
258
271
|
provider: 'local',
|
|
259
272
|
body: {
|
|
@@ -262,6 +275,7 @@ export default {
|
|
|
262
275
|
}
|
|
263
276
|
});
|
|
264
277
|
|
|
278
|
+
// 获取当前用户信息
|
|
265
279
|
const user = await this.$store.dispatch('rancher/findAll', {
|
|
266
280
|
type: NORMAN.USER,
|
|
267
281
|
opt: { url: '/v3/users?me=true', load: _MULTI }
|
|
@@ -292,6 +306,7 @@ export default {
|
|
|
292
306
|
$plugin: this.$store.$plugin
|
|
293
307
|
});
|
|
294
308
|
|
|
309
|
+
// 登录跳转
|
|
295
310
|
if (this.firstLogin || user[0]?.mustChangePassword) {
|
|
296
311
|
this.$store.dispatch('auth/setInitialPass', this.password);
|
|
297
312
|
this.$router.push({ name: 'auth-setup' });
|
|
@@ -299,6 +314,7 @@ export default {
|
|
|
299
314
|
this.$router.push({ name: 'index' });
|
|
300
315
|
}
|
|
301
316
|
} catch (err) {
|
|
317
|
+
// 登录失败处理
|
|
302
318
|
this.err = err;
|
|
303
319
|
this.timedOut = null;
|
|
304
320
|
this.loggedOut = null;
|
|
@@ -319,20 +335,24 @@ export default {
|
|
|
319
335
|
v-else
|
|
320
336
|
class="main-layout login"
|
|
321
337
|
>
|
|
322
|
-
<TabTitle
|
|
338
|
+
<!-- <TabTitle
|
|
323
339
|
:show-child="false"
|
|
324
340
|
:breadcrumb="false"
|
|
325
341
|
>
|
|
326
342
|
{{ `${vendor} - ${t('login.login')}` }}
|
|
327
|
-
</TabTitle>
|
|
343
|
+
</TabTitle> -->
|
|
328
344
|
<div class="row gutless mb-20">
|
|
329
|
-
<div class="col span-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
345
|
+
<div class="col span-7 img-left" />
|
|
346
|
+
<div class="col span-5 p-20">
|
|
347
|
+
<div
|
|
348
|
+
class="logo-login"
|
|
349
|
+
:style="{ 'marginBottom': errorToDisplay? '0px': '30px'}"
|
|
350
|
+
>
|
|
351
|
+
<img
|
|
352
|
+
src="../../assets/images/login-logo.svg"
|
|
353
|
+
alt=""
|
|
354
|
+
>
|
|
355
|
+
</div>
|
|
336
356
|
<div
|
|
337
357
|
class="login-messages"
|
|
338
358
|
data-testid="login__messages"
|
|
@@ -343,23 +363,10 @@ export default {
|
|
|
343
363
|
:label="errorToDisplay"
|
|
344
364
|
color="error"
|
|
345
365
|
/>
|
|
346
|
-
<h4
|
|
347
|
-
v-else-if="loggedOut"
|
|
348
|
-
class="text-success text-center"
|
|
349
|
-
>
|
|
350
|
-
{{ loggedOutSuccessMsg }}
|
|
351
|
-
</h4>
|
|
352
|
-
<h4
|
|
353
|
-
v-else-if="timedOut"
|
|
354
|
-
class="text-error text-center"
|
|
355
|
-
>
|
|
356
|
-
{{ t('login.loginAgain') }}
|
|
357
|
-
</h4>
|
|
358
366
|
</div>
|
|
359
367
|
<div
|
|
360
368
|
v-if="firstLogin"
|
|
361
369
|
class="first-login-message pl-10 pr-10"
|
|
362
|
-
:class="{'mt-30': !hasLoginMessage}"
|
|
363
370
|
data-testid="first-login-message"
|
|
364
371
|
>
|
|
365
372
|
<t
|
|
@@ -381,7 +388,7 @@ export default {
|
|
|
381
388
|
/>
|
|
382
389
|
</li>
|
|
383
390
|
<li>
|
|
384
|
-
<CopyCode>
|
|
391
|
+
<CopyCode style="background-color: #68686850;border: none;">
|
|
385
392
|
docker logs <u>container-id</u> 2>&1 | grep "Bootstrap Password:"
|
|
386
393
|
</CopyCode>
|
|
387
394
|
</li>
|
|
@@ -401,7 +408,7 @@ export default {
|
|
|
401
408
|
/>
|
|
402
409
|
</div>
|
|
403
410
|
<br>
|
|
404
|
-
<CopyCode>
|
|
411
|
+
<CopyCode style="background-color: #68686850;border: none;">
|
|
405
412
|
{{ kubectlCmd }}
|
|
406
413
|
</CopyCode>
|
|
407
414
|
<br>
|
|
@@ -415,7 +422,6 @@ export default {
|
|
|
415
422
|
|
|
416
423
|
<div
|
|
417
424
|
v-if="(!hasLocal || (hasLocal && !showLocal)) && providers.length"
|
|
418
|
-
:class="{'mt-30': !hasLoginMessage}"
|
|
419
425
|
>
|
|
420
426
|
<component
|
|
421
427
|
:is="providerComponents[idx]"
|
|
@@ -432,30 +438,54 @@ export default {
|
|
|
432
438
|
<template v-if="hasLocal">
|
|
433
439
|
<form
|
|
434
440
|
v-if="showLocal"
|
|
435
|
-
:class="{'mt-30': !hasLoginMessage}"
|
|
436
441
|
@submit.prevent
|
|
437
442
|
>
|
|
438
|
-
<div class="
|
|
439
|
-
<div class="mb-20">
|
|
443
|
+
<div class="login-form-display-label">
|
|
444
|
+
<div class="mb-20 login-input-all-svg">
|
|
445
|
+
<img
|
|
446
|
+
v-if="!firstLogin"
|
|
447
|
+
class="login-svg"
|
|
448
|
+
src="../../assets/images/login/user.svg"
|
|
449
|
+
alt=""
|
|
450
|
+
>
|
|
440
451
|
<LabeledInput
|
|
441
452
|
v-if="!firstLogin"
|
|
442
453
|
ref="username"
|
|
443
454
|
v-model:value.trim="username"
|
|
455
|
+
:placeholder="'请输入用户名'"
|
|
444
456
|
data-testid="local-login-username"
|
|
445
457
|
:label="t('login.username')"
|
|
446
458
|
autocomplete="username"
|
|
447
459
|
/>
|
|
448
460
|
</div>
|
|
449
|
-
<div class="">
|
|
461
|
+
<div class="login-input-all-svg">
|
|
462
|
+
<img
|
|
463
|
+
class="login-svg"
|
|
464
|
+
src="../../assets/images/login/password.svg"
|
|
465
|
+
alt=""
|
|
466
|
+
>
|
|
450
467
|
<Password
|
|
451
468
|
ref="password"
|
|
452
469
|
v-model:value="password"
|
|
470
|
+
:placeholder="'请输入密码'"
|
|
453
471
|
data-testid="local-login-password"
|
|
454
472
|
:label="t('login.password')"
|
|
455
473
|
autocomplete="current-password"
|
|
456
474
|
/>
|
|
457
475
|
</div>
|
|
458
476
|
</div>
|
|
477
|
+
<div
|
|
478
|
+
v-if="!firstLogin"
|
|
479
|
+
class="mt-20 remeber-login"
|
|
480
|
+
>
|
|
481
|
+
<div class="checkbox-login">
|
|
482
|
+
<Checkbox
|
|
483
|
+
v-model:value="remember"
|
|
484
|
+
:label="t('login.remember.label')"
|
|
485
|
+
type="checkbox"
|
|
486
|
+
/>
|
|
487
|
+
</div>
|
|
488
|
+
</div>
|
|
459
489
|
<div class="mt-20">
|
|
460
490
|
<div class="col span-12 text-center">
|
|
461
491
|
<AsyncButton
|
|
@@ -468,16 +498,6 @@ export default {
|
|
|
468
498
|
:error-label="t('asyncButton.default.error')"
|
|
469
499
|
@click="loginLocal"
|
|
470
500
|
/>
|
|
471
|
-
<div
|
|
472
|
-
v-if="!firstLogin"
|
|
473
|
-
class="mt-20"
|
|
474
|
-
>
|
|
475
|
-
<Checkbox
|
|
476
|
-
v-model:value="remember"
|
|
477
|
-
:label="t('login.remember.label')"
|
|
478
|
-
type="checkbox"
|
|
479
|
-
/>
|
|
480
|
-
</div>
|
|
481
501
|
</div>
|
|
482
502
|
</div>
|
|
483
503
|
</form>
|
|
@@ -510,24 +530,25 @@ export default {
|
|
|
510
530
|
v-if="showLocaleSelector && hasMultipleLocales && !isHarvester"
|
|
511
531
|
class="locale-selector"
|
|
512
532
|
>
|
|
513
|
-
<LocaleSelector
|
|
533
|
+
<!-- <LocaleSelector
|
|
514
534
|
mode="login"
|
|
515
|
-
/>
|
|
535
|
+
/> -->
|
|
536
|
+
</div>
|
|
537
|
+
<div class="copyright">
|
|
538
|
+
Copyright 2019-2025 云翼
|
|
516
539
|
</div>
|
|
517
540
|
</div>
|
|
518
|
-
<BrandImage
|
|
519
|
-
class="col span-6 landscape"
|
|
520
|
-
data-testid="login-landscape__img"
|
|
521
|
-
file-name="login-landscape.svg"
|
|
522
|
-
:alt="t('login.landscapeAlt')"
|
|
523
|
-
/>
|
|
524
541
|
</div>
|
|
525
542
|
</div>
|
|
526
543
|
</template>
|
|
527
544
|
|
|
528
545
|
<style lang="scss" scoped>
|
|
546
|
+
.login-username {
|
|
547
|
+
|
|
548
|
+
}
|
|
529
549
|
.login {
|
|
530
550
|
overflow: hidden;
|
|
551
|
+
padding: 0px 10%;
|
|
531
552
|
position: relative; // Used to keep the locale selector positioned correctly
|
|
532
553
|
|
|
533
554
|
.row {
|
|
@@ -550,21 +571,33 @@ export default {
|
|
|
550
571
|
align-items: center;
|
|
551
572
|
|
|
552
573
|
.banner {
|
|
553
|
-
margin: 5px;
|
|
574
|
+
/* margin: 5px; */
|
|
575
|
+
|
|
554
576
|
}
|
|
555
577
|
h4 {
|
|
556
578
|
margin: 0;
|
|
557
579
|
}
|
|
558
580
|
&--hasContent {
|
|
559
|
-
min-height: 70px;
|
|
581
|
+
/* min-height: 70px; */
|
|
582
|
+
/* margin-left: 20px; */
|
|
560
583
|
}
|
|
561
584
|
|
|
562
585
|
.text-error, .banner {
|
|
563
|
-
max-width:
|
|
586
|
+
max-width: 400px;
|
|
587
|
+
justify-content: center;
|
|
564
588
|
}
|
|
565
589
|
}
|
|
566
590
|
|
|
567
591
|
.first-login-message {
|
|
592
|
+
background-color: rgba(160, 160, 160, 0.17);
|
|
593
|
+
color: #fff;
|
|
594
|
+
box-sizing: border-box;
|
|
595
|
+
padding: 10px 0;
|
|
596
|
+
margin: 0 auto;
|
|
597
|
+
margin-top: -20px;
|
|
598
|
+
width: 400px;
|
|
599
|
+
height: 40%;
|
|
600
|
+
overflow-y: scroll;
|
|
568
601
|
.banner {
|
|
569
602
|
margin-bottom: 0;
|
|
570
603
|
border-left: 0;
|
|
@@ -574,6 +607,12 @@ export default {
|
|
|
574
607
|
padding: 0;
|
|
575
608
|
}
|
|
576
609
|
}
|
|
610
|
+
ul {
|
|
611
|
+
list-style: none;
|
|
612
|
+
li{
|
|
613
|
+
margin-bottom: 10px;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
577
616
|
}
|
|
578
617
|
}
|
|
579
618
|
|
|
@@ -586,9 +625,135 @@ export default {
|
|
|
586
625
|
height: 100%;
|
|
587
626
|
place-content: center;
|
|
588
627
|
}
|
|
628
|
+
&>.span-5{
|
|
629
|
+
height: 53%;
|
|
630
|
+
background-color: rgba(68, 68, 68, 0.17);
|
|
631
|
+
position: relative;
|
|
632
|
+
}
|
|
589
633
|
}
|
|
590
634
|
.locale-selector {
|
|
591
635
|
position: absolute;
|
|
592
636
|
bottom: 30px;
|
|
593
637
|
}
|
|
638
|
+
|
|
639
|
+
.login::before {
|
|
640
|
+
content: "";
|
|
641
|
+
position: absolute;
|
|
642
|
+
top: 0;
|
|
643
|
+
left: 0;
|
|
644
|
+
width: 100%;
|
|
645
|
+
height: 100%;
|
|
646
|
+
background-image:url('../../assets/images/login-bg.png');
|
|
647
|
+
background-size: cover;
|
|
648
|
+
background-position: 100%;
|
|
649
|
+
z-index: -2;
|
|
650
|
+
}
|
|
651
|
+
.img-left{
|
|
652
|
+
height: 53%;
|
|
653
|
+
position: relative;
|
|
654
|
+
}
|
|
655
|
+
.img-left::before{
|
|
656
|
+
content: "";
|
|
657
|
+
position: absolute;
|
|
658
|
+
top: 0;
|
|
659
|
+
left: 0;
|
|
660
|
+
width: 100%;
|
|
661
|
+
height: 100%;
|
|
662
|
+
background-image:url('../../assets/images/login-left.png');
|
|
663
|
+
background-size: cover;
|
|
664
|
+
background-position: 50%;
|
|
665
|
+
z-index: -1;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.login-form-display-label {
|
|
669
|
+
display: flex;
|
|
670
|
+
flex-direction: column;
|
|
671
|
+
align-items: center;
|
|
672
|
+
&:deep() label{
|
|
673
|
+
display: none;
|
|
674
|
+
width: 0px;
|
|
675
|
+
}
|
|
676
|
+
&:deep() .addon{
|
|
677
|
+
position: absolute;
|
|
678
|
+
top: 16px !important;
|
|
679
|
+
right: 24px;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
.login-input-all {
|
|
684
|
+
&:deep() .labeled-input{
|
|
685
|
+
background-color: #fff;
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.login-input-all-svg{
|
|
690
|
+
position: relative;
|
|
691
|
+
&:deep() INPUT{
|
|
692
|
+
height: 50px;
|
|
693
|
+
padding-left: 50px;
|
|
694
|
+
font-size: 14px;
|
|
695
|
+
color: #333;
|
|
696
|
+
background-color: #fff;
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
.login-input-all-svg{
|
|
700
|
+
&:deep() .addon {
|
|
701
|
+
top: 15px !important;
|
|
702
|
+
right: 12px !important;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
.login-svg{
|
|
706
|
+
position: absolute;
|
|
707
|
+
top: 12px;
|
|
708
|
+
left: 15px;
|
|
709
|
+
width: 24px;
|
|
710
|
+
z-index: 1;
|
|
711
|
+
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.remeber-login{
|
|
715
|
+
display: flex;
|
|
716
|
+
justify-content: center
|
|
717
|
+
|
|
718
|
+
}
|
|
719
|
+
.checkbox-login{
|
|
720
|
+
width: 400px;
|
|
721
|
+
display: flex;
|
|
722
|
+
justify-content: flex-end;
|
|
723
|
+
}
|
|
724
|
+
.gutless {
|
|
725
|
+
&:deep() button{
|
|
726
|
+
width: 400px;
|
|
727
|
+
height: 50px !important;
|
|
728
|
+
border-radius: 4px;
|
|
729
|
+
font-size: 14px;
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
:deep() .checkbox-label{
|
|
733
|
+
color: #fff;
|
|
734
|
+
}
|
|
735
|
+
.copyright{
|
|
736
|
+
color: #fff;
|
|
737
|
+
/* font-size: 14px; */
|
|
738
|
+
line-height: 15px;
|
|
739
|
+
position: absolute;
|
|
740
|
+
left: 36%;
|
|
741
|
+
width: 100%;
|
|
742
|
+
bottom: 10px;
|
|
743
|
+
}
|
|
744
|
+
.logo-login{
|
|
745
|
+
display: flex;
|
|
746
|
+
justify-content: center;
|
|
747
|
+
margin-top: 30px;
|
|
748
|
+
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
@media only screen and (max-width: 1439px) {
|
|
752
|
+
.logo-login{
|
|
753
|
+
display: flex;
|
|
754
|
+
justify-content: center;
|
|
755
|
+
margin-top: 0px;
|
|
756
|
+
|
|
757
|
+
}
|
|
758
|
+
}
|
|
594
759
|
</style>
|