mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
30b4eb07f7
- This is a first pass at getting a more logical structure. The focus is on moving from admin/frontend to client/server. - The location of the databases is highly important, this isn't expected to change again In the future - client/assets should probably become public/ - more stuff should be shared (helpers etc) - cleanup some confusion around tpl and views
44 lines
2.0 KiB
Handlebars
44 lines
2.0 KiB
Handlebars
{{#if settings.enabled}}
|
|
<header class="widget-header">
|
|
<span class="widget-title">{{Title}} Settings</span>
|
|
<div class="widget-settings-toggle close js-view-widget"></div>
|
|
</header>
|
|
<section class="widget-content">
|
|
{{#each settings.options}}
|
|
<label>
|
|
<span class="title">{{this.title}}</span> <input type="text" value="{{this.value}}"/>
|
|
</label>
|
|
{{/each}}
|
|
</section>
|
|
<footer class="widget-footer">
|
|
<div class="widget-size-options">
|
|
<div class="size-options-container js-widget-resizer" data-size="1x1">
|
|
<span class="mini-widget size-1x1 active"></span>
|
|
<span class="mini-widget size-1x1"></span>
|
|
<span class="mini-widget size-1x1"></span>
|
|
<span class="mini-widget size-1x1"></span>
|
|
</div>
|
|
<div class="size-options-container js-widget-resizer" data-size="2x1">
|
|
<span class="mini-widget size-2x1 active"></span>
|
|
<span class="mini-widget size-1x1"></span>
|
|
<span class="mini-widget size-1x1"></span>
|
|
</div>
|
|
<div class="size-options-container js-widget-resizer" data-size="1x2">
|
|
<span class="mini-widget size-1x2 active"></span>
|
|
<span class="mini-widget size-1x1"></span>
|
|
<span class="mini-widget size-1x1"></span>
|
|
</div>
|
|
<div class="size-options-container js-widget-resizer" data-size="2x2">
|
|
<span class="mini-widget size-2x2 active"></span>
|
|
</div>
|
|
</div>
|
|
<div class="widget-settings-toggle done js-submit-changes"></div>
|
|
</footer>
|
|
{{else}}
|
|
<section class="widget-content">
|
|
</section>
|
|
<footer class="widget-footer">
|
|
<span class="widget-title">{{title}}</span>
|
|
{{#if settings.settingsPane}}<div class="widget-settings-toggle js-view-settings"></div>{{/if}}
|
|
</footer>
|
|
{{/if}} |