mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
performance: Launch the Cockpit graphs directly if possible
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
d93de4fa61
commit
f74ca9044a
@ -4,12 +4,13 @@ FreedomBox app for System Monitoring (cockpit-pcp) in ‘System’.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
|
|
||||||
from plinth.clients import validate
|
from plinth.clients import validate
|
||||||
|
|
||||||
clients = validate([{
|
clients = validate([{
|
||||||
'name': _('Cockpit'),
|
'name': _('Cockpit'),
|
||||||
'platforms': [{
|
'platforms': [{
|
||||||
'type': 'web',
|
'type': 'web',
|
||||||
'url': '/_cockpit/'
|
'url': '/_cockpit/system/graphs'
|
||||||
}]
|
}]
|
||||||
}])
|
}])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user