UX: Moving the create theme buttons, adding buttons to theme index
This commit is contained in:
parent
bdbf77dc38
commit
a52b2c9625
|
@ -2,13 +2,17 @@
|
|||
<img src={{womanArtistEmojiURL}}>
|
||||
<div class="content-wrapper">
|
||||
<h1>{{I18n "admin.customize.theme.themes_intro"}}</h1>
|
||||
<div class="create-actions">
|
||||
{{d-button label="admin.customize.new" icon="plus" action=(route-action "showCreateModal") class="btn-primary"}}
|
||||
{{d-button action=(route-action "importModal") icon="upload" label="admin.customize.import" class="btn-default"}}
|
||||
</div>
|
||||
<div class="external-resources">
|
||||
{{#each externalResources as |resource|}}
|
||||
<a href={{resource.link}} class="external-link" target="_blank">
|
||||
{{d-icon resource.icon}}
|
||||
{{I18n resource.key}}
|
||||
</a>
|
||||
{{/each}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -71,10 +71,6 @@
|
|||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.create-actions {
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
.admin-container {
|
||||
padding: 0;
|
||||
|
@ -203,6 +199,9 @@
|
|||
vertical-align: top;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.create-actions {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.content-wrapper {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
|
|
Loading…
Reference in New Issue