From 04938855bb420333727ee2d41b571c0336b52172 Mon Sep 17 00:00:00 2001 From: Spitap Date: Wed, 7 Sep 2022 17:32:00 +0200 Subject: [PATCH] Allow one-click copy totp secret --- mfa/templates/TOTP/Add.html | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/mfa/templates/TOTP/Add.html b/mfa/templates/TOTP/Add.html index a7aebaa..af25216 100644 --- a/mfa/templates/TOTP/Add.html +++ b/mfa/templates/TOTP/Add.html @@ -7,10 +7,21 @@ border: 1px solid #ccc; border-radius: 3px; padding: 15px; -} + } .row{ margin: 0px; } + .toolbtn { + border-radius: 7px; + } + .toolbtn:hover { + background-color: gray; + transition: 0.2s; + } + .toolbtn:active { + background-color: green; + transition: 0.2s; + }