chpwd.css, login.fhtml: Move the login whinge to underneath the widgets.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 25 May 2014 08:51:17 +0000 (09:51 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 11 Jun 2014 13:11:29 +0000 (14:11 +0100)
chpwd.css
login.fhtml

index 4b2a062..02759f4 100644 (file)
--- a/chpwd.css
+++ b/chpwd.css
@@ -70,6 +70,10 @@ div.warn {
         visibility: hidden;
 }
 
+.login-whinge {
+       text-align: center;
+}
+
 .wrong {
         color: red;
         visibility: visible;
index ef90437..12c47cb 100644 (file)
@@ -26,8 +26,6 @@
 
 <h1>Chopwood: login</h1>
 
-~={why}@[<p class="whinge wrong">~:H~2%~]~
-
 <form method=POST action="~={script}H/auth">
 <table>
 <tr>
@@ -37,6 +35,8 @@
   <td class=label><label for=login-pw accesskey=p><u>P</u>assword:</label>
   <td><input id=login-pw name=pw type=password>
   <td><button type=submit accesskey=o>L<u>o</u>gin</button>
+~={why}@[<tr>
+  <td colspan=3 class="login-whinge"><p class="whinge wrong">~:H~%~]~
 </table>
 </form>