[java-idp-plugin-totp] branch main updated: Another round of view changes.

Scott Cantor cantor.2 at osu.edu
Tue Mar 8 20:21:54 UTC 2022


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-idp-plugin-totp.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-totp.git;a=commit;h=458895f025d48fedd6f9d66fb01353e1850630a4

The following commit(s) were added to refs/heads/main by this push:
     new 458895f  Another round of view changes.
458895f is described below

commit 458895f025d48fedd6f9d66fb01353e1850630a4
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Mar 8 15:21:52 2022 -0500

    Another round of view changes.
---
 .../idp/plugin/authn/totp/views/totp-error.vm       |  2 +-
 .../shibboleth/idp/plugin/authn/totp/views/totp.vm  | 21 ++++++++++-----------
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/totp-impl/src/main/resources/net/shibboleth/idp/plugin/authn/totp/views/totp-error.vm b/totp-impl/src/main/resources/net/shibboleth/idp/plugin/authn/totp/views/totp-error.vm
index a58208d..fec8d70 100644
--- a/totp-impl/src/main/resources/net/shibboleth/idp/plugin/authn/totp/views/totp-error.vm
+++ b/totp-impl/src/main/resources/net/shibboleth/idp/plugin/authn/totp/views/totp-error.vm
@@ -22,5 +22,5 @@
 #end
 
 #if ($message)
-    <h3 class="output-message output--error">$encoder.encodeForHTML($message)</h3>
+    <p class="output-message output--error">$encoder.encodeForHTML($message)</p>
 #end
diff --git a/totp-impl/src/main/resources/net/shibboleth/idp/plugin/authn/totp/views/totp.vm b/totp-impl/src/main/resources/net/shibboleth/idp/plugin/authn/totp/views/totp.vm
index de11123..68bbab9 100644
--- a/totp-impl/src/main/resources/net/shibboleth/idp/plugin/authn/totp/views/totp.vm
+++ b/totp-impl/src/main/resources/net/shibboleth/idp/plugin/authn/totp/views/totp.vm
@@ -26,7 +26,6 @@
         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
         <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0">
         <link rel="stylesheet" type="text/css" href="$request.getContextPath()#springMessageText("idp.css", "/css/placeholder.css")">
-        #parse("custom-styles.vm")
     </head>
     <body>
         <main class="main">
@@ -35,7 +34,7 @@
                 
                 #set ($serviceName = $rpUIContext.serviceName)
                 #if ($serviceName && !$rpContext.getRelyingPartyId().contains($serviceName))
-                    <h2>#springMessageText("idp.login.loginTo", "Login to") $encoder.encodeForHTML($serviceName)</h2>
+                    <h1>#springMessageText("idp.login.loginTo", "Login to") $encoder.encodeForHTML($serviceName)</h1>
                 #end
             </header>
 
@@ -65,16 +64,16 @@
 
                     #parse("totp-error.vm")
 
-                    <fieldset>
-                        <label for="tokencode">#springMessageText("idp.totp.field", "Token Code")</label>
-                        <input id="tokencode" name="tokencode" type="text" value="" />
-                    </fieldset>
+                    <label for="tokencode">#springMessageText("idp.totp.field", "Token Code")</label>
+                    <input id="tokencode" name="tokencode" type="text" value="" />
 
-                    <fieldset>
-                        <button type="submit" name="_eventId_proceed"
-                            onClick="this.childNodes[0].nodeValue='#springMessageText("idp.login.pleasewait", "Logging in, please wait...")'"
-                            >#springMessageText("idp.login.login", "Login")</button>
-                    </fieldset>
+                    <div class="grid">
+                        <div class="grid-item">
+                            <button type="submit" name="_eventId_proceed"
+                                onClick="this.childNodes[0].nodeValue='#springMessageText("idp.login.pleasewait", "Logging in, please wait...")'"
+                                >#springMessageText("idp.login.login", "Login")</button>
+                        </div>
+                    </div>
                 </form>
 
                 <ul>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list