From c7098de60bdce2f453c0c415c2cae782655b79ac Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 28 Nov 2022 10:34:57 +0100 Subject: tweak the UI a bit --- html/index.html | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'html/index.html') diff --git a/html/index.html b/html/index.html index 92a865f..65963b0 100644 --- a/html/index.html +++ b/html/index.html @@ -25,19 +25,16 @@ table { border-spacing: 0; } th, td { - text-align: left; padding: 3px 8px; } th { + text-align: center; border-bottom: 2px solid black; } td, th[scope="row"] { + text-align: left; border-bottom: 1px solid black; } - -.right { - text-align: right; -} @@ -229,12 +226,6 @@ var Rx = function() { Rx.prototype = Object.create(Field.prototype); Rx.prototype.constructor = Rx; -Rx.prototype.cell_container = function() { - var cell = Field.prototype.cell_container.call(this); - cell.setAttribute('class', 'right'); - return cell; -} - Rx.prototype.cell_contents = function(value) { value = parseInt(value); value = bytes_to_readable(value); @@ -248,7 +239,6 @@ var Tx = function() { Tx.prototype = Object.create(Field.prototype); Tx.prototype.constructor = Tx; -Tx.prototype.cell_container = Rx.prototype.cell_container; Tx.prototype.cell_contents = Rx.prototype.cell_contents; var AllowedIPs = function() { -- cgit v1.2.3