4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
7 <meta name="viewport" content="width=device-width, initial-scale=1">
8 <meta name="apple-mobile-web-app-capable" content="yes">
9 <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
10 <meta name="description" content="">
11 <meta name="author" content="costa@tsaousis.gr">
13 <title>NetData</title>
15 <!-- Bootstrap CSS -->
16 <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
17 <link href="/file/theme.css" rel="stylesheet">
20 <body role="document" data-spy="scroll" data-target="#main_menu_div">
21 <nav id="mynav" class="navbar navbar-default navbar-fixed-top" role="navigation">
22 <div class="container" style="width: 98%;">
23 <div class="navbar-header">
24 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main_menu_div">
25 <span class="sr-only">Toggle navigation</span>
26 <span class="icon-bar"></span>
27 <span class="icon-bar"></span>
28 <span class="icon-bar"></span>
30 <a class="navbar-brand" href="/" id="hostname_id">NetData</a>
32 <form class="navbar-form navbar-right">
33 <!-- <div class="form-group">
34 <input type="text" class="form-control" placeholder="Search">
36 <button type="button" class="btn btn-primary global_play_button" onClick="buttonGlobalPlayPause('toggle');" data-play-text="<span class='glyphicon glyphicon-pause'></span> Pause" data-pause-text="<span class='glyphicon glyphicon-play'></span> Play" data-toggle="tooltip" data-placement="bottom" title=" click <span class='glyphicon glyphicon-play'></span> to have the graphs auto-refresh, or click <span class='glyphicon glyphicon-pause'></span> to pause the graphs.">
37 <span class="glyphicon glyphicon-pause"></span> Pause
39 <div class="btn-group btn-group" data-toggle="buttons" role="group">
40 <label class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Show less detail to speed up the browser. Use this if your machine is old and slow.">
41 <input type="radio" name="presentation" id="presentation_speedy" onChange="setPresentationSpeedy(0);">Speedy
43 <label class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Balance graphs detail with browser speed. Use this on modern computers.">
44 <input type="radio" name="presentation" id="presentation_normal" onChange="setPresentationNormal(0);">Normal
46 <label class="btn btn-default" data-toggle="tooltip" data-placement="bottom" title="Show all the detail there is. This may slow down your browser.">
47 <input type="radio" name="presentation" id="presentation_detailed" onChange="setPresentationDetailed(0);">Detailed
51 <div class="collapse navbar-collapse" id="main_menu_div">
52 <ul class="nav navbar-nav">
53 <li><a href="#">preparing charts...</a></li>
55 </div><!--/.nav-collapse -->
59 <div class="container graphs" id="maingraph_container" style="display: none;">
62 <div class="maingraph">
65 <div class="maingraph" id="maingraph"></div>
66 <div id="maingraph_dashboard">
67 <div class="maingraph" id="maingraph_hidden" style="display: none"></div>
68 <div class="maingraph" id="maingraph_control"></div>
71 <tr><td align="center">
72 <div class="btn-group">
73 <form id="mainchartform">
74 <div class="btn-group btn-group" data-toggle="tooltip" data-placement="top" title=" click <span class='glyphicon glyphicon-play'></span> to have the graph auto-refresh, or click <span class='glyphicon glyphicon-pause'></span> to pause the graph. When paused the graph can be zoomed and panned horizontally." >
75 <button type="button" class="btn btn-primary mainchart_play_button" data-play-text="<span class='glyphicon glyphicon-pause'></span>" data-pause-text="<span class='glyphicon glyphicon-play'></span>" onClick="setMainChartPlay('toggle');">
76 <span class="glyphicon glyphicon-pause"></span>
79 <div class="btn-group btn-group" data-toggle="tooltip" data-placement="top" title="use the maximum ( <span class='glyphicon glyphicon-signal'></span> ) or the average ( <span class='glyphicon glyphicon-align-justify'></span> ) value of grouped points" >
80 <button type="button" class="btn btn-primary mainchart_avg_button" data-max-text="<span class='glyphicon glyphicon-signal'></span>" data-average-text="<span class='glyphicon glyphicon-align-justify'></span>" onClick="setMainChartGroupMethod('toggle');">
81 <span class="glyphicon glyphicon-signal"></span>
84 <div class="btn-group btn-group" data-toggle="buttons" >
85 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="do not group points, show the raw data">
86 <input type="radio" name="group" id="group1" onChange="setMainChartGroup(1);">1
88 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group in half, show 1 every 2 points of data">
89 <input type="radio" name="group" id="group2" onChange="setMainChartGroup(2);">2
91 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 3 points of data">
92 <input type="radio" name="group" id="group3" onChange="setMainChartGroup(3);">3
94 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 4 points of data">
95 <input type="radio" name="group" id="group4" onChange="setMainChartGroup(4);">4
97 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 5 points of data">
98 <input type="radio" name="group" id="group5" onChange="setMainChartGroup(5);">5
100 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 10 points of data">
101 <input type="radio" name="group" id="group10" onChange="setMainChartGroup(10);">10
103 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 15 points of data">
104 <input type="radio" name="group" id="group15" onChange="setMainChartGroup(15);">15
106 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 20 points of data">
107 <input type="radio" name="group" id="group20" onChange="setMainChartGroup(20);">20
109 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 30 points of data">
110 <input type="radio" name="group" id="group30" onChange="setMainChartGroup(30);">30
112 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 45 points of data">
113 <input type="radio" name="group" id="group45" onChange="setMainChartGroup(45);">45
115 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 60 points of data">
116 <input type="radio" name="group" id="group60" onChange="setMainChartGroup(60);">60
118 <label class="btn btn-primary" data-toggle="tooltip" data-placement="top" title="group every 90 points of data">
119 <input type="radio" name="group" id="group90" onChange="setMainChartGroup(90);">90
122 <div class="btn-group btn-group" data-toggle="tooltip" data-placement="top" title="maximized ( <span class='glyphicon glyphicon-fullscreen'></span> ) or normal ( <span class='glyphicon glyphicon-resize-small'></span> ) view of the graph" >
123 <button type="button" class="btn btn-primary mainchart_max_button" data-maximized-text="<span class='glyphicon glyphicon-resize-small'></span>" data-normal-text="<span class='glyphicon glyphicon-fullscreen'></span>" onClick="setMainChartMax('toggle');">
124 <span class="glyphicon glyphicon-fullscreen"></span>
131 </div><!-- /.maingraph -->
136 <div class="container graphs" id="thumbgraphs_container" style="display: none;">
137 <div id="thumbgraphs">
141 <div class="container graphs" id="groupgraphs_container" style="display: none;">
142 <div class="allgraphs" id="groupgraphs">
146 <div class="container" id="splash_container">
148 <tr><td id="splash" align="center" style="vertical-align: middle; height: 400px; overflow: auto;">
150 Welcome to <b>NetData</b>!
152 <span class="glyphicon glyphicon-off"></span>
156 <span class="label label-default">Please wait...</span>
162 <div class="container graphs" id="footer_container">
166 Realtime System Information over the web for all linux systems.
168 Distributed under GPL v2.
170 (c) 2015 Costa Tsaousis <a href="mailto:costa@tsaousis.gr">costa@tsaousis.gr</a>
172 <div id="server_summary_id"></div>
175 <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
176 <script type="text/javascript" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
177 <script type='text/javascript'>
178 document.getElementById('splash').height = $(window).height();
181 <!-- Google AJAX API -->
182 <script type="text/javascript" src="https://www.google.com/jsapi"></script>
185 <script type="text/javascript" src="/file/netdata.js"></script>
186 <script type="text/javascript" src="/file/index.js"></script>
188 <script type='text/javascript'>
189 google.load('visualization', '1.1', {packages: ['controls']});
191 $(document).ready(function(){
193 $(document).on('click','.navbar-collapse.in',function(e) {
194 if( $(e.target).is('a') ) {
195 $(this).collapse('hide');
199 $('body').scrollspy({ target: '#main_menu_div' })