mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 00:35:31 +08:00
e0cc29d658
* FEATURE: themes and components split * two seperate methods to switch theme type * use strict equality operator
25 lines
723 B
Handlebars
25 lines
723 B
Handlebars
{{#d-modal-body class="create-theme-modal" title="admin.customize.theme.modal_title"}}
|
|
<div class="input">
|
|
<span class="label">
|
|
{{I18n "admin.customize.theme.create_name"}}
|
|
</span>
|
|
<span class="control">
|
|
{{input value=name}}
|
|
</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>
|
|
{{/d-modal-body}}
|
|
|
|
<div class="modal-footer">
|
|
{{d-button class="btn btn-primary" label="admin.customize.theme.create" action="createTheme" disabled=loading}}
|
|
{{d-modal-cancel close=(action "closeModal")}}
|
|
</div>
|