From 01f3b34c4b50225bda0ab57fb938d3fcafe3928b Mon Sep 17 00:00:00 2001 From: Jethro Grassie Date: Sun, 5 Jan 2020 04:33:56 -0500 Subject: [PATCH] swap out form to contenteditable cell --- src/webui-embed.html | 49 ++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/src/webui-embed.html b/src/webui-embed.html index e121c9d..b23219f 100644 --- a/src/webui-embed.html +++ b/src/webui-embed.html @@ -22,9 +22,24 @@ td:last-child { white-space: unset; } - .wallet { + .miner { display: none; } + td.address { + min-width: 10ch; + max-width: 10ch; + overflow: hidden; + border-bottom: 1px dashed black; + text-overflow: ellipsis; + white-space: nowrap; + word-wrap: unset; + } + td.address:focus { + outline: 0px solid transparent; + text-overflow: initial; + white-space: initial; + word-wrap: break-word; + } @@ -41,17 +56,9 @@ Pool port: Allow self-select: Miners connected: - Your HR: - Balance due: - - Miner address: - -
- - -
- - + Your HR: + Balance due: + Miner address: https://github.com/jtgrassie/monero-pool