Prepare LaySite 1.5.0 canvas and publishing improvements

This commit is contained in:
2026-11-28 01:32:59 +08:00
parent cfa1f02912
commit 044da13a8c
25 changed files with 891 additions and 171 deletions
+3 -1
View File
@@ -16,7 +16,9 @@ $e = View::escape(...);
<?php if (!$items): ?><p class="field-note">暂无自定义配色。</p><?php endif ?>
<ul class="admin-list">
<?php foreach ($items as $item): ?>
<li><strong><?= $e($item['name']) ?></strong>
<li><div class="palette-name"><strong><?= $e($item['name']) ?></strong>
<?= 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>
</li>
<?php endforeach ?>