From 23ddfc61a62645231e5c3dc2fc3faeff9670215c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 11 Apr 2022 13:37:20 +0200 Subject: index.html: shorten commands --- html/index.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'html/index.html') diff --git a/html/index.html b/html/index.html index e3ac8b3..c472a34 100644 --- a/html/index.html +++ b/html/index.html @@ -37,22 +37,22 @@
-

systemctl --system list-units --failed

+

systemctl list-units --failed

Data not loaded.

-

systemctl --system status

+

systemctl status

Data not loaded.

-

systemctl --system list-timers --all

+

systemctl list-timers --all

Data not loaded.

-

journalctl --system -b --lines=20

+

journalctl -b --lines=20

Data not loaded.
@@ -313,10 +313,10 @@ function add_user(name) { .append($('
', {'class': 'col'}) .append($('

').text(name)) .append($('
')) - .append(create_user_block(name, 'failed', 'systemctl --user list-units --failed')) - .append(create_user_block(name, 'overview', 'systemctl --user status')) - .append(create_user_block(name, 'timers', 'systemctl --user list-timers --all')) - .append(create_user_block(name, 'journal', 'journalctl --user -b --lines=20'))); + .append(create_user_block(name, 'failed', 'systemctl list-units --failed')) + .append(create_user_block(name, 'overview', 'systemctl status')) + .append(create_user_block(name, 'timers', 'systemctl list-timers --all')) + .append(create_user_block(name, 'journal', 'journalctl -b --lines=20'))); $('#users').append(container); $('#collapse_failed_user_' + name).addClass('show'); -- cgit v1.2.3