summaryrefslogtreecommitdiffstats
path: root/webui_templates/profile_edit.tmpl
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-12 17:25:23 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-12 17:25:23 -0400
commit97b3fac9ce681398a2b82d33d65e1940e4d73903 (patch)
treef22854d2ab5bc191504823cbc1bd315f5aef39b4 /webui_templates/profile_edit.tmpl
parent962a47d34fe6ecf19da4d50bbcb0b2adab82c05a (diff)
downloadthird_party-cobbler-97b3fac9ce681398a2b82d33d65e1940e4d73903.tar.gz
third_party-cobbler-97b3fac9ce681398a2b82d33d65e1940e4d73903.tar.xz
third_party-cobbler-97b3fac9ce681398a2b82d33d65e1940e4d73903.zip
Renaming the _add template to be _edit so things are consistant + some misc hacking.
Diffstat (limited to 'webui_templates/profile_edit.tmpl')
-rw-r--r--webui_templates/profile_edit.tmpl45
1 files changed, 45 insertions, 0 deletions
diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl
new file mode 100644
index 0000000..424e7d9
--- /dev/null
+++ b/webui_templates/profile_edit.tmpl
@@ -0,0 +1,45 @@
+#extends cobbler.webui.master
+
+#block body
+<form method="post" action="/profile_save">
+<fieldset id="cform">
+ <legend>Add a Profile</legend>
+
+<!--
+ cobbler profile add -name=string -distro=string [-kickstart=url]
+ [-kopts=string] [-ksmeta=string] [-virt-file-size=gigabytes]
+ [-virt-ram=megabytes] [-virt-type=string] [-virt-path=string]
+-->
+
+ <label for="name">Profile Name</label>
+ <input type="text" size="32" style="width: 150px;" name="name" id="name"/>
+ <br/>
+
+ <label for="distro">Distribution</label>
+ <select name="distro" id="distro">
+ #for $distro in $distros:
+ <option name="$distro.name">$distro.name</option>
+ #end for
+ </select>
+ <br/>
+
+ <label for="ksfile">Kickstart File</label>
+ <select name="ksfile" id="ksfile">
+ #for $ksfile in $ksfiles:
+ <option name="$ksfile">$ksfile</option>
+ #end for
+ </select>
+ <br/>
+
+ <label for="kopts">Kernel Options</label>
+ <input type="text" size="128" style="width: 150px;" name="kopts" id="kopts"/>
+ <br/>
+
+ <label for="ksmeta">Kickstart Metadata</label>
+ <input type="text" size="128" style="width: 150px;" name="ksmeta" id="ksmeta"/>
+ <br/>
+
+ <input type="submit" name="submit" value="Save"/>
+ <input type="reset" name="reset" value="Reset"/>
+</fieldset>
+#end block body