UX: Moving the create theme buttons, adding buttons to theme index

This commit is contained in:
Kris 2019-02-05 21:40:17 -05:00
parent bdbf77dc38
commit a52b2c9625
2 changed files with 8 additions and 5 deletions

View File

@ -2,6 +2,10 @@
<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">

View File

@ -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;