[java-idp-plugin-webauthn] branch main updated: Improve views
Phil Smart
philip.smart at jisc.ac.uk
Fri Feb 16 14:27:25 UTC 2024
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-idp-plugin-webauthn.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-webauthn.git;a=commit;h=536844b6032426f21dbbbeee4fb03cd6be36def7
The following commit(s) were added to refs/heads/main by this push:
new 536844b Improve views
536844b is described below
commit 536844b6032426f21dbbbeee4fb03cd6be36def7
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Feb 16 14:27:23 2024 +0000
Improve views
---
.../plugin/authn/webauthn/views/webauthn-register.vm | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
index 339e6cd..e047794 100644
--- a/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
+++ b/webauthn-impl/src/main/resources/net/shibboleth/idp/plugin/authn/webauthn/views/webauthn-register.vm
@@ -119,15 +119,16 @@
<div><span>#springMessageText("idp.webauthn.register.registered.noKeys", "You have no registered keys")</span></div>
#end
<br/>
- <div>
- <button class="form-element form-button" id="registerButton">#springMessageText("idp.webauthn.register.addKey", "Add New Security Key")</button>
- </div>
- <br />
- <div>
- <form id="finish_button_form" action="$flowExecutionUrl" method="post">
- #parse("csrf/csrf.vm")
- <button id="finish_button" type="submit" name="_eventId_finish">#springMessageText("idp.webauthn.register.finish", "Finish")</button>
- </form>
+ <div class="grid">
+ <div class="grid-item">
+ <button id="registerButton">#springMessageText("idp.webauthn.register.addKey", "Add New Security Key")</button>
+ </div>
+ <div class="grid-item">
+ <form id="finish_button_form" action="$flowExecutionUrl" method="post">
+ #parse("csrf/csrf.vm")
+ <button id="finish_button" type="submit" name="_eventId_finish">#springMessageText("idp.webauthn.register.finish", "Finish")</button>
+ </form>
+ </div>
</div>
<form id="authenticatorAttestationForm" action="$flowExecutionUrl" method="post">
#parse("csrf/csrf.vm")
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list