-
Notifications
You must be signed in to change notification settings - Fork 82
/
add_pool.php
45 lines (44 loc) · 1.34 KB
/
add_pool.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/*
KVM-VDI
Tadas Ustinavičius
Vilnius,Lithuania.
2017-06-06
*/
include ('functions/config.php');
require_once('functions/functions.php');
if (!check_session()){
header ("Location: $serviceurl/?error=1");
exit;
}
slash_vars();
set_lang();
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script src="inc/js/kvm-vdi.js"></script>
</head>
<body>
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title"><?php echo _("Add new pool");?></h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<input type="text" class="form-control col-md-1" placeholder="<?php echo _("Name");?>" name="poolname" id="poolname">
</div>
<div class="col-md-2"></div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo _("Close");?></button>
<button type="button" class="btn btn-primary" id="AddPoolButton"><?php echo _("Save changes");?></button>
</div>
</div>
</body>
</html>