update dashboard title
[osm/vim-emu.git] / src / emuvim / dashboard / index.html
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="X-UA-Compatible" content="IE=edge">
6 <meta name="viewport" content="width=device-width, initial-scale=1">
7 <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
8 <title>MeDICINE Dashboard</title>
9
10 <!-- Bootstrap -->
11 <!--<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">-->
12 <link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css" rel="stylesheet" integrity="sha384-+ENW/yibaokMnme+vBLnHMphUYxHs34h9lpdbSLuAwGkOKFRl4C34WkjazBtb7eT" crossorigin="anonymous">
13
14 <link href="css/main.css" rel="stylesheet">
15
16 <!-- jQuery -->
17 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" type="text/javascript"></script>
18 <!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.jss" type="text/javascript"></script>-->
19 <script src="https://cdnjs.cloudflare.com/ajax/libs/bootbox.js/4.4.0/bootbox.min.js" type="text/javascript"></script>
20
21 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
22 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
23 <!--[if lt IE 9]>
24 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
25 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
26 <![endif]-->
27
28 <script src="js/main.js" type="text/javascript"></script>
29
30
31 </head>
32 <style>
33
34 .link {
35 stroke: #ccc;
36 }
37
38 .node text {
39 pointer-events: none;
40 font: 15px sans-serif;
41 }
42
43 </style>
44 <body>
45 <div id="page-top">
46 <div class="row">
47 <div class="col-sm-8"><h1>Emulator Dashboard</h1></div>
48 <div class="col-sm-4" id="logo"><a href="http://sonata-nfv.eu" target="_blank"><img src="img/SONATA_new.png" alt="SONATA Logo" width="252" height="70"></a></div>
49 </div>
50
51 <nav class="navbar navbar-default">
52 <div class="container-fluid">
53 <!-- Brand and toggle get grouped for better mobile display -->
54 <div class="navbar-header">
55 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
56 <span class="sr-only">Toggle navigation</span>
57 <span class="icon-bar"></span>
58 <span class="icon-bar"></span>
59 <span class="icon-bar"></span>
60 </button>
61 </div>
62
63 <!-- Collect the nav links, forms, and other content for toggling -->
64 <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
65 <div class="navbar-form navbar- navbar-btn btn-group" role="group" aria-label="category">
66 <!--<button type="button" class="btn btn-default active" id="btn_tab_pop">Datacenter List</button>-->
67 <!--<button type="button" class="btn btn-default" id="btn_tab_container">Container List</button>-->
68 <!--<button type="button" class="btn btn-default" id="btn_tab_other">Other</button> -->
69 </div>
70 <form class="navbar-form navbar-right">
71 <div class="input-group">
72 <span class="input-group-addon">http://</span>
73 <input type="text" class="form-control" placeholder="api-url.or.ip" value="localhost:5001" id="text_api_host" data-provide="typeahead" size="30">
74 </div>
75 <button type="button" class="btn btn-success" id="btn_connect">Connect &nbsp;<span class="glyphicon glyphicon-play-circle"></span></button>
76 <button type="button" class="btn btn-danger disabled" id="btn_disconnect">Disconnect &nbsp;<span class="glyphicon glyphicon-off"></span></button>
77 </form>
78 </div><!-- /.navbar-collapse -->
79 </div><!-- /.container-fluid -->
80 </nav>
81 </div>
82 <div id="content">
83
84
85 <div class="panel panel-primary">
86 <!-- Default panel contents -->
87 <div class="panel-heading"><span>Emulated Datacenters</span>&nbsp;&nbsp;<span class="badge" id="lbl_datacenter_count">0</span><span class="pull-right" id="lbl_lateness_datacenter">Lateness: -</span></div>
88 <!-- Table -->
89 <table class="table table-striped table-hover" id="table_datacenter">
90 </table>
91 </div>
92
93 <div class="spacer">&nbsp;</div>
94
95 <div class="panel panel-primary">
96 <!-- Default panel contents -->
97 <div class="panel-heading"><span>Running Containers</span>&nbsp;&nbsp;<span class="badge" id="lbl_container_count">0</span><span class="pull-right" id="lbl_lateness_container">Lateness: -</span></div>
98 <!-- Table -->
99 <table class="table table-striped table-hover" id="table_container">
100 </table>
101 </div>
102
103 <div>
104 <script src="//d3js.org/d3.v3.min.js"></script>
105 <script src="js/graph.js" type="text/javascript"></script>
106 </div>
107
108
109 </div>
110
111 <footer class="footer text-center small">(c) 2017 by SONATA Consortium and Paderborn University</footer>
112
113
114 </body>
115
116 </html>