| | |
| | | |
| | | <div class="panel panel_openvz_ip"> |
| | | |
| | | <div class="pnl_formsarea"> |
| | | <fieldset class="inlineLabels"><legend>IP address</legend> |
| | | <div class="ctrlHolder"> |
| | | <label for="server_id">{tmpl_var name='server_id_txt'}</label> |
| | | <select name="server_id" id="server_id" class="selectInput"> |
| | | {tmpl_var name='server_id'} |
| | | </select> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="ip_address">{tmpl_var name='ip_address_txt'}</label> |
| | | <input name="ip_address" id="ip_address" value="{tmpl_var name='ip_address'}" size="15" maxlength="15" type="text" class="textInput" /> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="vm_id">{tmpl_var name='vm_id_txt'}</label> |
| | | <select name="vm_id" id="vm_id" class="selectInput" disabled="disabled"> |
| | | {tmpl_var name='vm_id'} |
| | | </select> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='reserved_txt'}</p> |
| | | <div class="multiField"> |
| | | {tmpl_var name='reserved'} |
| | | </div> |
| | | </div> |
| | | </fieldset> |
| | | |
| | | <input type="hidden" name="id" value="{tmpl_var name='id'}"> |
| | | |
| | | <div class="buttonHolder buttons"> |
| | | <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','vm/openvz_ip_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button> |
| | | <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('vm/openvz_ip_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button> |
| | | <div class="pnl_formsarea"> |
| | | <fieldset class="inlineLabels"><legend>IP address</legend> |
| | | <div class="ctrlHolder"> |
| | | <label for="server_id">{tmpl_var name='server_id_txt'}</label> |
| | | <select name="server_id" id="server_id" class="selectInput"> |
| | | {tmpl_var name='server_id'} |
| | | </select> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="ip_address">{tmpl_var name='ip_address_txt'}</label> |
| | | <input name="ip_address" id="ip_address" value="{tmpl_var name='ip_address'}" size="15" maxlength="15" type="text" class="textInput" /> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <label for="vm_id">{tmpl_var name='vm_id_txt'}</label> |
| | | <select name="vm_id" id="vm_id" class="selectInput" disabled="disabled"> |
| | | {tmpl_var name='vm_id'} |
| | | </select> |
| | | </div> |
| | | <div class="ctrlHolder"> |
| | | <p class="label">{tmpl_var name='reserved_txt'}</p> |
| | | <div class="multiField"> |
| | | {tmpl_var name='reserved'} |
| | | </div> |
| | | </div> |
| | | </fieldset> |
| | | |
| | | <input type="hidden" name="id" value="{tmpl_var name='id'}"> |
| | | |
| | | <div class="buttonHolder buttons"> |
| | | <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','vm/openvz_ip_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button> |
| | | <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('vm/openvz_ip_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <script language="JavaScript" type="text/javascript"> |
| | | var vm_id = jQuery('#vm_id').val(); |
| | | jQuery('#vm_id').attr({name: 'vm_id_disabled', id: 'vm_id_disabled'}); |
| | | jQuery('#vm_id_disabled').after('<input type="hidden" name="vm_id" value="'+vm_id+'">'); |
| | | |
| | | var vm_id = jQuery('#vm_id').val(); |
| | | jQuery('#vm_id').attr({name: 'vm_id_disabled', id: 'vm_id_disabled'}); |
| | | jQuery('#vm_id_disabled').after('<input type="hidden" name="vm_id" value="'+vm_id+'">'); |
| | | |
| | | </script> |