nicer login widget
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 24 Sep 2013 13:57:32 +0000 (15:57 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 24 Sep 2013 13:57:32 +0000 (15:57 +0200)
auth/static/css/login.css
auth/templates/widget-login.html

index 0d0ba19..bcb25da 100644 (file)
@@ -4,13 +4,19 @@ p.login-status {
 
 p.login { 
     font-style: italic;
+    margin-bottom: 0px; /* who says 10px ? */
 }
 input.login {
     width: auto;
-}    
-input[type="password"] {
+    margin: 5px;
+    padding: 3px 10px;
+}
+input.login[type="password"] {
     border: solid 1px #444;
     background-image: url( '../img/form_input_password.png' );
     background-repeat: repeat-x;
     background-position: top;
 }
+input.login[type="submit"] {
+    margin-top: 20px;
+}
index b79e33f..ffb6244 100644 (file)
@@ -11,6 +11,6 @@
   <input class='login' type="text" name="username" value="{{ username}}" /><br />
   <p class='login'>Password</p>
   <input class='login' type="password" name="password" value="" /><br />
-  <input type="submit" value="Log In" />
+  <input class='login' type="submit" value="Log In" />
 </form>
 </div>