From: rjk@greenend.org.uk <>
Date: Sun, 23 Dec 2007 18:44:37 +0000 (+0000)
Subject: More web support for user rights:
X-Git-Tag: 3.0~161
X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/d7ce365eca55a962425e2f4cbaee241ef5c90f96
More web support for user rights:
- choose/search greyed out if don't have RIGHT_PLAY
- edit link in new/recent omitted if don't have RIGHT_PREFS
- move buttons in manage greyed out if not movable
---
diff --git a/templates/disorder.css b/templates/disorder.css
index dd1364c..809947c 100644
--- a/templates/disorder.css
+++ b/templates/disorder.css
@@ -382,6 +382,14 @@ a.activemenu:active,a.inactivemenu:active {
color: red
}
+span.invalidmenu {
+ text-decoration: none;
+ color: grey;
+ font-family: sans-serif;
+ font-weight: bold;
+ font-size: 14pt
+}
+
/* prefs **********************************************************************/
p.prefs_new,p.prefs_head {
diff --git a/templates/login.html b/templates/login.html
index 31dc6e8..9119a5f 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -95,7 +95,7 @@ USA
@label:login.password@
-
@new{
@@ -52,12 +53,13 @@ USA
class=file
href="@url@?action=play&file=@urlquote{@file@}@&back=@urlquote{@thisurl@}@&nonce=@nonce@">@part{short}{title}@