From 88a70cbc0420c57b5b989e57de0ee69dbb66ecca Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 1 Dec 2008 09:02:46 +0000 Subject: Clean up styles a bit to make it more obvious what's going on. Show edit permissions too to demonstrate that we're doing something different for the different type of permissions. --- core/views/welcome.html.php | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'core') diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php index 1cfd6d7c..7588682d 100644 --- a/core/views/welcome.html.php +++ b/core/views/welcome.html.php @@ -133,7 +133,17 @@ font-size: 70%; font-style: italic; } - + + a.allowed { + color: green; + font-size: 110%; + } + + a.denied { + color: red; + font-size: 90%; + } + @@ -341,12 +351,13 @@
  • (album->id ?>) album->id}", $current->album->title) ?> - access: - album->id)): ?> - access: album->id}", "yes") ?> + + album->id)): ?> + album->id}", strtoupper($perm), array("class" => "allowed")) ?> - access: album->id}", "no") ?> + album->id}", strtolower($perm), array("class" => "denied")) ?> + children): ?> children) ?> -- cgit v1.2.3