mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Change monitoring url path
This commit is contained in:
parent
ba060fe126
commit
bae14e530a
4 changed files with 9 additions and 8 deletions
|
@ -1635,7 +1635,7 @@ var app = Sammy('#main', function (sam) {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Server monitoring
|
// Server monitoring
|
||||||
sam.get('#/monitor', function (c) {
|
sam.get('#/tools/monitor', function (c) {
|
||||||
monitorData = {};
|
monitorData = {};
|
||||||
|
|
||||||
// Why this method ?
|
// Why this method ?
|
||||||
|
@ -1663,7 +1663,7 @@ var app = Sammy('#main', function (sam) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
monitorData.status = false;
|
monitorData.status = false;
|
||||||
c.view('monitor/monitor', monitorData);
|
c.view('tools/tools_monitor', monitorData);
|
||||||
}
|
}
|
||||||
|
|
||||||
}, 'GET');
|
}, 'GET');
|
||||||
|
|
|
@ -11,14 +11,14 @@
|
||||||
<span class="pull-right fa-chevron-right"></span>
|
<span class="pull-right fa-chevron-right"></span>
|
||||||
<h2 class="list-group-item-heading"><span class="fa-fw fa-rocket"></span> {{t 'applications'}}</h2>
|
<h2 class="list-group-item-heading"><span class="fa-fw fa-rocket"></span> {{t 'applications'}}</h2>
|
||||||
</a>
|
</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">
|
<a href="#/tools/update" class="list-group-item slide">
|
||||||
<span class="fa-chevron-right pull-right"></span>
|
<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>
|
<h2 class="list-group-item-heading"><span class="fa-fw fa-refresh"></span> {{t 'system_update'}}</h2>
|
||||||
</a>
|
</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">
|
<a href="#/tools" class="list-group-item slide clearfix">
|
||||||
<span class="pull-right fa-chevron-right"></span>
|
<span class="pull-right fa-chevron-right"></span>
|
||||||
<h2 class="list-group-item-heading"><span class="fa-fw fa-wrench"></span> {{t 'tools'}}</h2>
|
<h2 class="list-group-item-heading"><span class="fa-fw fa-wrench"></span> {{t 'tools'}}</h2>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<span class="fa-chevron-right pull-right"></span>
|
<span class="fa-chevron-right pull-right"></span>
|
||||||
<h2 class="list-group-item-heading">{{t 'tools_security_feed'}}</h2>
|
<h2 class="list-group-item-heading">{{t 'tools_security_feed'}}</h2>
|
||||||
</a>
|
</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>
|
<span class="pull-right fa-chevron-right"></span>
|
||||||
<h2 class="list-group-item-heading">{{t 'monitoring'}}</h2>
|
<h2 class="list-group-item-heading">{{t 'monitoring'}}</h2>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<div class="btn-breadcrumb">
|
<div class="btn-breadcrumb">
|
||||||
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
<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>
|
||||||
|
|
||||||
<div class="separator"></div>
|
<div class="separator"></div>
|
Loading…
Reference in a new issue