summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-06-14 00:19:13 +0200
committerLeif Johansson <leifj@sunet.se>2011-06-14 00:19:13 +0200
commite4534a199d60c87e02a12bb1067361b6a3f4c108 (patch)
treec78a3116738b96beadfee489754b5c730d22bf63 /templates
parent89c04f033f4f4bc1a4a7f1e6fdb09c9798a7b60b (diff)
style polish
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_fieldsets.html21
-rw-r--r--templates/tree.html68
2 files changed, 41 insertions, 48 deletions
diff --git a/templates/edit_fieldsets.html b/templates/edit_fieldsets.html
index f35f055..c3eb01e 100644
--- a/templates/edit_fieldsets.html
+++ b/templates/edit_fieldsets.html
@@ -14,12 +14,12 @@
{% if fieldset.description %}
<p class="description">{{ fieldset.description }}</p>
{% endif %}
- <ul class="links">
+ <ul class="inputs">
{% for field in fieldset %}
{% if field.is_hidden %}
{{ field }}
{% else %}
- <li class="links {% if field.field.required %}required{% endif %}" {{ field.row_attrs }}>
+ <li class="inputs {% if field.field.required %}required{% endif %}" {{ field.row_attrs }}>
{{ field.errors }}
<label for="id_{{ field.html_name }}" class="fieldlabel">{{ field.label }}
{% if field.field.required %}<b>*</b>{% endif %}</label>
@@ -30,15 +30,12 @@
</ul>
</fieldset>
{% endfor %}
- <div class="ilist" style="padding-bottom: 30px; padding-top: 5px;">
- <ul>
- <li class="button left"><input type="reset" value="Back"/></li>
- <li class="button left"><input type="submit" value="Finish"/></li>
- {% if name %}
- <li class="button right"><input type="button" onClick="document.location='{{name.url}}'" value="Cancel"/></li>
- {% endif %}
- </ul>
- </div>
- <div class="clear"></div>
+ <ul class="ilist" style="padding-bottom: 30px; padding-top: 5px;">
+ <li class="button left"><input type="reset" value="Back"/></li>
+ <li class="button left"><input type="submit" value="Finish"/></li>
+ {% if name %}
+ <li class="button right"><input type="button" onClick="document.location='{{name.url}}'" value="Cancel"/></li>
+ {% endif %}
+ </ul>
</form>
{% endblock %} \ No newline at end of file
diff --git a/templates/tree.html b/templates/tree.html
index f925165..9fab51b 100644
--- a/templates/tree.html
+++ b/templates/tree.html
@@ -26,12 +26,10 @@ $(function() {
</script>
{% endblock %}
{% block main %}
-<div class="leftright">
-<ul>
-<li style="width: 35%">
- <div id="tree">
- <div class="ilist">
- <ul>
+<ul class="leftright">
+ <li class="leftright" style="width: 35%">
+ <div class="ui-helper-reset" id="tree">
+ <ul class="ilist" style="padding-left: 0px;">
<li><b>{{ prefix_url }}</b></li>
{% if name and render.up %}
{% if name.parent %}
@@ -41,36 +39,34 @@ $(function() {
{% endif %}
{% endif %}
</ul>
+ <div class="ui-helper-reset" id="jstree"></div>
+ </div>
+ <!-- div id="related">
+ {% if name and name.links %}
+ <h3 style="float: left;">Related resources</h3>
+ {% if render.edit %}
+ <a style="float: left; margin-top: 11px;" class="tip" title="Add Link" href="/name/{{name.id}}/addlink"><span class="ui-icon ui-icon-plus"></span></a>
+ {% endif %}
+ <div class="clear"></div>
+ <ul class="links"">
+ {% for link in name.links.all %}
+ <li>
+ <a class="tip" title="{{link.text}}" href="{{link.url}}">{{link.text}}</a>
+ <a class="tip" title="Remove link" href="/link/{{link.id}}/remove"><span class="ui-icon ui-icon-close" style="float: right; clear: both;"></span></a>
+ </li>
+ {% endfor %}
+ </ul>
+ <div class="clear"></div>
+ {% endif %}
+ </div -->
+ </li>
+ <li class="leftright" style="margin-bottom: 80px; margin-left: 10px; width: 59%;">
+ <div id="headline">
+ <a style="text-decoration: none" href="{% if name %}{{name.url}}{% else %}/user/home{% endif %}">{% if name %}{{name.shortname}}{% else %}Dashboard{% endif %}</a>
</div>
- <div class="clear"></div>
- <div class="ui-helper-reset" id="jstree"></div>
- </div>
- <!-- div id="related">
- {% if name and name.links %}
- <h3 style="float: left;">Related resources</h3>
- {% if render.edit %}
- <a style="float: left; margin-top: 11px;" class="tip" title="Add Link" href="/name/{{name.id}}/addlink"><span class="ui-icon ui-icon-plus"></span></a>
- {% endif %}
- <div class="clear"></div>
- <ul class="links"">
- {% for link in name.links.all %}
- <li>
- <a class="tip" title="{{link.text}}" href="{{link.url}}">{{link.text}}</a>
- <a class="tip" title="Remove link" href="/link/{{link.id}}/remove"><span class="ui-icon ui-icon-close" style="float: right; clear: both;"></span></a>
- </li>
- {% endfor %}
- </ul>
- <div class="clear"></div>
- {% endif %}
- </div -->
-</li>
-<li style="margin-bottom: 80px; margin-left: 10px; width: 59%;">
- <div id="headline">
- <a style="text-decoration: none" href="{% if name %}{{name.url}}{% else %}/user/home{% endif %}">{% if name %}{{name.shortname}}{% else %}Dashboard{% endif %}</a>
- </div>
- <div>
- {% block content %}{% endblock %}
- </div>
-</li>
+ <div>
+ {% block content %}{% endblock %}
+ </div>
+ </li>
</ul>
{% endblock %} \ No newline at end of file