Contextual host type colors

This commit is contained in:
Jamie Curnow
2018-07-09 12:21:03 +10:00
parent 54d220a191
commit 0455920355
16 changed files with 231 additions and 28 deletions

View File

@ -1,8 +1,9 @@
<div class="card">
<div class="card-status bg-blue"></div>
<div class="card-header">
<h3 class="card-title">Streams</h3>
<div class="card-options">
<a href="#" class="btn btn-outline-teal btn-sm ml-2 add-item">Add Stream</a>
<a href="#" class="btn btn-outline-blue btn-sm ml-2 add-item">Add Stream</a>
</div>
</div>
<div class="card-body no-padding min-100">

View File

@ -42,10 +42,11 @@ module.exports = Mn.View.extend({
}));
} else {
view.showChildView('list_region', new EmptyView({
title: 'There are no Streams',
subtitle: 'Why don\'t you create one?',
link: 'Add Stream',
action: function () {
title: 'There are no Streams',
subtitle: 'Why don\'t you create one?',
link: 'Add Stream',
btn_color: 'blue',
action: function () {
Controller.showNginxStreamForm();
}
}));