diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-31 12:50:33 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-31 12:50:33 -0400 |
commit | 8c179cbc21dcafd91671404607f1c290f18aeb11 (patch) | |
tree | 74aa55b7b4a7805fb9b6cbc7615a0c7e5cddf46c /webui_templates | |
parent | 4f6d730917ea7b3e1669fa72ca3fb36118a3f106 (diff) | |
download | third_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.tmpl | 20 |
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: + #if $page != 0 + #set $previous_page = $page - 1 + <A HREF="${base_url}/system_list?page=${previous_page}&results_per_page=${results_per_page}"><</A> + #end + + #for $this_page in $pages + <A HREF="${base_url}/system_list?page=${this_page}&results_per_page=${results_per_page}">$p</A> + #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> |