diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-28 10:34:57 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-28 10:34:57 +0100 |
commit | c7098de60bdce2f453c0c415c2cae782655b79ac (patch) | |
tree | bf6936a351d4183bca9bc328b77602453364b3bd /html/index.html | |
parent | support peer aliases (diff) | |
download | wg-api-web-c7098de60bdce2f453c0c415c2cae782655b79ac.tar.gz wg-api-web-c7098de60bdce2f453c0c415c2cae782655b79ac.zip |
tweak the UI a bit
Diffstat (limited to 'html/index.html')
-rw-r--r-- | html/index.html | 14 |
1 files changed, 2 insertions, 12 deletions
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; -} </style> </head> <body> @@ -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() { |