File tree Expand file tree Collapse file tree 3 files changed +16
-4
lines changed
site_edit/components/EnableTLS Expand file tree Collapse file tree 3 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const loading = computed(() =>
26
26
27
27
<template >
28
28
<ASpin class =" h-full base-editor-spin" :spinning =" loading" :indicator =" indicator" >
29
- <ARow :gutter =" { xs: 0, sm: 16 } " >
29
+ <ARow :gutter =" [16, 16] " >
30
30
<ACol
31
31
:xs =" 24"
32
32
:sm =" 24"
@@ -39,7 +39,7 @@ const loading = computed(() =>
39
39
</ACol >
40
40
41
41
<ACol
42
- :class =" props. colRightClass"
42
+ :class =" colRightClass"
43
43
:xs =" 24"
44
44
:sm =" 24"
45
45
:md =" 24"
Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ const supportSSL = computed(() => {
107
107
</script >
108
108
109
109
<template >
110
- <div v-if =" hasServers" >
110
+ <div v-if =" hasServers" class = " px-6 " >
111
111
<ContextHolder />
112
112
113
113
<AFormItem
114
114
v-if =" !supportSSL"
115
115
:label =" $gettext('Enable TLS')"
116
116
>
117
- <ASwitch @change =" confirmChangeTLS" />
117
+ <ASwitch class = " <sm:ml-2 " @change =" confirmChangeTLS" />
118
118
</AFormItem >
119
119
</div >
120
120
</template >
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ function handle_click_duplicate(name: string) {
70
70
:table-props =" {
71
71
rowKey: 'name',
72
72
}"
73
+ disable-add
73
74
disable-delete
74
75
disable-view
75
76
disable-export
@@ -82,6 +83,17 @@ function handle_click_duplicate(name: string) {
82
83
path: `/sites/${encodeURIComponent(record.name)}`,
83
84
})"
84
85
>
86
+ <template #beforeListActions >
87
+ <AButton
88
+ type =" link"
89
+ size =" small"
90
+ @click =" router.push({
91
+ path: '/sites/add',
92
+ })"
93
+ >
94
+ {{ $gettext('Add') }}
95
+ </AButton >
96
+ </template >
85
97
<template #beforeCardBody >
86
98
<InspectConfig ref =" inspectConfig" />
87
99
<EnvGroupTabs v-model:active-key =" envGroupId" :env-groups =" envGroups" />
You can’t perform that action at this time.
0 commit comments