From 3395a94951e7f9dce5c774b7fb38159052751869 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 20 Feb 2007 17:47:12 -0800 Subject: git_browse: moved heads_table and tags_table to seperate files --- .../templates/git_browse/repository_info.html | 47 +--------------------- static/style/git_browse.css | 5 +-- 2 files changed, 3 insertions(+), 49 deletions(-) diff --git a/bn_django/git_browse/templates/git_browse/repository_info.html b/bn_django/git_browse/templates/git_browse/repository_info.html index b3028a2..51794d3 100644 --- a/bn_django/git_browse/templates/git_browse/repository_info.html +++ b/bn_django/git_browse/templates/git_browse/repository_info.html @@ -6,52 +6,9 @@

Shortlog (full log)

{{ shortlog }}

Heads (browse)

-{% if heads %} - -{% for h in heads.iteritems %} - - - - -{% endfor %} -
- - {{ h.0 }} - - {{ h.1 }} - {% for t in tags.iteritems %} - {% ifequal h.1 t.1 %} - - [{{ t.0 }}] - {% endifequal %}{% endfor %} -
-{% else %}No heads!{% endif %} +{% include "git_browse/heads_table" %}

Tags (browse)

-{% if tags %} - -{% for t in tags.iteritems %} - - - - - {% endfor %} -{% endfor %} -
- - {{ t.0 }} - - {{ t.1 }} - {% for t in tags.iteritems %} - {% ifequal h.1 t.1 %} - - [{{ t.0 }}] - {% endifequal %}
-{% else %}No tags!{% endif %} +{% include "git_browse/tags_table" %}

Filelist (browse tree)

{% if filelist %}
{{ filelist }}
{% else %}No files!{% endif %} diff --git a/static/style/git_browse.css b/static/style/git_browse.css index a88147d..44b884b 100644 --- a/static/style/git_browse.css +++ b/static/style/git_browse.css @@ -8,7 +8,7 @@ pre.large { table.gitbrowser { width: 100%; - border-spacing: 2px; + border-spacing: 4px; } table.gitbrowser tr { width: 100%; @@ -28,8 +28,5 @@ td.hash { width: 100px; overflow: hidden; text-align: right; -} -span.hash { font-family: courier; } - -- cgit v1.2.3