-
Notifications
You must be signed in to change notification settings - Fork 2
/
overview.html
executable file
·72 lines (70 loc) · 3.21 KB
/
overview.html
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
<html>
<head>
<title>mrtg_remote_sensor TEST PAGE</title>
<link href="https://stackpath.bootstrapcdn.com/bootswatch/4.1.2/litera/bootstrap.min.css" rel="stylesheet" integrity="sha384-EHn394B6EAtw4HZN4uqeUmZQO1bj/l7+L9ToHR0izJSXw2BNB5cuhR3weBJup/95" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.bundle.min.js" integrity="sha384-pjaaA8dDz/5BgdFUPX6M/9SUZv4d12SUPF0axWc+VRZkx5xU3daN+lYb49+Ax+Tl" crossorigin="anonymous"></script>
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootlint/0.14.2/bootlint.min.js" integrity="sha384-SLfe/wBrCVfyGjtLhfUmA5cYQLnNVTRmwMUJ11s7x5HxXCKom2oeEwX9bvY74CAs" crossorigin="anonymous"></script>
<style>
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 60px; /* Set the fixed height of the footer here */
line-height: 60px; /* Vertically center the text there */
background-color: #f5f5f5;
}
</style>
</head>
<body class="text-center">
<header>
<!-- Fixed navbar -->
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<a class="navbar-brand" href="#">MRTG CONFIG GENERATOR</a>
<div class="collapse navbar-collapse" id="navbarCollapse">
<form class="form-inline mt-2 mt-md-0" target='results' method='get' action="index.php">
<select class="form-control mr-sm-2" name='key'>
<option>cpu</option>
<option>cpu%</option>
<option>battery</option>
<option>battery%</option>
<option>battery-</option>
<option>proc</option>
<option>mem</option>
<option>mem%</option>
<option>disk</option>
<option>foldersize</option>
<option>foldercount</option>
<option>filecount</option>
<option>pingtime</option>
</select>
<input class="form-control mr-sm-2" placeholder="parameter" type="text" name="param" />
<input class="form-control mr-sm-2" placeholder="options" type="text" name="options" />
<select class="form-control mr-sm-2" name='config'>
<option value=''>just the data</option>
<option value='1'>show MRTG config</option>
</select>
<button class="btn btn-primary" type="submit">Show!</button>
</form>
</div>
</nav>
</header>
<iframe name="results" class='col-6' style="margin-top: 100px; xwidth: 800px; height: 400px"></iframe><br />
<div class="row">
<div class='col-3'>
</div>
<div class='col-6 text-left'>
<h5>Examples</h5>
<li><a target='results' href='index.php?key=cpu&config=1'>CPU</a></li>
<li><a target='results' href='index.php?key=pingtime¶m=www.google.com&config=1'>ping → www.google.com</a></li>
<li>Disk usage: <a target='results' href='index.php?key=disk¶m=C:&config=1'>C: (Windows)</a> - <a target='results' href='index.php?key=disk¶m=/home&config=1'>/bin (Linux)</a></li>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<i class="fa fa-github"></i> <a href='https://github.com/cinemapub/mrtg_remote_sensor'>github.com/cinemapub/mrtg_remote_sensor</a> - 2015-2018
</div>
</footer>
</body>
</html>