Fixes of the REST interface dashboard.
[osm/vim-emu.git] / src / emuvim / dashboard / dashboard.html
1 <!--
2 Copyright (c) 2017 SONATA-NFV and Paderborn University
3 ALL RIGHTS RESERVED.
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 Neither the name of the SONATA-NFV, Paderborn University
18 nor the names of its contributors may be used to endorse or promote
19 products derived from this software without specific prior written
20 permission.
21
22 This work has been performed in the framework of the SONATA project,
23 funded by the European Commission under Grant number 671517 through
24 the Horizon 2020 and 5G-PPP programmes. The authors would like to
25 acknowledge the contributions of their colleagues of the SONATA
26 partner consortium (www.sonata-nfv.eu).
27 -->
28
29 <!DOCTYPE html>
30 <html lang="en">
31 <head>
32 <meta charset="utf-8">
33 <meta http-equiv="X-UA-Compatible" content="IE=edge">
34 <meta name="viewport" content="width=device-width, initial-scale=1">
35 <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
36 <title>VIM-EMU Dashboard</title>
37
38 <!-- Bootstrap -->
39 <!--<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">-->
40 <link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css" rel="stylesheet" integrity="sha384-+ENW/yibaokMnme+vBLnHMphUYxHs34h9lpdbSLuAwGkOKFRl4C34WkjazBtb7eT" crossorigin="anonymous">
41
42 <link href="css/main.css" rel="stylesheet">
43
44 <!-- jQuery -->
45 <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js" type="text/javascript"></script>
46 <!--<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.jss" type="text/javascript"></script>-->
47 <script src="https://cdnjs.cloudflare.com/ajax/libs/bootbox.js/4.4.0/bootbox.min.js" type="text/javascript"></script>
48
49 <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
50 <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
51 <!--[if lt IE 9]>
52 <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
53 <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
54 <![endif]-->
55
56 <script src="js/main.js" type="text/javascript"></script>
57
58
59 </head>
60 <style>
61
62 .link {
63 stroke: #ccc;
64 }
65
66 .node text {
67 pointer-events: none;
68 font: 15px sans-serif;
69 }
70
71 </style>
72 <body>
73 <div id="page-top" class="fixed-top">
74 <div class="row">
75 <div class="col-sm-4"><h1>VIM-EMU Dashboard</h1></div>
76 <div class="col-sm-8 text-right">
77 <img src="https://peuster.de/vimemu_dashboard_resources/upb.png">
78 <img src="https://peuster.de/vimemu_dashboard_resources/tango.png">
79 <img src="https://peuster.de/vimemu_dashboard_resources/osm.png">
80 </div>
81 </div>
82 </div>
83
84 <div id="content">
85
86
87 <div class="panel panel-primary">
88 <!-- Default panel contents -->
89 <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>
90 <!-- Table -->
91 <table class="table table-striped table-hover" id="table_datacenter">
92 </table>
93 </div>
94
95 <div class="spacer">&nbsp;</div>
96
97 <div class="panel panel-primary">
98 <!-- Default panel contents -->
99 <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>
100 <!-- Table -->
101 <table class="table table-striped table-hover" id="table_container">
102 </table>
103 </div>
104
105 <div class="spacer">&nbsp;</div>
106
107 <div class="panel panel-primary">
108 <div class="panel-heading"><span>Deployment Graph</span>&nbsp;&nbsp;</div>
109 <table class="table table-striped table-hover" id="table_graph">
110
111 </table>
112 </div>
113 <script src="https://d3js.org/d3.v3.min.js"></script>
114 <script src="js/graph.js" type="text/javascript"></script>
115
116
117 </div>
118
119 <footer class="footer text-center small">(c) 2019 by ETSI OSM, 5GTANGO consortium, SONATA-NFV consortium, Paderborn University and IMEC</footer>
120
121
122 </body>
123
124 </html>