mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-16 13:56:52 +00:00
Contextual host type colors
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<div class="card">
|
||||
<div class="card-status bg-danger"></div>
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">404 Hosts</h3>
|
||||
<div class="card-options">
|
||||
<a href="#" class="btn btn-outline-teal btn-sm ml-2 add-item">Add 404 Host</a>
|
||||
<a href="#" class="btn btn-outline-danger btn-sm ml-2 add-item">Add 404 Host</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-body no-padding min-100">
|
||||
|
@@ -42,10 +42,11 @@ module.exports = Mn.View.extend({
|
||||
}));
|
||||
} else {
|
||||
view.showChildView('list_region', new EmptyView({
|
||||
title: 'There are no 404 Hosts',
|
||||
subtitle: 'Why don\'t you create one?',
|
||||
link: 'Add 404 Host',
|
||||
action: function () {
|
||||
title: 'There are no 404 Hosts',
|
||||
subtitle: 'Why don\'t you create one?',
|
||||
link: 'Add 404 Host',
|
||||
btn_color: 'danger',
|
||||
action: function () {
|
||||
Controller.showNginxDeadForm();
|
||||
}
|
||||
}));
|
||||
|
Reference in New Issue
Block a user