From 791b27d865d39c67b0f999a74d05a54069aaa3be Mon Sep 17 00:00:00 2001 From: ignace Date: Sat, 24 Jan 2026 00:10:18 +0100 Subject: [PATCH] made copy-to-clipboard more usefull --- static/flower.css | 4 ++++ templates/show.html | 7 +++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/static/flower.css b/static/flower.css index deb4873..85e8172 100644 --- a/static/flower.css +++ b/static/flower.css @@ -25,3 +25,7 @@ td.left { td.right { text-align: right; } + +td.blue { + color: #208dd6; +} \ No newline at end of file diff --git a/templates/show.html b/templates/show.html index ab5e970..7c6dc91 100644 --- a/templates/show.html +++ b/templates/show.html @@ -12,7 +12,7 @@ Org{{ flower.organization }} You{{ flower.myName }} Login{{ flower.myID }} - Hash
{{ flower.mySecret }}
+ Hash
{{ flower.mySecret }}
{{ flower.dateCreated[:10] }} @@ -35,7 +35,10 @@ function myCopyFunction() { // Copy the text inside the text field navigator.clipboard.writeText(copyText.getAttribute("value")); - //alert("Copied the text: "+copyText.getAttribute("value")); + // alert("Copied the text: "+copyText.getAttribute("value")); + + $("#secrettd").removeClass("white"); + $("#secrettd").addClass("blue"); }