Tiny pagination style changes
authorJef van Schendel <jefvanschendel@gmail.com>
Fri, 1 Jul 2011 18:14:38 +0000 (20:14 +0200)
committerJef van Schendel <jefvanschendel@gmail.com>
Fri, 1 Jul 2011 18:14:38 +0000 (20:14 +0200)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/utils/pagination.html

index 18febd9c6d4f436b4bb926c2a04b5c81592c4ca0..3b2a9a50f90ad1a74217a2dafd7299b1fe00cecb 100644 (file)
@@ -155,6 +155,10 @@ a.mediagoblin_logo:hover {
   padding-right:11px;
 }
 
+.pagination{
+text-align:center;
+}
+
 /* forms */
 
 .form_box {
index 016ae98634a45a4daa259a99c9717ab51c44cc8a..2423d08d79a007f25c9c3a7fae356926263b9460 100644 (file)
@@ -19,7 +19,7 @@
 
 {% if pagination %}
   <div class="pagination">
-
+  <p>
       {% if pagination.has_prev %}
         <a href="{{ pagination.get_page_url(request, pagination.page-1) }}">&laquo; Prev</a>
       {% endif %}
@@ -39,6 +39,7 @@
       {% if pagination.has_next %}
         <a href="{{ pagination.get_page_url(request, pagination.page + 1) }}">Next &raquo;</a>
       {% endif %}
+     </p>
    </div>
 {% endif %}