diff options
author | Leif Johansson <leifj@sunet.se> | 2010-07-09 00:27:44 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2010-07-09 00:27:44 +0200 |
commit | 54563defc38d0075bfc448720e4f5805998a824a (patch) | |
tree | 079a23654274d0b05755e580445c56ab6e441907 /templates/apps/name/name.html | |
parent | 342cb7d1edb536378f462d6a7757c2f9ccdfe1ea (diff) |
a bit more bling on the ui
Diffstat (limited to 'templates/apps/name/name.html')
-rw-r--r-- | templates/apps/name/name.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/templates/apps/name/name.html b/templates/apps/name/name.html index 744948c..6ef3e91 100644 --- a/templates/apps/name/name.html +++ b/templates/apps/name/name.html @@ -36,7 +36,21 @@ $(function() { <div style="float: right; width: 60%; padding-left: 20px;"> {% if name %} <div class="ui-widget-content ui-corner-all infopanel"> - <h3 style="float: left;">{{name}}</h3><a style="float: right;" href="/name/edit/id/{{name.id}}"><div class="ui-icon ui-icon-wrench"></div></a><div class="clear"/> + <div class="navlist"> + <ul> + {% if edit %} + <li style="float: right;"><a class="tip" title="Modify this name" href="/name/edit/id/{{name.id}}"><span class="ui-icon ui-icon-wrench"></span></a> + {% endif %} + {% if delete %} + <li style="float: right;"><a class="tip" title="Permanently remove this name" href="/name/delete/id/{{name.id}}"><span class="ui-icon ui-icon-trash"></span></a> + {% endif %} + {% if insert %} + <li style="float: right;"><a class="tip" title="Create new subordinate name" href="/name/add/id/{{name.id}}"><span class="ui-icon ui-icon-plusthick"></span></a> + {% endif %} + </ul> + </div> + <div class="clear"/> + <h3>{{name}}</h3> <p>{{name.description}}</p> </div> {% endif %} |