From 78d4fedb033351a85eef461d800c8e2aa404a3eb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 11 Apr 2022 13:21:28 +0200 Subject: index.html: commands closer to buttons --- html/index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'html') diff --git a/html/index.html b/html/index.html index 89882b9..00ca4b5 100644 --- a/html/index.html +++ b/html/index.html @@ -25,34 +25,34 @@

-

top refreshed every - seconds

+

top refreshed every - seconds

Data not loaded.

-

docker ps -a

+

docker ps -a

Data not loaded.

-

systemctl --system list-units --failed

+

systemctl --system list-units --failed

Data not loaded.

-

systemctl --system status

+

systemctl --system status

Data not loaded.

-

systemctl --system list-timers --all

+

systemctl --system list-timers --all

Data not loaded.

-

journalctl --system -b --lines=20

+

journalctl --system -b --lines=20

Data not loaded.
@@ -286,7 +286,7 @@ function create_user_block(name, lbl, cmd) { let pre_id = `${lbl}_user_${name}`; let collapse_id = `collapse_${pre_id}`; let button_params = { - 'class': 'btn btn-outline-primary btn-sm mr-3', + 'class': 'btn btn-outline-primary btn-sm mr-2', 'data-toggle': 'collapse', 'data-target': '#' + collapse_id }; -- cgit v1.2.3 From 1b4f109dc602a2215500367115d1b4dfad35f0b5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 11 Apr 2022 13:25:06 +0200 Subject: index.html: get rid of stupid # nchors --- html/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html') diff --git a/html/index.html b/html/index.html index 00ca4b5..3ba167a 100644 --- a/html/index.html +++ b/html/index.html @@ -16,8 +16,8 @@

refreshed every - seconds

- Reboot - Shutdown + +
-- cgit v1.2.3 From 847d17c41d96722ce1bada22274ce0da1669e127 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 11 Apr 2022 13:29:26 +0200 Subject: index.html: hostname header too large on mobile --- html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html') diff --git a/html/index.html b/html/index.html index 3ba167a..e3ac8b3 100644 --- a/html/index.html +++ b/html/index.html @@ -12,7 +12,7 @@
-

-

+

-

refreshed every - seconds

-- cgit v1.2.3 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') 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