修复前端 wol 类名错误

修复前端 meta 块错误
This commit is contained in:
mofeng-git
2024-11-26 05:42:18 +00:00
parent 666f0b694a
commit a32dcd2e00
4 changed files with 22 additions and 6 deletions

View File

@@ -13,7 +13,6 @@ div(id="about-window" class="window")
div(class="window-header")
div(class="window-grab" i18n="kvm_text1") About
button(class="window-button-close") #[b ×]
div(id="about")
table
tr
@@ -28,7 +27,16 @@ div(id="about-window" class="window")
| Copyright © 2018-2024 #[a(target="_blank" href="mailto:mdevaev@gmail.com") Maxim Devaev]
br
div(class="tabs-box")
+about_tab("meta", "Meta", true, "meta")
+about_tab("meta", "Meta", true)
div
span(class="code-comment")
| // You can get this JSON using handle #[a(target="_blank" href="/api/info?fields=meta") /api/info?fields=meta]#[br]
| // In the standard configuration this data#[br]
| // is specified in the file /etc/kvmd/meta.yaml
br
pre(id="kvmd-meta-json")
| No data
+about_tab("hardware", "Hardware", "hardware")
+about_tab("version", "Version", "version")