summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-10-31 12:50:33 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-10-31 12:50:33 -0400
commit8c179cbc21dcafd91671404607f1c290f18aeb11 (patch)
tree74aa55b7b4a7805fb9b6cbc7615a0c7e5cddf46c /webui_templates
parent4f6d730917ea7b3e1669fa72ca3fb36118a3f106 (diff)
downloadthird_party-cobbler-8c179cbc21dcafd91671404607f1c290f18aeb11.tar.gz
third_party-cobbler-8c179cbc21dcafd91671404607f1c290f18aeb11.tar.xz
third_party-cobbler-8c179cbc21dcafd91671404607f1c290f18aeb11.zip
Fix for cobbler's dhcp generation behavior with the new interface representation.
(Plus some unfinished work on paginating the WebUI).
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/system_list.tmpl20
1 files changed, 20 insertions, 0 deletions
diff --git a/webui_templates/system_list.tmpl b/webui_templates/system_list.tmpl
index e74f313..93f4602 100644
--- a/webui_templates/system_list.tmpl
+++ b/webui_templates/system_list.tmpl
@@ -1,7 +1,27 @@
#extends cobbler.webui.master
#block body
+
+ ## navigation for pages
+
+ Pages:&nbsp;
+ #if $page != 0
+ #set $previous_page = $page - 1
+ <A HREF="${base_url}/system_list?page=${previous_page}&results_per_page=${results_per_page}">&lt;</A>&nbsp;
+ #end
+
+ #for $this_page in $pages
+ <A HREF="${base_url}/system_list?page=${this_page}&results_per_page=${results_per_page}">$p</A>&nbsp;
+ #end
+
+ #if $page != $lastpage
+ #set $next_page = $page + 1
+ <A HREF="${base_url}/system_list?page=${next_page}&results_per_page=${results_per_page}">&rt;</A>
+ #end
+ </br>
+
<table class="sortable">
+
<thead>
<caption>Cobbler Systems</caption>
<tr>