display: inline
}
-/* choose *********************************************************************/
+/* choose ********************************************************************/
/* first letter choice */
p.choosealpha {
color: red
}
-/* buttons ********************************************************************/
+/* buttons *******************************************************************/
/* a.allfiles turns up in track choice
* button is used e.g. in searching
border-width: 0
}
-/* searching ******************************************************************/
+/* searching *****************************************************************/
div.searchresults {
}
color: red
}
-/* sidebar ********************************************************************/
+/* sidebar *******************************************************************/
div#sidebar {
margin: 1em;
color: black
}
-/* topbar *********************************************************************/
+/* topbar ********************************************************************/
p.menubar {
word-spacing: 1em
font-size: 14pt
}
-/* prefs **********************************************************************/
+/* prefs *********************************************************************/
p.prefs_new,p.prefs_head {
font-weight: bold
font-family: monospace
}
-/* help ***********************************************************************/
+/* help **********************************************************************/
.helpbuttons,.helpprefs,.helpcontexts {
margin-left: 2em;
font-weight: bold
}
-/* volume *********************************************************************/
+/* volume ********************************************************************/
p.volume {
text-align: center
}
-/* miscelleanous **************************************************************/
+/* login page ****************************************************************/
+
+form.login,form.register,form.edituser {
+ border-style: solid;
+ border-width: 1px;
+ border-color: black
+}
+
+form.logout {
+ border-style: none;
+}
+
+p.loginstatus {
+ color: green
+}
+
+/* errors ********************************************************************/
+
+p.error {
+ color: red
+}
+
+/* miscelleanous *************************************************************/
/* credits */
p.credits {
@include{topbar}@
<h1 class=title>@label:error.title@</h1>
- <p>@label{error.@label:error@}@</p>
+ <p class=error>@label{error.@label:error@}@</p>
- <p>@label:error.generic@</p>
+ <p class=error>@label:error.generic@</p>
@include{topbarend}@
</body>
@if{@ne{@label:error@}{error}@}{
@#{error reporting from some earlier operation}@
<!-- TODO make error string visually intrusive, also error.html -->
- <p>@label{error.@label:error@}@</p>
+ <p class=error>@label{error.@label:error@}@</p>
}@
@if{@ne{@label:status@}{status}@}{
<p class=loginstatus>@label{login.@label:status@}@</p>
}@
- <p>User: @user@</p>
-
@if{@eq{@user@}{guest}@}{
@#{guest user, allow login and registration}@
<h2>Existing users</h2>
<p>Use this form to change your email address and/or password.</p>
- <form class=register action="@url@" method=POST
+ <form class=edituser action="@url@" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<table class=edituser>
<tr>
<p>Use this button to log out @user@.</p>
- <form class=register action="@url@" method=POST
+ <form class=logout action="@url@" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<div class=logout>
<button class=logout name=action type=submit value=logout>
label login.edituser "Change Details"
label login.logout "Logout"
+# Text for login page responses
label login.loginok "Logged in OK"
label login.logoutok "Logged out OK"
label login.registered "Registered your new login"
label error.connect "Cannot connect to server."
# Text used when cannot become right user
-label error.become "Unauthorized user."
+label error.loginfailed "Incorrect username and/or password."
# Text appended to all error pages
label error.generic ""