aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJustin J. Novack <jnovack@gmail.com>2012-10-06 22:58:34 -0400
committerChristian Weiske <cweiske@cweiske.de>2012-10-24 15:00:12 +0200
commitb0ef26132629cfb7334fbbf7c1040761fdea305f (patch)
tree8a075a9d72f90621aee9aed5fbefb80cc61ba8ac /data
parente83f9aa55257edcc55bab996464a89b66805a346 (diff)
downloadphorkie-b0ef26132629cfb7334fbbf7c1040761fdea305f.tar.gz
phorkie-b0ef26132629cfb7334fbbf7c1040761fdea305f.zip
Standardize sidebars
Diffstat (limited to 'data')
-rw-r--r--data/templates/display-sidebar-history.htm9
-rw-r--r--data/templates/list.htm4
-rw-r--r--data/templates/new.htm4
-rw-r--r--data/templates/repo-sidebar-list.htm2
-rw-r--r--data/templates/search.htm2
5 files changed, 12 insertions, 9 deletions
diff --git a/data/templates/display-sidebar-history.htm b/data/templates/display-sidebar-history.htm
index bf38884..eb844e4 100644
--- a/data/templates/display-sidebar-history.htm
+++ b/data/templates/display-sidebar-history.htm
@@ -1,8 +1,8 @@
-<h3>History</h3>
+<h4>History</h4>
<ul class="history unstyled">
{% for commit in repo.getHistory %}
- <li {% if commit.hash == repo.hash or (repo.hash == '' and loop.first) %}class="active"{%endif%}>
+ <li class="row-fluid {% if commit.hash == repo.hash or (repo.hash == '' and loop.first) %}active{%endif%}">
{% spaceless %}
{% for dot in commit.getDots %}
<img src="/phorkie/dot-{{dot}}.png" alt="" style="padding-left:1px" width="4" height="4"/>
@@ -10,7 +10,10 @@
{% endspaceless %}
<a class="hash" href="{{repo.getLink('revision', commit.hash)}}">{{commit.hash|slice(0, 6)}}</a>
<img src="{{commit.getIconUrl}}" alt="{{commit.committerName}}" title="{{commit.committerName}}" width="20"/>
- <span title="{{commit.committerTime|date('c')}}">{{dh.get(commit.committerTime)}}</span>
+ <span class="nobr" title="{{commit.committerTime|date('c')}}">
+ <span class="indent visible-tablet"></span>
+ {{dh.get(commit.committerTime)}}
+ </span>
</li>
{% else %}
<p>No commits yet</p>
diff --git a/data/templates/list.htm b/data/templates/list.htm
index aee3100..70e2fee 100644
--- a/data/templates/list.htm
+++ b/data/templates/list.htm
@@ -14,8 +14,8 @@
{% block sidebar %}
{% if recents.results %}
- <h3>Recently updated</h3>
- <ul>
+ <h4>Recently updated</h4>
+ <ul class="unstyled">
{% for repo in recents.repos %}
{% include 'repo-sidebar-list.htm' %}
{% endfor %}
diff --git a/data/templates/new.htm b/data/templates/new.htm
index 0f69719..4a748bf 100644
--- a/data/templates/new.htm
+++ b/data/templates/new.htm
@@ -38,8 +38,8 @@ $(document).ready(function() {
{% block sidebar %}
{% if recents.results %}
- <h3>Recently updated</h3>
- <ul>
+ <h4>Recently updated</h4>
+ <ul class="unstyled">
{% for repo in recents.repos %}
{% include 'repo-sidebar-list.htm' %}
{% endfor %}
diff --git a/data/templates/repo-sidebar-list.htm b/data/templates/repo-sidebar-list.htm
index cb9f3d8..69df49f 100644
--- a/data/templates/repo-sidebar-list.htm
+++ b/data/templates/repo-sidebar-list.htm
@@ -2,5 +2,5 @@
<a href="{{repo.getLink('display')}}">
{{repo.getTitle}}
</a><br/>
- &#160;&#160;&#160;<span title="{{repo.modate|date('c')}}">{{dh.get(repo.modate)}}</span>
+ <span class="indent" title="{{repo.modate|date('c')}}">{{dh.get(repo.modate)}}</span>
</li>
diff --git a/data/templates/search.htm b/data/templates/search.htm
index 7a19a4e..4f7d3e0 100644
--- a/data/templates/search.htm
+++ b/data/templates/search.htm
@@ -25,7 +25,7 @@
{% endblock %}
{% block sidebar %}
- <h3>Search tips</h3>
+ <h4>Search tips</h4>
<dl>
<dt>Exclusion</dt>
<dd><tt>+foo -bar</tt></dd>