summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-11-17 10:45:32 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-11-17 10:45:32 -0500
commit10e36f24c0f86ca9956ea757340c846b806de28d (patch)
tree1bb3229215e495f805c60f36d720d05d58cb3322 /webui_templates
parent2c3510f0624080645c57bcef6ee17fcffc3322cf (diff)
downloadcobbler-10e36f24c0f86ca9956ea757340c846b806de28d.tar.gz
cobbler-10e36f24c0f86ca9956ea757340c846b806de28d.tar.xz
cobbler-10e36f24c0f86ca9956ea757340c846b806de28d.zip
Slight tweak to netboot enabled wording.
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/system_edit.tmpl70
1 files changed, 35 insertions, 35 deletions
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl
index 68823db5..cb8bad10 100644
--- a/webui_templates/system_edit.tmpl
+++ b/webui_templates/system_edit.tmpl
@@ -403,7 +403,7 @@ function page_onload() {
#else
#set $comm = ""
#end if
- <textarea rows="5" cols="30" 400px;" name="comment" id="comment">$comm</textarea>
+ <textarea rows="5" cols="30" style="width: 400px;" name="comment" id="comment">$comm</textarea>
<p class="context-tip">This is a free-form description field</p>
</td>
</tr>
@@ -411,6 +411,26 @@ function page_onload() {
<tr>
<td>
+ <label for="netboot">Netboot Enabled</label>
+ </td>
+ <td>
+
+ #if $system
+ #if str($system.netboot_enabled) != "False"
+ <input type="checkbox" name="netboot" id="netboot" checked=True>
+ #else
+ <input type="checkbox" name="netboot" id="netboot">
+ #end if
+ #else
+ <input type="checkbox" name="netboot" id="netboot" checked="True">
+ #end if
+
+ <p class="context-tip">For PXE setups, select to boot the profile below for the system.<br/>De-select to boot the system from local disk.</p>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
<label for="profile">Profile</label>
</td>
<td>
@@ -429,63 +449,43 @@ function page_onload() {
<tr>
<td>
- <label for="kopts">Kernel Options</label>
+ <label for="ksmeta">Kickstart Metadata</label>
</td>
<td>
- <input type="text" size="255" style="width: 400px;" name="kopts" id="kopts"
+ <input type="text" size="255" style="width: 400px;" name="ksmeta" id="ksmeta"
#if $system
- value="$system.kernel_options"
+ value="$system.ks_meta"
#end if
- />
- <p class="context-tip">Example: noipv6 magic=foo</p>
+ />
+ <p class="context-tip">Example: dog=fido gnome=yes</p>
</td>
</tr>
<tr>
<td>
- <label for="koptspost">Post Kernel Options</label>
+ <label for="kopts">Kernel Options</label>
</td>
<td>
- <input type="text" size="255" style="width: 400px;" name="koptspost" id="koptspost"
+ <input type="text" size="255" style="width: 400px;" name="kopts" id="kopts"
#if $system
- value="$system.kernel_options_post"
+ value="$system.kernel_options"
#end if
/>
- <p class="context-tip">Example: clocksource=pit nosmp noapic nolapic</p>
+ <p class="context-tip">Example: noipv6 magic=foo</p>
</td>
</tr>
<tr>
<td>
- <label for="ksmeta">Kickstart Metadata</label>
+ <label for="koptspost">Post Kernel Options</label>
</td>
<td>
- <input type="text" size="255" style="width: 400px;" name="ksmeta" id="ksmeta"
+ <input type="text" size="255" style="width: 400px;" name="koptspost" id="koptspost"
#if $system
- value="$system.ks_meta"
+ value="$system.kernel_options_post"
#end if
- />
- <p class="context-tip">Example: dog=fido gnome=yes</p>
- </td>
- </tr>
-
- <tr>
- <td>
- <label for="netboot">Netboot Enabled</label>
- </td>
- <td>
-
- #if $system
- #if str($system.netboot_enabled) != "False"
- <input type="checkbox" name="netboot" id="netboot" checked=True>
- #else
- <input type="checkbox" name="netboot" id="netboot">
- #end if
- #else
- <input type="checkbox" name="netboot" id="netboot" checked="True">
- #end if
-
- <p class="context-tip">Deselect to keep this system from PXE booting</p>
+ />
+ <p class="context-tip">Example: clocksource=pit nosmp noapic nolapic</p>
</td>
</tr>