This commit is contained in:
0xJacky 2022-08-02 16:30:06 +08:00
parent 34fc0a23ca
commit ee25eefec4
5 changed files with 6 additions and 5 deletions

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"/> <meta charset="UTF-8"/>
<link href="/favicon.ico" rel="icon"> <link href="/favicon.ico" rel="icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> <meta content="width=device-width,initial-scale=1.0,user-scalable=0" name="viewport">
<style type="text/css"> <style type="text/css">
#app { #app {
height: 100%; height: 100%;

View file

@ -48,6 +48,7 @@ const lang = computed(() => {
v-model:visible="drawer_visible" v-model:visible="drawer_visible"
placement="left" placement="left"
@close="drawer_visible=false" @close="drawer_visible=false"
width="256"
> >
<side-bar/> <side-bar/>
</a-drawer> </a-drawer>

View file

@ -130,7 +130,7 @@ function wsOnMessage(m: { data: any }) {
<template> <template>
<div> <div>
<a-row :gutter="[16,16]" class="first-row"> <a-row :gutter="[{xs: 0, sm: 16}, 16]" class="first-row">
<a-col :xl="7" :lg="24" :md="24" :xs="24"> <a-col :xl="7" :lg="24" :md="24" :xs="24">
<a-card :title="$gettext('Server Info')" :bordered="false"> <a-card :title="$gettext('Server Info')" :bordered="false">
<p> <p>
@ -189,7 +189,7 @@ function wsOnMessage(m: { data: any }) {
</a-card> </a-card>
</a-col> </a-col>
</a-row> </a-row>
<a-row class="row-two" :gutter="[16,32]"> <a-row :gutter="[{xs: 0, sm: 16}, 16]" class="row-two">
<a-col :xl="8" :lg="24" :md="24" :sm="24" :xs="24"> <a-col :xl="8" :lg="24" :md="24" :sm="24" :xs="24">
<a-card :title="$gettext('CPU Status')" :bordered="false"> <a-card :title="$gettext('CPU Status')" :bordered="false">
<a-statistic :value="cpu" title="CPU"> <a-statistic :value="cpu" title="CPU">

View file

@ -88,7 +88,7 @@ function destroy(site_name: any) {
:disable_search="true" :disable_search="true"
row-key="name" row-key="name"
ref="table" ref="table"
@clickEdit="r => this.$router.push({ @clickEdit="r => $router.push({
path: '/domain/' + r path: '/domain/' + r
})" })"
:deletable="false" :deletable="false"

View file

@ -1 +1 @@
{"version":"1.5.0","build_id":15,"total_build":85} {"version":"1.5.0","build_id":17,"total_build":87}