summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-12 19:07:58 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-12 19:07:58 -0400
commitdc9bdafbb989b2eedf5f62e933ba163ed614739f (patch)
treecbd1f05e352e8ebf6450f62749883f7c39bab11e /webui_templates
parenta5a2ea4b527e4cd8b8262e635fe95a41113345d5 (diff)
downloadthird_party-cobbler-dc9bdafbb989b2eedf5f62e933ba163ed614739f.tar.gz
third_party-cobbler-dc9bdafbb989b2eedf5f62e933ba163ed614739f.tar.xz
third_party-cobbler-dc9bdafbb989b2eedf5f62e933ba163ed614739f.zip
Adding some new URL targets and new entry placeholders to the main menu. Currently changes are not showing up (master.py?) in the main menu but everything else looks good. (Note that distro_add and the like are now distro_edit -- hence the URL change).
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/distro_edit.tmpl59
1 files changed, 59 insertions, 0 deletions
diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl
new file mode 100644
index 0000000..6957157
--- /dev/null
+++ b/webui_templates/distro_edit.tmpl
@@ -0,0 +1,59 @@
+#extends cobbler.webui.master
+
+#block body
+<form method="post" action="$base_url/distro_save">
+<fieldset id="cform">
+ <legend>Edit a Distro</legend>
+
+ <label for="name">Name</label>
+ <input type="text" size="32" style="width: 150px;" name="name" id="name"
+ #if $distro
+ value="$distro.name"
+ #end if
+ />
+ <br/>
+
+ <label for="kernel">Kernel</label>
+ <input type="text" size="32" style="width: 150px;" name="kernel" id="kernel"
+ #if $distro
+ value="$distro.kernel"
+ #end if
+ />
+ <br/>
+
+ <label for="initrd">Initrd</label>
+ <input type="text" size="32" style="width: 150px;" name="initrd" id="initrd"
+ #if $distro
+ value="$distro.initrd"
+ #end if
+ />
+ <br/>
+
+ <label for="kopts">Kernel Options</label>
+ <input type="text" size="32" style="width: 150px;" name="kopts" id="kopts"
+ #if $distro
+ value="$distro.kopts"
+ #end if
+ />
+ <br/>
+
+ <label for="ksmeta">Kickstart Metadata</label>
+ <input type="text" size="32" style="width: 150px;" name="ksmeta" id="ksmeta"
+ #if $distro
+ value="$distro.ks_meta"
+ #end if
+ />
+ <br/>
+
+ <label for="breed">Breed</label>
+ <input type="text" size="32" style="width: 150px;" name="breed" id="breed"
+ #if $distro
+ value="$distro.breed"
+ #end if
+ />
+
+ <input type="submit" name="submit" value="Save"/>
+ <input type="reset" name="reset" value="Reset"/>
+</fieldset>
+</form>
+#end block body