Hi, This patch increases the lengt of certain fields in the webui of Cobbler. Mostly the fields that in my case contain long entries (paths, URL's, ...). And I presume that that would be the case with more people. This improves the usability of the webui a lot for me. Regards, Tim -- Tim Verhoeven - tim.verhoeven.be@xxxxxxxxx - 0479 / 88 11 83 Hoping the problem magically goes away by ignoring it is the "microsoft approach to programming" and should never be allowed. (Linus Torvalds)
diff -urN webui_templates/distro_edit.tmpl /usr/share/cobbler/webui_templates/distro_edit.tmpl --- webui_templates/distro_edit.tmpl 2007-11-14 18:39:23.000000000 +0100 +++ /usr/share/cobbler/webui_templates/distro_edit.tmpl 2007-11-16 12:59:28.000000000 +0100 @@ -68,7 +68,7 @@ <label for="kernel">Kernel</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="kernel" id="kernel" + <input type="text" size="255" style="width: 400px;" name="kernel" id="kernel" #if $distro value="$distro.kernel" #end if @@ -82,7 +82,7 @@ <label for="initrd">Initrd</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="initrd" id="initrd" + <input type="text" size="255" style="width: 400px;" name="initrd" id="initrd" #if $distro value="$distro.initrd" #end if @@ -120,7 +120,7 @@ <label for="kopts">Kernel Options</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="kopts" id="kopts" + <input type="text" size="255" style="width: 400px;" name="kopts" id="kopts" #if $distro value="$distro.kernel_options" #end if @@ -134,7 +134,7 @@ <label for="ksmeta">Kickstart Metadata</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="ksmeta" id="ksmeta" + <input type="text" size="255" style="width: 400px;" name="ksmeta" id="ksmeta" #if $distro value="$distro.ks_meta" #end if diff -urN webui_templates/profile_edit.tmpl /usr/share/cobbler/webui_templates/profile_edit.tmpl --- webui_templates/profile_edit.tmpl 2007-11-14 18:39:24.000000000 +0100 +++ /usr/share/cobbler/webui_templates/profile_edit.tmpl 2007-11-16 13:01:07.000000000 +0100 @@ -125,7 +125,7 @@ <label for="kickstart">Kickstart File</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="kickstart" id="kickstart" + <input type="text" size="255" style="width: 400px;" name="kickstart" id="kickstart" #if $profile value="$profile.kickstart" #end if @@ -139,7 +139,7 @@ <label for="kopts">Kernel Options</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="kopts" id="kopts" + <input type="text" size="255" style="width: 400px;" name="kopts" id="kopts" #if $profile value="$profile.kernel_options" #end if @@ -153,7 +153,7 @@ <label for="ksmeta">Kickstart Metadata</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="ksmeta" id="ksmeta" + <input type="text" size="255" style="width: 400px;" name="ksmeta" id="ksmeta" #if $profile value="$profile.ks_meta" #end if @@ -223,7 +223,7 @@ <label for="virtpath">Virt Path</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="virtpath" id="virtpath" + <input type="text" size="255" style="width: 400px;" name="virtpath" id="virtpath" #if $profile value="$profile.virt_path" #end if diff -urN webui_templates/repo_edit.tmpl /usr/share/cobbler/webui_templates/repo_edit.tmpl --- webui_templates/repo_edit.tmpl 2007-11-14 18:39:24.000000000 +0100 +++ /usr/share/cobbler/webui_templates/repo_edit.tmpl 2007-11-16 13:02:09.000000000 +0100 @@ -65,7 +65,7 @@ <label for="mirror">Mirror Location (http/ftp/rsync)</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="mirror" id="mirror" + <input type="text" size="255" style="width: 400px;" name="mirror" id="mirror" #if $repo value="$repo.mirror" #end if @@ -98,7 +98,7 @@ <label for="rpm_list">RPM List</label> </td> <td> - <input type="text" size="512" style="width: 150px;" name="rpm_list" id="rpm_list" + <input type="text" size="512" style="width: 400px;" name="rpm_list" id="rpm_list" #if $repo value="$repo.rpm_list" #end if diff -urN webui_templates/system_edit.tmpl /usr/share/cobbler/webui_templates/system_edit.tmpl --- webui_templates/system_edit.tmpl 2007-11-14 18:39:24.000000000 +0100 +++ /usr/share/cobbler/webui_templates/system_edit.tmpl 2007-11-16 12:59:36.000000000 +0100 @@ -157,7 +157,7 @@ <label for="kopts">Kernel Options</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="kopts" id="kopts" + <input type="text" size="255" style="width: 400px;" name="kopts" id="kopts" #if $system value="$system.kernel_options" #end if @@ -171,7 +171,7 @@ <label for="ksmeta">Kickstart Metadata</label> </td> <td> - <input type="text" size="255" style="width: 150px;" name="ksmeta" id="ksmeta" + <input type="text" size="255" style="width: 400px;" name="ksmeta" id="ksmeta" #if $system value="$system.ks_meta" #end if
_______________________________________________ et-mgmt-tools mailing list et-mgmt-tools@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/et-mgmt-tools