Refine admin action buttons and add a system about page
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user