2020-04-14 02:18:49 -04:00
|
|
|
<div class="current-style {{if maximized "maximized"}}">
|
|
|
|
<div class="wrapper">
|
|
|
|
<h2>{{i18n "admin.customize.theme.edit_css_html"}} {{#link-to showRouteName model.id replace=true}}{{model.name}}{{/link-to}}</h2>
|
2017-04-12 10:52:52 -04:00
|
|
|
|
2020-03-06 11:35:18 -05:00
|
|
|
{{admin-theme-editor
|
|
|
|
theme=model
|
|
|
|
editRouteName=editRouteName
|
2019-02-19 07:56:01 -05:00
|
|
|
currentTargetName=currentTargetName
|
|
|
|
fieldName=fieldName
|
2020-04-14 02:18:49 -04:00
|
|
|
fieldAdded=(action "fieldAdded")
|
2019-02-19 07:56:01 -05:00
|
|
|
maximized=maximized
|
2020-04-14 02:18:49 -04:00
|
|
|
onlyOverriddenChanged=(action "onlyOverriddenChanged")
|
2019-02-19 07:56:01 -05:00
|
|
|
}}
|
2020-03-06 11:35:18 -05:00
|
|
|
|
2020-04-14 02:18:49 -04:00
|
|
|
<div class="admin-footer">
|
|
|
|
<div class="status-actions">
|
2017-04-12 10:52:52 -04:00
|
|
|
{{#unless model.changed}}
|
2020-04-14 02:18:49 -04:00
|
|
|
<a href={{previewUrl}} rel="noopener" title={{i18n "admin.customize.explain_preview"}} class="preview-link" target="_blank">
|
|
|
|
{{i18n "admin.customize.preview"}}
|
2020-03-06 11:35:18 -05:00
|
|
|
</a>
|
2017-04-12 10:52:52 -04:00
|
|
|
{{/unless}}
|
|
|
|
</div>
|
|
|
|
|
2020-04-14 02:18:49 -04:00
|
|
|
<div class="buttons">
|
|
|
|
{{#d-button action=(action "save") disabled=saveDisabled class="btn-primary"}}
|
2017-04-12 10:52:52 -04:00
|
|
|
{{saveButtonText}}
|
|
|
|
{{/d-button}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|