mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 23:05:30 +08:00
31 lines
887 B
Handlebars
31 lines
887 B
Handlebars
{{#d-modal-body class="create-theme-modal" title="admin.customize.theme.create"}}
|
|
<div class="input">
|
|
<span class="label">
|
|
{{I18n "admin.customize.theme.create_name"}}
|
|
</span>
|
|
<span class="control">
|
|
{{input value=name placeholder=placeholder}}
|
|
</span>
|
|
</div>
|
|
|
|
<div class="input">
|
|
<span class="label">
|
|
{{I18n "admin.customize.theme.create_type"}}
|
|
</span>
|
|
<span class="control">
|
|
{{combo-box valueAttribute="value" content=types value=selectedType}}
|
|
</span>
|
|
</div>
|
|
{{#if showError}}
|
|
<div class="error">
|
|
{{d-icon "warning"}}
|
|
{{I18n "admin.customize.theme.name_too_short"}}
|
|
</div>
|
|
{{/if}}
|
|
{{/d-modal-body}}
|
|
|
|
<div class="modal-footer">
|
|
{{d-button class="btn btn-primary" label="admin.customize.theme.create" action="createTheme" disabled=saving}}
|
|
{{d-modal-cancel close=(action "closeModal")}}
|
|
</div>
|