commit | author | age
|
825dd6
|
1 |
<div class='page-header'> |
MC |
2 |
<h1><tmpl_var name="list_head_txt"></h1> |
|
3 |
</div> |
b74ef5
|
4 |
<p><tmpl_var name="list_desc_txt"></p> |
T |
5 |
|
|
6 |
|
825dd6
|
7 |
<legend>Settings</legend> |
0e2694
|
8 |
<tmpl_if name="is_admin"> |
825dd6
|
9 |
<div class="form-group"> |
0e2694
|
10 |
<tmpl_if name="edit_disabled"> |
825dd6
|
11 |
<label for="server_id_disabled" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
MC |
12 |
<div class="col-sm-9"><select name="server_id_disabled" id="server_id_disabled" class="form-control" disabled="disabled"> |
0e2694
|
13 |
{tmpl_var name='server_id'} |
e645fa
|
14 |
</select></div> |
MC |
15 |
<input type="hidden" name="server_id" value="{tmpl_var name='server_id_value'}" /> |
0e2694
|
16 |
<tmpl_else> |
825dd6
|
17 |
<label for="server_id" class="col-sm-3 control-label">{tmpl_var name='server_id_txt'}</label> |
2778c9
|
18 |
<div class="col-sm-9"><select name="server_id" id="server_id" class="form-control" onChange="ISPConfig.loadOptionInto('ip_address','vm/ajax_get_ip.php?server_id='+document.getElementById('server_id').value)"> |
0e2694
|
19 |
{tmpl_var name='server_id'} |
e645fa
|
20 |
</select></div> |
MC |
21 |
</tmpl_if> |
0e2694
|
22 |
</div> |
825dd6
|
23 |
<div class="form-group"> |
MC |
24 |
<label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_group_id_txt'}</label> |
|
25 |
<div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
0e2694
|
26 |
{tmpl_var name='client_group_id'} |
e645fa
|
27 |
</select></div> |
MC |
28 |
</div> |
0e2694
|
29 |
</tmpl_if> |
C |
30 |
<tmpl_if name="is_reseller"> |
825dd6
|
31 |
<div class="form-group"> |
MC |
32 |
<label for="client_group_id" class="col-sm-3 control-label">{tmpl_var name='client_group_id_txt'}</label> |
|
33 |
<div class="col-sm-9"><select name="client_group_id" id="client_group_id" class="form-control"> |
0e2694
|
34 |
{tmpl_var name='client_group_id'} |
e645fa
|
35 |
</select></div> |
MC |
36 |
</div> |
0e2694
|
37 |
</tmpl_if> |
C |
38 |
<tmpl_if name="edit_disabled"> |
825dd6
|
39 |
<div class="form-group"> |
MC |
40 |
<label for="ostemplate_id_disabled" class="col-sm-3 control-label">{tmpl_var name='ostemplate_id_txt'}</label> |
|
41 |
<div class="col-sm-9"><select name="ostemplate_id_disabled" id="ostemplate_id_disabled" class="form-control" disabled="disabled"> |
0e2694
|
42 |
{tmpl_var name='ostemplate_id'} |
e645fa
|
43 |
</select></div> |
MC |
44 |
</div> |
0e2694
|
45 |
<input type="hidden" name="ostemplate_id" value="{tmpl_var name='ostemplate_id_value'}"> |
C |
46 |
<tmpl_else> |
825dd6
|
47 |
<div class="form-group"> |
MC |
48 |
<label for="ostemplate_id" class="col-sm-3 control-label">{tmpl_var name='ostemplate_id_txt'}</label> |
|
49 |
<div class="col-sm-9"><select name="ostemplate_id" id="ostemplate_id" class="form-control"> |
0e2694
|
50 |
{tmpl_var name='ostemplate_id'} |
e645fa
|
51 |
</select></div> |
MC |
52 |
</div> |
0e2694
|
53 |
</tmpl_if> |
825dd6
|
54 |
<div class="form-group"> |
MC |
55 |
<label for="template_id" class="col-sm-3 control-label">{tmpl_var name='template_id_txt'}</label> |
|
56 |
<div class="col-sm-9"><select name="template_id" id="template_id" class="form-control"> |
0e2694
|
57 |
{tmpl_var name='template_id_select'} |
e645fa
|
58 |
</select></div> |
MC |
59 |
</div> |
825dd6
|
60 |
<div class="form-group"> |
MC |
61 |
<label for="ip_address" class="col-sm-3 control-label">{tmpl_var name='ip_address_txt'}</label> |
|
62 |
<div class="col-sm-9"><select name="ip_address" id="ip_address" class="form-control"> |
0e2694
|
63 |
{tmpl_var name='ip_address'} |
e645fa
|
64 |
</select></div> |
MC |
65 |
</div> |
825dd6
|
66 |
<div class="form-group"> |
MC |
67 |
<label for="hostname" class="col-sm-3 control-label">{tmpl_var name='hostname_txt'}</label> |
dec3e3
|
68 |
<div class="col-sm-9"><input type="text" name="hostname" id="hostname" value="{tmpl_var name='hostname'}" class="form-control" /></div></div> |
825dd6
|
69 |
<div class="form-group"> |
MC |
70 |
<label for="vm_password" class="col-sm-3 control-label">{tmpl_var name='vm_password_txt'}</label> |
dec3e3
|
71 |
<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> |
825dd6
|
72 |
<div class="form-group"> |
MC |
73 |
<label class="col-sm-3 control-label">{tmpl_var name='start_boot_txt'}</label> |
|
74 |
<div class="col-sm-9"> |
0e2694
|
75 |
{tmpl_var name='start_boot'} |
C |
76 |
</div> |
|
77 |
</div> |
33ad8f
|
78 |
<div class="form-group"> |
FS |
79 |
<label for="bootorder" class="col-sm-3 control-label">{tmpl_var name='bootorder_txt'}</label> |
|
80 |
<div class="col-sm-9"><input type="text" name="bootorder" id="bootorder" value="{tmpl_var name='bootorder'}" class="form-control" /></div></div> |
825dd6
|
81 |
<div class="form-group"> |
MC |
82 |
<label class="col-sm-3 control-label">{tmpl_var name='active_txt'}</label> |
|
83 |
<div class="col-sm-9"> |
0e2694
|
84 |
{tmpl_var name='active'} |
C |
85 |
</div> |
|
86 |
</div> |
825dd6
|
87 |
<div class="form-group"> |
MC |
88 |
<label for="active_until_date" class="col-sm-3 control-label">{tmpl_var name='active_until_date_txt'}</label> |
43e5b6
|
89 |
<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" data-input-element="date" data-date-format="{tmpl_var name='conf_format_datetime_js'}" /></div></div> |
825dd6
|
90 |
<div class="form-group"> |
MC |
91 |
<label for="description" class="col-sm-3 control-label">{tmpl_var name='description_txt'}</label> |
8ceb08
|
92 |
<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> |
0e2694
|
93 |
</div> |
825dd6
|
94 |
|
b74ef5
|
95 |
|
0e2694
|
96 |
<input type="hidden" name="id" value="{tmpl_var name='id'}"> |
b74ef5
|
97 |
|
825dd6
|
98 |
<div class="clear"><div class="right"> |
2d0eba
|
99 |
<button class="btn btn-default formbutton-success" type="button" value="{tmpl_var name='btn_save_txt'}" data-submit-form="pageForm" data-form-action="vm/openvz_vm_edit.php">{tmpl_var name='btn_save_txt'}</button> |
ba7316
|
100 |
<button class="btn btn-default formbutton-default" type="button" value="{tmpl_var name='btn_cancel_txt'}" data-load-content="vm/openvz_vm_list.php">{tmpl_var name='btn_cancel_txt'}</button> |
33ad8f
|
101 |
</div></div> |