From d80390c0fb5ae6c1cf1079fb2362066078d26e09 Mon Sep 17 00:00:00 2001 From: Jethro Grassie Date: Sat, 18 Jan 2020 16:05:34 -0500 Subject: [PATCH] add minor formatting improvements --- src/pool.c | 4 ++-- src/webui-embed.html | 44 +++++++++++++++++++++++++++----------------- 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/src/pool.c b/src/pool.c index ac701fa..91e40df 100644 --- a/src/pool.c +++ b/src/pool.c @@ -1585,7 +1585,7 @@ startup_scan_round_shares() } static int -startup_pauout(uint64_t height) +startup_payout(uint64_t height) { /* Loop stored blocks < height - 60 @@ -1714,7 +1714,7 @@ rpc_on_last_block_header(const char* data, rpc_callback_t *callback) { block_t *block = bstack_push(bsh, NULL); response_to_block(block_header, block); - startup_pauout(block->height); + startup_payout(block->height); startup_scan_round_shares(); need_new_template = true; } diff --git a/src/webui-embed.html b/src/webui-embed.html index 8d8b808..3e247a0 100644 --- a/src/webui-embed.html +++ b/src/webui-embed.html @@ -26,7 +26,7 @@ .miner { display: none; } - td.address { + #address { min-width: 10ch; max-width: 10ch; overflow: hidden; @@ -35,7 +35,7 @@ white-space: nowrap; word-wrap: unset; } - td.address:focus { + #address:focus { outline: 0px solid transparent; text-overflow: initial; white-space: initial; @@ -62,7 +62,7 @@ Miners connected: Your HR: Balance due: - Miner address: + Miner address: https://github.com/jtgrassie/monero-pool