Change monitoring url path

This commit is contained in:
Laurent Peuch 2015-10-01 22:46:15 +02:00
parent ba060fe126
commit bae14e530a
4 changed files with 9 additions and 8 deletions

View file

@ -1635,7 +1635,7 @@ var app = Sammy('#main', function (sam) {
*/
// Server monitoring
sam.get('#/monitor', function (c) {
sam.get('#/tools/monitor', function (c) {
monitorData = {};
// Why this method ?
@ -1663,7 +1663,7 @@ var app = Sammy('#main', function (sam) {
}
else {
monitorData.status = false;
c.view('monitor/monitor', monitorData);
c.view('tools/tools_monitor', monitorData);
}
}, 'GET');

View file

@ -11,14 +11,14 @@
<span class="pull-right fa-chevron-right"></span>
<h2 class="list-group-item-heading"><span class="fa-fw fa-rocket"></span> {{t 'applications'}}</h2>
</a>
<a href="#/services" class="list-group-item slide clearfix">
<span class="pull-right fa-chevron-right"></span>
<h2 class="list-group-item-heading"><span class="fa-fw fa-cog"></span> {{t 'services'}}</h2>
</a>
<a href="#/tools/update" class="list-group-item slide">
<span class="fa-chevron-right pull-right"></span>
<h2 class="list-group-item-heading"><span class="fa-fw fa-refresh"></span> {{t 'system_update'}}</h2>
</a>
<a href="#/services" class="list-group-item slide clearfix">
<span class="pull-right fa-chevron-right"></span>
<h2 class="list-group-item-heading"><span class="fa-fw fa-cog"></span> {{t 'services'}}</h2>
</a>
<a href="#/tools" class="list-group-item slide clearfix">
<span class="pull-right fa-chevron-right"></span>
<h2 class="list-group-item-heading"><span class="fa-fw fa-wrench"></span> {{t 'tools'}}</h2>

View file

@ -19,7 +19,7 @@
<span class="fa-chevron-right pull-right"></span>
<h2 class="list-group-item-heading">{{t 'tools_security_feed'}}</h2>
</a>
<a href="#/monitor" class="list-group-item slide clearfix">
<a href="#/tools/monitor" class="list-group-item slide clearfix">
<span class="pull-right fa-chevron-right"></span>
<h2 class="list-group-item-heading">{{t 'monitoring'}}</h2>
</a>

View file

@ -1,6 +1,7 @@
<div class="btn-breadcrumb">
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
<a href="#/monitor">{{t 'monitoring'}}</a>
<a href="#/tools">{{t 'tools'}}</a>
<a href="#/tools/monitor">{{t 'monitoring'}}</a>
</div>
<div class="separator"></div>