summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-01 10:27:36 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-01 10:27:36 +0000
commit2eed685883f09b3cfdee4fdd8057e2a8a69f490e (patch)
treec89455541176ba09c22a74df7cd53b1543da079e
parent5c303aa07ba7512f1e6a1150d118c47d16678c54 (diff)
style the permission tree a little tighter
-rw-r--r--core/views/welcome.html.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
index 8a14b386..031b245f 100644
--- a/core/views/welcome.html.php
+++ b/core/views/welcome.html.php
@@ -143,6 +143,11 @@
color: red;
font-size: 90%;
}
+
+ ul#permissions ul {
+ margin-left: -1em;
+ list-style-type: none;
+ }
</style>
<?= html::script("lib/jquery.js") ?>
<?= html::script("lib/jquery.cookie.js") ?>
@@ -347,10 +352,11 @@
<? $current = array_pop($stack); ?>
<? if ($current != "CLOSE"): ?>
<? $current = $album_tree[$current]; ?>
- <ul>
+ <ul id="permissions">
<li>
<span class="understate">(<?= $current->album->id ?>)</span>
<?= html::anchor("albums/{$current->album->id}", $current->album->title) ?>
+ &raquo;
<? foreach (array("view", "edit") as $perm): ?>
<? if (access::can(group::EVERYBODY, $perm, $current->album->id)): ?>
<?= html::anchor("welcome/deny_perm/0/$perm/{$current->album->id}", strtoupper($perm), array("class" => "allowed")) ?>