Refine admin action buttons and add a system about page

This commit is contained in:
2026-11-25 17:43:57 +08:00
parent 06bf1c8fc0
commit 2e1e43a3ce
19 changed files with 152 additions and 51 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
use App\Content\View;
$e = View::escape(...);
?>
<header class="admin-heading"><h1><?= $e($title) ?></h1></header>
<section class="admin-panel admin-system-info" aria-labelledby="system-info-title">
<h2 id="system-info-title">版本与运行环境</h2>
<dl>
<?php foreach (['LaySite' => $laysiteVersion] + $systemInfo as $name => $value): ?>
<div><dt><?= $e($name) ?></dt><dd><?= $e($value) ?></dd></div>
<?php endforeach ?>
</dl>
</section>