summaryrefslogtreecommitdiffstats
path: root/webui_templates
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-04-04 17:12:32 -0400
committerMichael DeHaan <mdehaan@redhat.com>2008-04-04 17:12:32 -0400
commit9337f9411092bcd3da4005fa29557f875fbf68e8 (patch)
tree0b4470c705a4e67f7cddc64540176020a8867461 /webui_templates
parentb7e606d6fe4c431c8fb95e96ac6b4c5e101f202d (diff)
downloadthird_party-cobbler-9337f9411092bcd3da4005fa29557f875fbf68e8.tar.gz
third_party-cobbler-9337f9411092bcd3da4005fa29557f875fbf68e8.tar.xz
third_party-cobbler-9337f9411092bcd3da4005fa29557f875fbf68e8.zip
Get duplicate name/ip/mac checks implemented for WebUI and XMLRPC
now that command line/local-API is done.
Diffstat (limited to 'webui_templates')
-rw-r--r--webui_templates/distro_edit.tmpl2
-rw-r--r--webui_templates/profile_edit.tmpl2
-rw-r--r--webui_templates/repo_edit.tmpl2
-rw-r--r--webui_templates/system_edit.tmpl2
4 files changed, 8 insertions, 0 deletions
diff --git a/webui_templates/distro_edit.tmpl b/webui_templates/distro_edit.tmpl
index 5d19a43..f72ab11 100644
--- a/webui_templates/distro_edit.tmpl
+++ b/webui_templates/distro_edit.tmpl
@@ -66,6 +66,8 @@ function disablename(value)
<p class="context-tip">How do you want to modify this object?</p>
</td>
</tr>
+ #else
+ <input type="hidden" name="editmode" value="new"/>
#end if
diff --git a/webui_templates/profile_edit.tmpl b/webui_templates/profile_edit.tmpl
index 2f7a732..0c8f156 100644
--- a/webui_templates/profile_edit.tmpl
+++ b/webui_templates/profile_edit.tmpl
@@ -80,6 +80,8 @@ function disablename(value)
<p class="context-tip">How do you want to modify this object?</p>
</td>
</tr>
+ #else
+ <input type="hidden" name="editmode" value="new"/>
#end if
#if $subprofile
diff --git a/webui_templates/repo_edit.tmpl b/webui_templates/repo_edit.tmpl
index 469854a..30d516d 100644
--- a/webui_templates/repo_edit.tmpl
+++ b/webui_templates/repo_edit.tmpl
@@ -62,6 +62,8 @@ function disablename(value)
<p class="context-tip">How do you want to modify this object?</p>
</td>
</tr>
+ #else
+ <input type="hidden" name="editmode" value="new"/>
#end if
<tr>
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl
index 5396f1d..684c6d1 100644
--- a/webui_templates/system_edit.tmpl
+++ b/webui_templates/system_edit.tmpl
@@ -138,6 +138,8 @@ function page_onload() {
<p class="context-tip">How do you want to modify this object?</p>
</td>
</tr>
+ #else
+ <input type="hidden" name="editmode" value="new"/>
#end if
<tr id="id9002">