mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 08:45:05 +00:00
UX: Moving the create theme buttons, adding buttons to theme index
This commit is contained in:
parent
bdbf77dc38
commit
a52b2c9625
@ -2,6 +2,10 @@
|
|||||||
<img src={{womanArtistEmojiURL}}>
|
<img src={{womanArtistEmojiURL}}>
|
||||||
<div class="content-wrapper">
|
<div class="content-wrapper">
|
||||||
<h1>{{I18n "admin.customize.theme.themes_intro"}}</h1>
|
<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">
|
<div class="external-resources">
|
||||||
{{#each externalResources as |resource|}}
|
{{#each externalResources as |resource|}}
|
||||||
<a href={{resource.link}} class="external-link" target="_blank">
|
<a href={{resource.link}} class="external-link" target="_blank">
|
||||||
|
@ -71,10 +71,6 @@
|
|||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.create-actions {
|
|
||||||
margin-left: auto;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.admin-container {
|
.admin-container {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@ -203,6 +199,9 @@
|
|||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
.create-actions {
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
.content-wrapper {
|
.content-wrapper {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user