[Pkg-debile-commits] [debile-web] 01/01: Add next/previous page links to the bottom, as well as top, of lists

Jon Severinsson jonno-guest at moszumanska.debian.org
Wed Jun 11 09:59:14 UTC 2014


This is an automated email from the git hooks/post-receive script.

jonno-guest pushed a commit to branch master
in repository debile-web.

commit 67f3225b70828d78928899063d817d4052275065
Author: Jon Severinsson <jon at severinsson.net>
Date:   Wed Jun 11 11:57:58 2014 +0200

    Add next/previous page links to the bottom, as well as top, of lists
---
 templates/builder.html | 10 ++++++++--
 templates/group.html   | 11 ++++++++---
 templates/jobs.html    |  4 ++++
 templates/sources.html |  4 ++++
 templates/user.html    | 10 ++++++++--
 5 files changed, 32 insertions(+), 7 deletions(-)

diff --git a/templates/builder.html b/templates/builder.html
index 65038ea..2ffec4d 100644
--- a/templates/builder.html
+++ b/templates/builder.html
@@ -34,10 +34,16 @@
 
     <div class='block'>
         <h3>Jobs Assigned to {{builder.name}}</h3>
-        {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
-        {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        <div>
+            {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
+            {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        </div>
         <div class = 'clear' ></div>
         {% include "job_list_fragment.html" %}
+        <div>
+            {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
+            {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        </div>
     </div>
 
 {% endblock %}
diff --git a/templates/group.html b/templates/group.html
index b716975..04f38de 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -70,10 +70,15 @@
 
     <div class='block'>
         <h3>Sources in Package Group {{group.name}}</h3>
-        {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
-        {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
-        <div class = 'clear' ></div>
+        <div>
+            {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
+            {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        </div>
         {% include "source_list_fragment.html" %}
+        <div>
+            {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
+            {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        </div>
     </div>
 
 {% endblock %}
diff --git a/templates/jobs.html b/templates/jobs.html
index 1ee8b27..c46ded3 100644
--- a/templates/jobs.html
+++ b/templates/jobs.html
@@ -11,6 +11,10 @@
             {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
         </div>
         {% include "job_list_fragment.html" %}
+        <div>
+            {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
+            {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        </div>
     </div>
 
 {% endblock %}
diff --git a/templates/sources.html b/templates/sources.html
index 94f3b80..a184d18 100644
--- a/templates/sources.html
+++ b/templates/sources.html
@@ -12,6 +12,10 @@
             {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
         </div>
         {% include "source_list_fragment.html" %}
+        <div>
+            {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
+            {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        </div>
     </div>
 
 {% endblock %}
diff --git a/templates/user.html b/templates/user.html
index a658f0e..b3e5d72 100644
--- a/templates/user.html
+++ b/templates/user.html
@@ -44,10 +44,16 @@
 
     <div class='block'>
         <h3>Sources Uploaded by {{user.name}}</h3>
-        {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
-        {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        <div>
+            {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
+            {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        </div>
         <div class = 'clear' ></div>
         {% include "source_list_fragment.html" %}
+        <div>
+            {% if info.prev_link %}<a class='left' href='{{info.prev_link}}'>previous page</a>{% endif %}
+            {% if info.next_link %}<a class='right' href='{{info.next_link}}'>next page</a>{% endif %}
+        </div>
     </div>
     
 {% endblock %}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-web.git



More information about the Pkg-debile-commits mailing list