From db514f35198a39adfe9f5f2f7f1e0dcf66e7027e Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Wed, 31 Aug 2022 15:08:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/index.html | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/templates/index.html b/templates/index.html index b3f3214..ed915a7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -27,6 +27,11 @@ #app[v-cloak] { display: none; } + + tr.table-header { + font-size: 20px; + font-weight: bold; + } </style> </head> <body> @@ -37,7 +42,7 @@ <h2>当前状态</h2> <table class="current-status-table"> <tbody> - <tr> + <tr class="table-header"> <td>系统</td> <td>{{ collector.basic.system.os }}</td> </tr> @@ -66,7 +71,7 @@ <h2>配置状态</h2> <table class="current-config"> <thead> - <tr> + <tr class="table-header"> <td colspan="2">FFMPEG</td> </tr> </thead> @@ -99,7 +104,7 @@ </table> <table class="current-config"> <thead> - <tr> + <tr class="table-header"> <td colspan="2">弹幕</td> </tr> </thead> @@ -128,7 +133,7 @@ </table> <table class="current-config"> <thead> - <tr> + <tr class="table-header"> <td colspan="2">片段</td> </tr> </thead> @@ -145,7 +150,7 @@ </table> <table class="current-config"> <thead> - <tr> + <tr class="table-header"> <td colspan="2">目录</td> </tr> </thead> @@ -186,8 +191,8 @@ </table> <table class="upload-config"> <thead> - <tr> - <td colspan="2">上传配置<sup>Beta</sup></td> + <tr class="table-header"> + <td colspan="2">上传配置<sup style="background: aliceblue">Beta</sup></td> </tr> </thead> <tbody> @@ -201,7 +206,7 @@ </tr> <tr> <td>视频描述</td> - <td style="white-space: pre-wrap;min-width: 375px;max-width: 100vw;width: 750px;">{{ config.video.desc }}</td> + <td style="white-space: pre-wrap;max-width: calc(100vw - 6em);width: 750px">{{ config.video.desc }}</td> </tr> <tr> <td>视频分区</td>