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>
<meta charset="UTF-8"/>
<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">
#app {
height: 100%;

View file

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

View file

@ -130,7 +130,7 @@ function wsOnMessage(m: { data: any }) {
<template>
<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-card :title="$gettext('Server Info')" :bordered="false">
<p>
@ -189,7 +189,7 @@ function wsOnMessage(m: { data: any }) {
</a-card>
</a-col>
</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-card :title="$gettext('CPU Status')" :bordered="false">
<a-statistic :value="cpu" title="CPU">

View file

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