aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-27 22:42:45 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-27 22:42:45 +0000
commit62a6c04c1af29bed1153a7deb01fa57fa5cc89d1 (patch)
tree4897c6685a17940548778dd5e19b0e0dbb11a12d /html
parentdebian: 2.4-1 (diff)
parentupdate example screenshot (diff)
downloadlinux-status-62a6c04c1af29bed1153a7deb01fa57fa5cc89d1.tar.gz
linux-status-62a6c04c1af29bed1153a7deb01fa57fa5cc89d1.zip
Merge tag 'v2.4.1' into debian
Diffstat (limited to '')
-rw-r--r--html/index.html12
1 files changed, 5 insertions, 7 deletions
diff --git a/html/index.html b/html/index.html
index 8c4ebf1..b4baec0 100644
--- a/html/index.html
+++ b/html/index.html
@@ -10,13 +10,13 @@
<div class="container flex-shrink-0">
<div class="row mt-3">
<div class="col">
- <div style="display: flex; justify-content: space-between; align-items: center; gap: .5em;">
+ <div style="display: flex; justify-content: space-between; align-items: flex-end; gap: .5em;">
<div>
<h1 class="h2" id="hostname">-</h1>
<p class="mb-0 small">refreshed every <span id="status_refresh_interval">-</span> seconds</p>
</div>
<div>
- <div class="btn-group" role="group" id="power_buttons">
+ <div class="btn-group" role="group" style="width: 100%;" id="power_buttons">
<button type="button" class="btn btn-sm btn-warning" onclick="reboot();">Reboot</button>
<button type="button" class="btn btn-sm btn-danger" onclick="poweroff();">Shutdown</button>
</div>
@@ -210,16 +210,14 @@ function set_thermal(data) {
let type = info['type'];
let temp = info['temp'].toFixed(2) + '&deg;C';
let row = $('<tr/>')
- .append($('<td/>', {'class': 'py-0'})
- .append($('<code/>', {'class': 'text-reset'}).text(type)))
- .append($('<td/>', {'class': 'py-0 text-right'})
- .append($('<code/>', {'class': 'text-reset'}).html(temp)));
+ .append($('<td/>', {'class': 'pr-1'}).text(type))
+ .append($('<td/>', {'class': 'pl-1 text-right'}).html(temp));
body.append(row);
});
$('#thermal').empty();
$('#thermal').append($('<div/>', {'class': 'table-responsive'})
- .append($('<table/>', {'class': 'table table-borderless table-sm text-nowrap mb-0'})
+ .append($('<table/>', {'class': 'text-nowrap', 'style': 'width: 100%;'})
.append(body)));
}