forked from laysense/laysite
Prepare LaySite 1.5.1 page routing and template updates
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user