From 0204e9181c5274d0c6db6daff4d997776703a9bb Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 19 Sep 2007 17:59:17 -0400 Subject: Widen up some fields in the WebUI so we don't crop off any strings or unneccessarily limit input. --- webui_templates/distro_edit.tmpl | 38 +++++++++++++++++++------------------- webui_templates/profile_edit.tmpl | 18 +++++++++--------- webui_templates/repo_edit.tmpl | 12 ++++++------ webui_templates/system_edit.tmpl | 14 +++++++------- 4 files changed, 41 insertions(+), 41 deletions(-) (limited to 'webui_templates') diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl index c791d0d..88f8d29 100644 --- a/webui_templates/distro_edit.tmpl +++ b/webui_templates/distro_edit.tmpl @@ -36,9 +36,9 @@ function disablename(value) #if $distro - Kernel - Initrd - #if $distro and $distro.arch == "x86" - x86 + x86 #else - x86 + x86 #end if #if $distro and $distro.arch == "x86_64" - x86_64 + x86_64 #else - x86_64 + x86_64 #end if #if $distro and $distro.arch == "ia64" - ia64 + ia64 #else - ia64 + ia64 #end if

This determines what bootloader to use

@@ -120,7 +120,7 @@ function disablename(value) - Kickstart Metadata - #if $distro and $distro.breed == "redhat" - Red Hat Based + Red Hat Based #else #if $distro and $distro.breed != "redhat" - Red Hat Based + Red Hat Based #else - Red Hat Based + Red Hat Based #end if #end if #if $distro and $distro.breed == "debian" - Debian + Debian #else - Debian + Debian #end if #if $distro and $distro.breed == "suse" - SuSE + SuSE #else - SuSE + SuSE #end if

This option determines how kernel options are prepared

diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl index 070c330..5f5fc7c 100644 --- a/webui_templates/profile_edit.tmpl +++ b/webui_templates/profile_edit.tmpl @@ -39,9 +39,9 @@ function disablename(value) #if $profile - Kickstart File - Kernel Options - Kickstart Metadata - Virt File Size (GB) - Virt RAM (MB) - Virt Path - Repo Names - #if $repo - Mirror Location (http/ftp/rsync) - Local Filename - RPM List - createrepo flags - #if $system - MAC - IP - Hostname - Kernel Options - Kickstart Metadata -