aboutsummaryrefslogtreecommitdiff
path: root/app.html
blob: 6a75cf49fd1c0a7d37c8dda3ea9a51880181b5c5 (plain)
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
<!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 href="static/external/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  <link href="static/external/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
  <link href="static/mywatch.css" rel="stylesheet">
  <title>MyWatch</title>
</head>

<body>
  <nav class="navbar navbar-inverse">
    <div class="container-fluid">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#serverList">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button><a class="navbar-brand" href="/">Servers</a></div>
      <div id="serverList" class="collapse navbar-collapse">
        <ul class="nav navbar-nav"></ul>
      </div>
    </div>
  </nav>

  <div id="info" class="container">
    <h1>Loading, please wait...</h1>
    <div></div>
  </div>

  <div id="main" style="display: none;" class="container-fluid">
    <div class="table-responsive">
      <table id="processList" class="table table-striped table-hover">
        <thead>
          <tr>
            <th>id</th>
            <th>user</th>
            <th>host</th>
            <th>db</th>
            <th>command</th>
            <th>time</th>
            <th>state</th>
            <th>info</th>
          </tr>
        </thead>
        <tbody></tbody>
      </table>
    </div>
  </div>

  <script src="static/external/jquery-2.2.4.min.js"></script>
  <script src="static/external/bootstrap/js/bootstrap.min.js"></script>
  <script src="static/mywatch.js"></script>

</body>

</html>