forked from Seitanas/kvm-vdi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
client_index.php
73 lines (70 loc) · 2.99 KB
/
client_index.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
/*
KVM-VDI
Tadas Ustinavičius
Vilnius University.
Center of Information Technology Development.
Vilnius,Lithuania.
2016-09-06
*/
include ('functions/config.php');
require_once('functions/functions.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Tadas Ustinavičius">
<title>KVM-VDI</title>
<link href="inc/css/bootstrap.min.css" rel="stylesheet">
<link href="inc/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="inc/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="inc/css/sb-admin-2.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="login-panel panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo _("KVM-VDI client area");?>
<span class="pull-right">
<a href="https://github.com/Seitanas/kvm-vdi" target="_new">
<span class="fa fa-info-circle glyphicon glyphicon-collapse-up"></span>
</a>
</span>
</h3>
<div class="clearfix"></div>
</div>
<div class="panel-body">
<form role="form" method="post" action="client_pools.php">
<fieldset>
<div class="form-group">
<input class="form-control" placeholder="Username" name="username" type="username" id="username" autofocus required>
</div>
<div class="form-group">
<input class="form-control" placeholder="Password" name="password" type="password" id="password" value="" required>
</div>
<input type="submit" id="login" value="<?php echo _("Sign In");?>" class="btn btn-lg btn-success btn-block">
<?php if (isset($_GET['error'])){?>
<div class="alert alert-danger" role="alert"><?php echo _("Wrong username/password");?>
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<?php }?>
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
<script src="inc/js/jquery.min.js"></script>
<script src="inc/js/bootstrap.min.js"></script>
</body>
</html>