File tree Expand file tree Collapse file tree 11 files changed +62
-61
lines changed
Expand file tree Collapse file tree 11 files changed +62
-61
lines changed Original file line number Diff line number Diff line change 9292 <div class =" flex flex-col gap-2 items-center justify-center w-full sm:flex-row" >
9393 <div >{{ $t('app.checkInstalledWarn', [data.app]) }}</div >
9494 <span @click =" goRouter(key)" class =" flex items-center justify-center gap-0.5" >
95- <el-icon class = " flex items-center justify-center " ><Position /></el-icon >
95+ <el-icon ><Position /></el-icon >
9696 {{ $t('database.goInstall') }}
9797 </span >
9898 </div >
Original file line number Diff line number Diff line change 229229 <LayoutContent :title =" 'MySQL ' + $t('menu.database')" :divider =" true" >
230230 <template #main >
231231 <div class =" app-warn" >
232- <div >
232+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
233233 <span >{{ $t('app.checkInstalledWarn', [$t('database.noMysql')]) }}</span >
234- <span @click =" goRouter('app')" >
235- <el-icon class = " ml-2 " ><Position /></el-icon >
234+ <span @click =" goRouter('app')" class = " flex items-center justify-center gap-0.5 " >
235+ <el-icon ><Position /></el-icon >
236236 {{ $t('database.goInstall') }}
237237 </span >
238- < div >
239- < img src = " @/assets/images/no_app.svg " / >
240- </ div >
238+ </ div >
239+ < div >
240+ <img src = " @/assets/images/no_app.svg " / >
241241 </div >
242242 </div >
243243 </template >
Original file line number Diff line number Diff line change 189189 <LayoutContent :title =" 'PostgreSQL ' + $t('menu.database')" :divider =" true" >
190190 <template #main >
191191 <div class =" app-warn" >
192- <div >
192+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
193193 <span >{{ $t('app.checkInstalledWarn', [$t('database.noPostgresql')]) }}</span >
194- <span @click =" goRouter('app')" >
195- <el-icon class = " ml-2 " ><Position /></el-icon >
194+ <span @click =" goRouter('app')" class = " flex items-center justify-center gap-0.5 " >
195+ <el-icon ><Position /></el-icon >
196196 {{ $t('database.goInstall') }}
197197 </span >
198- < div >
199- < img src = " @/assets/images/no_app.svg " / >
200- </ div >
198+ </ div >
199+ < div >
200+ <img src = " @/assets/images/no_app.svg " / >
201201 </div >
202202 </div >
203203 </template >
Original file line number Diff line number Diff line change 9999 <LayoutContent :title =" 'Redis ' + $t('menu.database')" :divider =" true" >
100100 <template #main >
101101 <div class =" app-warn" >
102- <div >
102+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
103103 <span >{{ $t('app.checkInstalledWarn', ['Redis']) }}</span >
104- <span @click =" goRouter('app')" >
105- <el-icon class = " ml-2 " ><Position /></el-icon >
104+ <span @click =" goRouter('app')" class = " flex items-center justify-center gap-0.5 " >
105+ <el-icon ><Position /></el-icon >
106106 {{ $t('database.goInstall') }}
107107 </span >
108- < div >
109- < img src = " @/assets/images/no_app.svg " / >
110- </ div >
108+ </ div >
109+ < div >
110+ <img src = " @/assets/images/no_app.svg " / >
111111 </div >
112112 </div >
113113 </template >
Original file line number Diff line number Diff line change 6161 <LayoutContent :title =" $t('firewall.firewall')" :divider =" true" >
6262 <template #main >
6363 <div class =" app-warn" >
64- <div >
64+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
6565 <span >{{ $t('firewall.notSupport') }}</span >
66- <span @click =" toDoc" >
67- <el-icon class = " ml-2 " ><Position /></el-icon >
66+ <span @click =" toDoc" class = " flex items-center justify-center gap-0.5 " >
67+ <el-icon ><Position /></el-icon >
6868 {{ $t('firewall.quickJump') }}
6969 </span >
70- < div >
71- < img src = " @/assets/images/no_app.svg " / >
72- </ div >
70+ </ div >
71+ < div >
72+ <img src = " @/assets/images/no_app.svg " / >
7373 </div >
7474 </div >
7575 </template >
Original file line number Diff line number Diff line change 9999 <LayoutContent :title =" $t('firewall.firewall')" :divider =" true" >
100100 <template #main >
101101 <div class =" app-warn" >
102- <div >
102+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
103103 <span >{{ $t('firewall.notSupport') }}</span >
104- <span @click =" toDoc" >
105- <el-icon class = " ml-2 " ><Position /></el-icon >
104+ <span @click =" toDoc" class = " flex items-center justify-center gap-0.5 " >
105+ <el-icon ><Position /></el-icon >
106106 {{ $t('firewall.quickJump') }}
107107 </span >
108- < div >
109- < img src = " @/assets/images/no_app.svg " / >
110- </ div >
108+ </ div >
109+ < div >
110+ <img src = " @/assets/images/no_app.svg " / >
111111 </div >
112112 </div >
113113 </template >
@@ -130,6 +130,7 @@ import { Host } from '@/api/interface/host';
130130import { ElMessageBox } from ' element-plus' ;
131131import i18n from ' @/lang' ;
132132import { MsgSuccess } from ' @/utils/message' ;
133+ import {Position } from " @element-plus/icons-vue" ;
133134
134135const loading = ref ();
135136const activeTag = ref (' address' );
Original file line number Diff line number Diff line change 149149 <LayoutContent :title =" $t('firewall.firewall')" :divider =" true" >
150150 <template #main >
151151 <div class =" app-warn" >
152- <div >
152+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
153153 <span >{{ $t('firewall.notSupport') }}</span >
154- <span @click =" toDoc" >
155- <el-icon class = " ml-2 " ><Position /></el-icon >
154+ <span @click =" toDoc" class = " flex items-center justify-center gap-0.5 " >
155+ <el-icon ><Position /></el-icon >
156156 {{ $t('firewall.quickJump') }}
157157 </span >
158- < div >
159- < img src = " @/assets/images/no_app.svg " / >
160- </ div >
158+ </ div >
159+ < div >
160+ <img src = " @/assets/images/no_app.svg " / >
161161 </div >
162162 </div >
163163 </template >
Original file line number Diff line number Diff line change 7676 <LayoutContent :title =" $t('toolbox.clam.clam')" :divider =" true" v-if =" !data.isExist" v-loading =" loading" >
7777 <template #main >
7878 <div class =" app-warn" >
79- <div >
79+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
8080 <span v-if =" !data.isExist" >{{ $t('toolbox.clam.noClam') }}</span >
81- <span @click =" toDoc()" v-if =" !data.isExist" >
82- <el-icon class = " ml-2 " ><Position /></el-icon >
81+ <span @click =" toDoc()" v-if =" !data.isExist" class = " flex items-center justify-center gap-0.5 " >
82+ <el-icon ><Position /></el-icon >
8383 {{ $t('firewall.quickJump') }}
8484 </span >
85- < div >
86- < img alt = " " src = " @/assets/images/no_app.svg " / >
87- </ div >
85+ </ div >
86+ < div >
87+ <img alt = " " src = " @/assets/images/no_app.svg " / >
8888 </div >
8989 </div >
9090 </template >
Original file line number Diff line number Diff line change 149149 <LayoutContent title =" Fail2ban" :divider =" true" >
150150 <template #main >
151151 <div class =" app-warn" >
152- <div >
152+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
153153 <span >{{ $t('toolbox.fail2ban.noFail2ban') }}</span >
154- <span @click =" toDoc" >
155- <el-icon class = " ml-2 " ><Position /></el-icon >
154+ <span @click =" toDoc" class = " flex items-center justify-center gap-0.5 " >
155+ <el-icon ><Position /></el-icon >
156156 {{ $t('firewall.quickJump') }}
157157 </span >
158- < div >
159- < img src = " @/assets/images/no_app.svg " / >
160- </ div >
158+ </ div >
159+ < div >
160+ <img src = " @/assets/images/no_app.svg " / >
161161 </div >
162162 </div >
163163 </template >
Original file line number Diff line number Diff line change 148148 <LayoutContent title =" FTP" :divider =" true" >
149149 <template #main >
150150 <div class =" app-warn" >
151- <div >
151+ <div class = " flex flex-col gap-2 items-center justify-center w-full sm:flex-row " >
152152 <span >{{ $t('toolbox.ftp.noFtp') }}</span >
153- <span @click =" toDoc" >
154- <el-icon class = " ml-2 " ><Position /></el-icon >
153+ <span @click =" toDoc" class = " flex items-center justify-center gap-0.5 " >
154+ <el-icon ><Position /></el-icon >
155155 {{ $t('firewall.quickJump') }}
156156 </span >
157- < div >
158- < img src = " @/assets/images/no_app.svg " / >
159- </ div >
157+ </ div >
158+ < div >
159+ <img src = " @/assets/images/no_app.svg " / >
160160 </div >
161161 </div >
162162 </template >
You can’t perform that action at this time.
0 commit comments