0xJacky преди 3 години
родител
ревизия
13689f8dd7
променени са 4 файла, в които са добавени 9 реда и са изтрити 6 реда
  1. 1 0
      README-zh_CN.md
  2. 1 0
      README-zh_TW.md
  3. 1 0
      README.md
  4. 6 6
      frontend/src/views/dashboard/DashBoard.vue

+ 1 - 0
README-zh_CN.md

@@ -76,6 +76,7 @@ Nginx 网络管理界面,由  [0xJacky](https://jackyu.cn/) 与 [Hintay](https
 - 在线编辑 Nginx 配置文件,编辑器支持 Nginx 配置语法高亮
 - 使用 Go 和 Vue 开发,发行版本为单个可执行的二进制文件
 - 前端支持暗夜模式
+- 保存配置文件后自动测试配置文件并重载 Nginx
 
 ### 国际化
 

+ 1 - 0
README-zh_TW.md

@@ -78,6 +78,7 @@ Nginx 網路管理介面,由  [0xJacky](https://jackyu.cn/) 與 [Hintay](https
 - 線上編輯 Nginx 配置檔案,編輯器支援 Nginx 配置語法高亮
 - 使用 Go 和 Vue 開發,發行版本為單個可執行的二進位制檔案
 - 前端支援暗夜模式
+- 保存配置文件後自動測試配置文件並重載 Nginx
 
 ### 國際化
 

+ 1 - 0
README.md

@@ -74,6 +74,7 @@ URL:[https://nginxui.jackyu.cn](https://nginxui.jackyu.cn)
 - Online editing websites configuration files, the editor support highlight nginx configuration syntax.
 - Written in Go and Vue, distribution is a single executable binary.
 - Frontend support Dark Mode
+- Automatically test configuration file and reload nginx after saving configuration.
 
 ### Internationalization
 

+ 6 - 6
frontend/src/views/dashboard/DashBoard.vue

@@ -1,7 +1,7 @@
 <template>
     <div>
         <a-row :gutter="[16,16]" class="first-row">
-            <a-col :xl="6" :lg="24" :md="24">
+            <a-col :xl="7" :lg="24" :md="24">
                 <a-card :title="$gettext('Server Info')">
                     <p>
                         <translate>Uptime:</translate>
@@ -25,7 +25,7 @@
                     </p>
                 </a-card>
             </a-col>
-            <a-col :xl="12" :lg="18" :md="24" class="chart_dashboard">
+            <a-col :xl="10" :lg="18" :md="24" class="chart_dashboard">
                 <a-card>
                     <a-row>
                         <a-col :xs="24" :sm="24" :md="8">
@@ -44,7 +44,7 @@
                     </a-row>
                 </a-card>
             </a-col>
-            <a-col :xl="6" :lg="6" :sm="24" class="chart_dashboard">
+            <a-col :xl="7" :lg="6" :sm="24" class="chart_dashboard">
                 <a-card>
                     <a-row :gutter="16">
                         <a-col :span="24">
@@ -60,7 +60,7 @@
             </a-col>
         </a-row>
         <a-row class="row-two" :gutter="[16,32]">
-            <a-col :xl="7" :lg="24" :md="24" :sm="24">
+            <a-col :xl="8" :lg="24" :md="24" :sm="24">
                 <a-card :title="$gettext('CPU Status')">
                     <a-statistic :value="cpu" title="CPU">
                         <template v-slot:suffix>
@@ -70,7 +70,7 @@
                     <c-p-u-chart :series="cpu_analytic_series"/>
                 </a-card>
             </a-col>
-            <a-col :xl="10" :lg="12" :md="24" :sm="24">
+            <a-col :xl="8" :lg="12" :md="24" :sm="24">
                 <a-card :title="$gettext('Network')">
                     <a-row :gutter="16">
                         <a-col :span="12">
@@ -92,7 +92,7 @@
                     <net-chart :series="net_analytic"/>
                 </a-card>
             </a-col>
-            <a-col :xl="7" :lg="12" :md="24" :sm="24">
+            <a-col :xl="8" :lg="12" :md="24" :sm="24">
                 <a-card :title="$gettext('Disk IO')">
                     <a-row :gutter="16">
                         <a-col :span="12">