| | |
| | | <label for="server_id_disabled" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
| | | <div class="col-sm-9"><select name="server_id_disabled" id="server_id_disabled" class="form-control" disabled="disabled"> |
| | | {tmpl_var name='server_id'} |
| | | </select> |
| | | </div><input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
| | | </select></div> |
| | | <input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
| | | <tmpl_else> |
| | | <label for="server_id" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
| | | <div class="col-sm-9"><select name="server_id" id="server_id" class="form-control" onChange="loadOptionInto('ip_address','vm/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)"> |
| | | {tmpl_var name='server_id'} |
| | | </select> |
| | | </div></tmpl_if> |
| | | </select></div> |
| | | </tmpl_if> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_group_id_txt'}</label> |
| | | <div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
| | | {tmpl_var name='client_group_id'} |
| | | </select> |
| | | </div></div> |
| | | </select></div> |
| | | </div> |
| | | </tmpl_if> |
| | | <tmpl_if name="is_reseller"> |
| | | <div class="form-group"> |
| | | <label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_group_id_txt'}</label> |
| | | <div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
| | | {tmpl_var name='client_group_id'} |
| | | </select> |
| | | </div></div> |
| | | </select></div> |
| | | </div> |
| | | </tmpl_if> |
| | | <tmpl_if name="edit_disabled"> |
| | | <div class="form-group"> |
| | | <label for="ostemplate_id_disabled" class="col-sm-3 control-label">{tmpl_var name='ostemplate_id_txt'}</label> |
| | | <div class="col-sm-9"><select name="ostemplate_id_disabled" id="ostemplate_id_disabled" class="form-control" disabled="disabled"> |
| | | {tmpl_var name='ostemplate_id'} |
| | | </select> |
| | | </div></div> |
| | | </select></div> |
| | | </div> |
| | | <input type="hidden" name="ostemplate_id" value="{tmpl_var name='ostemplate_id_value'}"> |
| | | <tmpl_else> |
| | | <div class="form-group"> |
| | | <label for="ostemplate_id" class="col-sm-3 control-label">{tmpl_var name='ostemplate_id_txt'}</label> |
| | | <div class="col-sm-9"><select name="ostemplate_id" id="ostemplate_id" class="form-control"> |
| | | {tmpl_var name='ostemplate_id'} |
| | | </select> |
| | | </div></div> |
| | | </select></div> |
| | | </div> |
| | | </tmpl_if> |
| | | <div class="form-group"> |
| | | <label for="template_id" class="col-sm-3 control-label">{tmpl_var name='template_id_txt'}</label> |
| | | <div class="col-sm-9"><select name="template_id" id="template_id" class="form-control"> |
| | | {tmpl_var name='template_id_select'} |
| | | </select> |
| | | </div></div> |
| | | </select></div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label for="ip_address" class="col-sm-3 control-label">{tmpl_var name='ip_address_txt'}</label> |
| | | <div class="col-sm-9"><select name="ip_address" id="ip_address" class="form-control"> |
| | | {tmpl_var name='ip_address'} |
| | | </select> |
| | | </div></div> |
| | | </select></div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label for="hostname" class="col-sm-3 control-label">{tmpl_var name='hostname_txt'}</label> |
| | | <div class="col-sm-9"><input type="text" name="hostname" id="hostname" value="{tmpl_var name='hostname'}" class="form-control" /> |
| | | </div></div> |
| | | <div class="col-sm-9"><input type="text" name="hostname" id="hostname" value="{tmpl_var name='hostname'}" class="form-control" /></div></div> |
| | | <div class="form-group"> |
| | | <label for="vm_password" class="col-sm-3 control-label">{tmpl_var name='vm_password_txt'}</label> |
| | | <div class="col-sm-9"><input type="text" name="vm_password" id="vm_password" value="{tmpl_var name='vm_password'}" class="form-control" /> |
| | | </div></div> |
| | | <div class="col-sm-9"><input type="text" name="vm_password" id="vm_password" value="{tmpl_var name='vm_password'}" class="form-control" /></div></div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">{tmpl_var name='start_boot_txt'}</label> |
| | | <div class="col-sm-9"> |
| | |
| | | </div> |
| | | <div class="form-group"> |
| | | <label for="active_until_date" class="col-sm-3 control-label">{tmpl_var name='active_until_date_txt'}</label> |
| | | <div class="col-sm-9"><input type="text" name="active_until_date" id="active_until_date" value="{tmpl_var name='active_until_date'}" class="form-control" /> |
| | | </div></div> |
| | | <div class="col-sm-9"><input type="text" name="active_until_date" id="active_until_date" value="{tmpl_var name='active_until_date'}" class="form-control" /></div></div> |
| | | <div class="form-group"> |
| | | <label for="description" class="col-sm-3 control-label">{tmpl_var name='description_txt'}</label> |
| | | <div class="col-sm-9"><textarea class="form-control" name="description" id="description" rows='5' cols='30' style='height:60px;'>{tmpl_var name='description'}</textarea></div> |