File tree Expand file tree Collapse file tree 3 files changed +36
-36
lines changed Expand file tree Collapse file tree 3 files changed +36
-36
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ const noData = computed(() => {
5454<template >
5555 <ACheckboxGroup
5656 v-model:value =" value"
57- style = " width : 100 % "
57+ class = " w-full "
5858 :class =" {
5959 'justify-center': noData,
6060 }"
@@ -63,10 +63,7 @@ const noData = computed(() => {
6363 v-if =" !noData"
6464 :gutter =" [16, 16]"
6565 >
66- <ACol
67- v-if =" !hiddenLocal"
68- :span =" 8"
69- >
66+ <ACol v-if =" !hiddenLocal" >
7067 <ACheckbox :value =" 0" >
7168 {{ $gettext('Local') }}
7269 </ACheckbox >
@@ -77,7 +74,6 @@ const noData = computed(() => {
7774 <ACol
7875 v-for =" (node, index) in data"
7976 :key =" index"
80- :span =" 8"
8177 >
8278 <ACheckbox :value =" node.id" >
8379 {{ node.name }}
Original file line number Diff line number Diff line change @@ -162,7 +162,8 @@ provide('data', data)
162162 <ACol
163163 :xs =" 24"
164164 :sm =" 24"
165- :md =" 18"
165+ :md =" 16"
166+ :lg =" 18"
166167 >
167168 <ACard :bordered =" false" >
168169 <template #title >
@@ -240,7 +241,8 @@ provide('data', data)
240241 class =" col-right"
241242 :xs =" 24"
242243 :sm =" 24"
243- :md =" 6"
244+ :md =" 8"
245+ :lg =" 6"
244246 >
245247 <RightSettings />
246248 </ACol >
Original file line number Diff line number Diff line change @@ -72,36 +72,38 @@ function deploy() {
7272 </script >
7373
7474<template >
75- <ContextHolder />
76- <NodeSelector
77- v-model:target =" target"
78- hidden-local
79- :map =" node_map"
80- />
81- <div class =" node-deploy-control" >
82- <ACheckbox v-model:checked =" enabled" >
83- {{ $gettext('Enable') }}
84- </ACheckbox >
85- <div class =" overwrite" >
86- <ACheckbox v-model:checked =" overwrite" >
87- {{ $gettext('Overwrite') }}
75+ <div >
76+ <ContextHolder />
77+ <NodeSelector
78+ v-model:target =" target"
79+ hidden-local
80+ :map =" node_map"
81+ />
82+ <div class =" node-deploy-control" >
83+ <ACheckbox v-model:checked =" enabled" >
84+ {{ $gettext('Enable') }}
8885 </ACheckbox >
89- <ATooltip placement =" bottom" >
90- <template #title >
91- {{ $gettext('Overwrite exist file') }}
92- </template >
93- <InfoCircleOutlined />
94- </ATooltip >
95- </div >
86+ <div class =" overwrite" >
87+ <ACheckbox v-model:checked =" overwrite" >
88+ {{ $gettext('Overwrite') }}
89+ </ACheckbox >
90+ <ATooltip placement =" bottom" >
91+ <template #title >
92+ {{ $gettext('Overwrite exist file') }}
93+ </template >
94+ <InfoCircleOutlined />
95+ </ATooltip >
96+ </div >
9697
97- <AButton
98- :disabled =" target.length === 0"
99- type =" primary"
100- ghost
101- @click =" deploy"
102- >
103- {{ $gettext('Deploy') }}
104- </AButton >
98+ <AButton
99+ :disabled =" target.length === 0"
100+ type =" primary"
101+ ghost
102+ @click =" deploy"
103+ >
104+ {{ $gettext('Deploy') }}
105+ </AButton >
106+ </div >
105107 </div >
106108</template >
107109
You can’t perform that action at this time.
0 commit comments