forked from djwillcaine/Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.html
More file actions
73 lines (72 loc) · 1.91 KB
/
admin.html
File metadata and controls
73 lines (72 loc) · 1.91 KB
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
<!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">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css">
<title>Bot Admin Panel</title>
<style>
body {
padding-top: 20px;
padding-bottom: 20px;
}
.navbar {
margin-bottom: 20px;
}
</style>
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<p class="navbar-text pull-right">Balance: %bal% doge</p>
<div class="navbar-header">
<a class="navbar-brand" href="#">Bot</a>
</div>
</div><!--/.container-fluid -->
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">User Balances</h3>
</div>
<div class="panel-body" style="height: 200px; overflow-y: scroll;">
<table class="table">
<tr><th>User</th><th>Balance</th></tr>
%userbals%
</table>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">User list per Room</h3>
</div>
<div class="panel-body" style="height: 200px; overflow-y: scroll;">
<table class="table">
%roomlist%
</table>
</div>
</div>
</div>
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Log</h3>
</div>
<div class="panel-body" id="log" style="height: 400px; overflow-y: scroll; background: #000; color: #fff; font-family: courier;">
%logs%
</div>
</div>
</div>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
<script>
$('#log').scrollTop($("#log")[0].scrollHeight);
</script>
</body>
</html>