diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-11-06 21:23:07 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-11-06 21:23:07 +0000 |
commit | 75e2d050496db86c6ed1e4c8ec8c9c9da6341f77 (patch) | |
tree | 52d05dda8965c0dbdc94f122c8da1330967ea177 /src/lib/Server/Hostbase/hostbase/webtemplates/edit.html | |
parent | 23c1f2cc6be9926fdfe85e37869ef88f84b9200e (diff) | |
download | bcfg2-75e2d050496db86c6ed1e4c8ec8c9c9da6341f77.tar.gz bcfg2-75e2d050496db86c6ed1e4c8ec8c9c9da6341f77.tar.bz2 bcfg2-75e2d050496db86c6ed1e4c8ec8c9c9da6341f77.zip |
dhcp option is now per interface
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2474 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/edit.html')
-rw-r--r-- | src/lib/Server/Hostbase/hostbase/webtemplates/edit.html | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html b/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html index 49e054e8a..d3bb848ca 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html @@ -102,13 +102,6 @@ div#interface{ <td> <input name="csi" type="text" value="{{ host.csi }}"></td></tr> <tr> <td> <b>printq</b></td> <td> <input name="printq" type="text" value="{{ host.printq }}"></td></tr> - <tr> <td> <b>dhcp</b></td> - <td> - {% if host.dhcp %} - <input type="checkbox" checked="checked" name="dhcp"></td></tr> - {% else %} - <input type="checkbox" name="dhcp"></td></tr> - {% endif %} <tr> <td> <b>outbound_smtp</b></td> <td> {% if host.outbound_smtp %} @@ -135,6 +128,13 @@ div#interface{ {% endifequal %} {% endfor %} </td></tr> + <tr> <td> <b>dhcp</b></td> + <td> + {% if interface.0.dhcp %} + <input type="checkbox" checked="checked" name="dhcp{{ interface.0.id }}"></td></tr> + {% else %} + <input type="checkbox" name="dhcp{{ interface.0.id }}"></td></tr> + {% endif %} <tr> <td> <b>mac_addr</b></td> <td> <input name="mac_addr{{ interface.0.id }}" type="text" value="{{ interface.0.mac_addr }}"> <a style="font-size:75%" href="/hostbase/{{ host.id }}/interface/{{ interface.0.id }}/confirm">remove</a> @@ -180,6 +180,13 @@ div#interface{ <input type="radio" name="hdwr_type_new" value="{{ choice.0 }}">{{ choice.1 }} {% endfor %} </td></tr> + <tr> <td> <b>dhcp</b></td> + <td> + {% if host.dhcp %} + <input type="checkbox" checked="checked" name="dhcp_new"></td></tr> + {% else %} + <input type="checkbox" name="dhcp_new"></td></tr> + {% endif %} <tr> <td> <b>mac_addr</b></td> <td> <input name="mac_addr_new" type="text"></td></tr> <tr> <td> <b>ip_addr</b></td> |