summaryrefslogtreecommitdiffstats
path: root/webui_templates/system_edit.tmpl
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-13 18:28:28 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-13 18:28:28 -0400
commit30d26a3e234d3229e128c977b7aeefdc425ad910 (patch)
treeab53db2a8d30f88bdf91bfa00c345a6f2ac03d98 /webui_templates/system_edit.tmpl
parentbaec248f1bf62ec6ed099d1d29516cab917655a8 (diff)
downloadthird_party-cobbler-30d26a3e234d3229e128c977b7aeefdc425ad910.zip
third_party-cobbler-30d26a3e234d3229e128c977b7aeefdc425ad910.tar.gz
third_party-cobbler-30d26a3e234d3229e128c977b7aeefdc425ad910.tar.xz
Adds edit capability to distro and profile objects, plus some random hacking on the WebUI.
Also adds delete checkboxes that are currently not implemented.
Diffstat (limited to 'webui_templates/system_edit.tmpl')
-rw-r--r--webui_templates/system_edit.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl
index 3ba1c99..dfbb34c 100644
--- a/webui_templates/system_edit.tmpl
+++ b/webui_templates/system_edit.tmpl
@@ -3,6 +3,13 @@
#block body
<form method="post" action="$base_url/system_save">
<fieldset id="cform">
+
+ #if $system
+ <input type="hidden" name="new_or_edit" value="edit"/>
+ #else
+ <input type="hidden" name="new_or_edit" value="new"/>
+ #end if
+
<legend>Edit a System</legend>
<label for="name">System Name</label>
@@ -81,6 +88,14 @@
/>
<br/>
+ #if $system
+ <label for="delete">Delete</label>
+ <input type="checkbox" name="delete1" value="delete1">Yes
+ <input type="checkbox" name="delete2" value="delete2">Really
+ <br/>
+ #end if
+
+
<input type="submit" name="submit" value="Save"/>
<input type="reset" name="reset" value="Reset"/>
</fieldset>