--- /dev/null
+[% PROCESS macros %]
+[% INCLUDE header %]
+[% INCLUDE title %]
+ <div id="title">You need to log in</div>
+
+ <div id="login">
+ [% IF login_error %]
+ <div class="error"> [% login_error %] </div>
+ [% END %]
+ <form method="post" action="/[% request.path %]">
+ <fieldset>
+ <legend>Login</legend>
+ <label>
+ <span class="field">Username:</span>
+ <input name="[% config.auth.user_field || "user" %]" type="text" />
+ </label>
+ <label>
+ <span class="field">Password:</span>
+ <input name="password" type="password" />
+ </label>
+ <input type="submit" name="login" value="Submit"/>
+ </fieldset>
+ </form>
+ </div>
+
.error { color: #d00; }
+.actions {
+ white-space: nowrap;
+ background-color: #fff;
+}
+
.action {
border: 1px outset #7d95b5;
style:block;
background-color: #7d95b5;
}
-.actionform {
+.field {
display: inline;
}
-.actionbutton {
- height: 16px;
- width: 40px;
- font-family: sans-serif;
- font-size: 10px;
- border: 1px outset;
- background-color: #fff;
- margin-bottom: 0px;
-}
-
-.actionbutton:hover {
- color: #fff;
- background-color: #7d95b5;
-}
+#login { width: 400px; }
-.actions {
- white-space: nowrap;
-}
-
-.field {
- display:inline;
-}
+#login input[type=text] { width: 150px; }
+#login input[type=password] { width: 150px; }
.pager {
font: 11px Arial, Helvetica, sans-serif;
border-color: #036;
text-decoration: none;
}
-