summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/apps/name/name.html16
-rw-r--r--templates/base.html2
2 files changed, 16 insertions, 2 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 %}
diff --git a/templates/base.html b/templates/base.html
index cc0f8a4..18172d3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -91,8 +91,8 @@
<ul>
<li><a href="/user"><span class="ui-icon ui-icon-locked" style="float: left;"></span>{{ profile.display_name }}</a></li>
</ul>
- {% endif %}
</div>
+ {% endif %}
<div id="branding"><a style="text-decoration: none" href="/">{% block headline %}{% endblock %}</a></div>
</div>
<div class="clear"></div>