Prepare LaySite 1.5.1 page routing and template updates

This commit is contained in:
2026-11-28 03:07:14 +08:00
parent 50fb30ff3b
commit 474cb766be
41 changed files with 354 additions and 146 deletions
+1
View File
@@ -17,6 +17,7 @@ $e = View::escape(...);
<ul class="admin-list">
<?php foreach ($items as $item): ?>
<li><div class="palette-name"><strong><?= $e($item['name']) ?></strong>
<?php if ($item['id'] === $defaultPaletteId): ?><span class="dashboard-page-state">站点默认</span><?php endif ?>
<?= View::fragment('palette-swatches', ['colors' => $item['colors']]) ?>
</div>
<a class="button button-outline" href="/admin/design/palette/<?= $e($item['id']) ?>"><?= View::fragment('studio-icon', ['icon' => 'edit']) ?>编辑</a>