Adding placeholder for none state

This commit is contained in:
Kris 2018-05-09 14:04:14 -04:00
parent 1d6dc8f80d
commit c6f0284529
3 changed files with 14 additions and 3 deletions

View File

@ -4,8 +4,8 @@
<h2>{{i18n "explorer.admins_only"}}</h2>
{{else}}
<div class="query-list">
{{combo-box valueAttribute="id" value=selectedQueryId nameProperty="listName" content=content castInteger="true" nameChanges="true"}}
{{d-button action="showCreate" icon="plus" class="no-text"}}
{{combo-box valueAttribute="id" value=selectedQueryId nameProperty="listName" none="explorer.menu_none" content=content castInteger="true" nameChanges="true"}}
{{d-button action="showCreate" icon="plus" class="no-icon"}}
{{d-button action="importQuery" label="explorer.import.label" icon="upload"}}
</div>

View File

@ -200,6 +200,16 @@
margin: 10px 0;
}
.query-list {
display: flex;
.combo-box, button {
margin-right: .5em;
}
li.none {
color: $primary-medium;
}
}
.explorer-pad-bottom {
margin-bottom: 200px;
}

View File

@ -58,3 +58,4 @@ en:
reset_params: "Reset"
no_queries: "There are no queries. Why not "
no_queries_hook: "create one?"
menu_none: "Select a query"