mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
22 lines
1004 B
Handlebars
22 lines
1004 B
Handlebars
<div class="gh-stack-item {{if (eq @index 0) "gh-setting-first" "gh-setting"}}">
|
|
<div class="flex-grow-1">
|
|
<div class="flex justify-between items-center relative">
|
|
<label class="gh-setting-title" for="announcement-background">
|
|
Background color
|
|
</label>
|
|
|
|
<div class="kg-settings-panel-control-input">
|
|
<div class="gh-btn-group kg-settings-headerstyle-btn-group">
|
|
{{#each this.options as |settingOption|}}
|
|
<button
|
|
class="gh-btn {{settingOption.className}} {{if (eq this.background settingOption.value) "gh-btn-group-selected"}}"
|
|
type="button"
|
|
title={{settingOption.label}}
|
|
{{on "click" (fn this.setBackground settingOption.value)}}
|
|
></button>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |