From: Ant Zucaro Date: Sun, 8 Mar 2015 13:15:15 +0000 (-0400) Subject: Use foundation classes for navigation links. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8477238ecf99c676f0542e92bef663c7697c98a1;p=xonotic%2Fxonstat.git Use foundation classes for navigation links. --- diff --git a/xonstat/templates/navlinks.mako b/xonstat/templates/navlinks.mako index 112e521..7c35c9c 100644 --- a/xonstat/templates/navlinks.mako +++ b/xonstat/templates/navlinks.mako @@ -12,7 +12,7 @@ if 'search_query' in kwargs.keys(): % if not (curr == last and curr == 1):
-
+
    % if curr != 1: <% kwargs['_query']['page'] = curr-1 %> @@ -66,7 +66,7 @@ if 'search_query' in kwargs.keys(): <%def name="link_page(view, page_num, curr_page, **kwargs)"> % if page_num == curr_page: -
  • ${page_num}
  • +
  • ${page_num}
  • % else: <% kwargs['_query']['page'] = page_num %>
  • ${page_num}