From 762de2e043b967bdf0bdc1be8189ab21b055a808 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 5 Dec 2007 11:46:38 -0500 Subject: mod_python version of webui now operational at http://server/cobbler/web with pluggable authn/authz and using same tokens through entire communication chain. Should probably implement a session logout though. --- webui_templates/distro_edit.tmpl | 3 ++- webui_templates/distro_list.tmpl | 2 +- webui_templates/ksfile_edit.tmpl | 2 +- webui_templates/ksfile_list.tmpl | 4 ++-- webui_templates/master.tmpl | 24 ++++++++++++------------ webui_templates/paginate.tmpl | 6 +++--- webui_templates/profile_edit.tmpl | 2 +- webui_templates/profile_list.tmpl | 6 +++--- webui_templates/repo_edit.tmpl | 2 +- webui_templates/system_edit.tmpl | 4 ++-- webui_templates/system_list.tmpl | 4 ++-- 11 files changed, 30 insertions(+), 29 deletions(-) (limited to 'webui_templates') diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl index 5e45800..167f8cb 100644 --- a/webui_templates/distro_edit.tmpl +++ b/webui_templates/distro_edit.tmpl @@ -15,12 +15,13 @@ function disablename(value) #end if -
+
#if $distro Editing Distro + #else diff --git a/webui_templates/distro_list.tmpl b/webui_templates/distro_list.tmpl index db9897f..4fabd48 100644 --- a/webui_templates/distro_list.tmpl +++ b/webui_templates/distro_list.tmpl @@ -30,7 +30,7 @@ - $distro.name + $distro.name $distro.breed $distro.arch diff --git a/webui_templates/ksfile_edit.tmpl b/webui_templates/ksfile_edit.tmpl index 8b0eeec..5e0c5ae 100644 --- a/webui_templates/ksfile_edit.tmpl +++ b/webui_templates/ksfile_edit.tmpl @@ -2,7 +2,7 @@ #attr $title = "Cobbler: Edit Kickstart File $ksfile" #block body - +
Edit Kickstart File diff --git a/webui_templates/ksfile_list.tmpl b/webui_templates/ksfile_list.tmpl index 292fcf9..dcfaa0a 100644 --- a/webui_templates/ksfile_list.tmpl +++ b/webui_templates/ksfile_list.tmpl @@ -22,9 +22,9 @@ $ksfile #if $ksfile.startswith("/var/lib/cobbler/kickstarts") - edit + edit #else if $ksfile.startswith("/etc/cobbler") - edit + edit #else if $ksfile.startswith("http://") view #else diff --git a/webui_templates/master.tmpl b/webui_templates/master.tmpl index abd09af..96fbe75 100644 --- a/webui_templates/master.tmpl +++ b/webui_templates/master.tmpl @@ -29,23 +29,23 @@ diff --git a/webui_templates/paginate.tmpl b/webui_templates/paginate.tmpl index 9d986f3..9b20e56 100644 --- a/webui_templates/paginate.tmpl +++ b/webui_templates/paginate.tmpl @@ -3,7 +3,7 @@ #if $page != 0 #set $previous_page = $page - 1 - <  + <  #else < #end if @@ -15,13 +15,13 @@ #else #set doselect = " selected " #end if - + #end for #if $page != $pages #set $next_page = $page + 1 - > + > #else > #end if diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl index 6be47d0..f9eca09 100644 --- a/webui_templates/profile_edit.tmpl +++ b/webui_templates/profile_edit.tmpl @@ -13,7 +13,7 @@ function disablename(value) #end if - +