syncthing/static/index.html

113 lines
3.6 KiB
HTML
Raw Normal View History

2014-06-11 23:40:54 +00:00
<!DOCTYPE html>
<!--
Copyright (C) 2014 Jakob Borg and other contributors. All rights reserved.
Use of this source code is governed by an MIT-style license that can be
found in the LICENSE file.
-->
<html lang="en" ng-app="reports" ng-controller="ReportsCtrl" class="ng-cloak">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link rel="shortcut icon" href="favicon.png">
<title>Syncthing Usage Reports</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<style type="text/css">
body {
margin: 40px;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
2014-06-12 00:13:30 +00:00
<h1>Syncthing Usage Data</h1>
<p>
This is the aggregated usage report data for today and yesterday. Data based on <b>{{ report.nodes }}</b> nodes that have reported in.
2014-06-12 00:13:30 +00:00
</p>
<table class="table table-striped">
<thead>
<tr>
2014-06-16 14:47:54 +00:00
<th></th><th class="text-right">5%</th><th class="text-right">50%</th><th class="text-right">95%</th><th class="text-right">100%</th>
2014-06-12 00:13:30 +00:00
</tr>
</thead>
<tbody>
<tr ng-repeat="cat in categories">
<td>{{cat.descr}}</td>
2014-06-16 14:47:54 +00:00
<td class="text-right">{{report[cat.key].fp | number}} {{cat.unit}}</td>
2014-06-16 09:17:44 +00:00
<td class="text-right">{{report[cat.key].med | number}} {{cat.unit}}</td>
<td class="text-right">{{report[cat.key].nfp | number}} {{cat.unit}}</td>
<td class="text-right">{{report[cat.key].max | number}} {{cat.unit}}</td>
2014-06-12 00:13:30 +00:00
</tr>
</tbody>
</table>
</div>
</div>
<div class="row">
2014-06-20 21:24:27 +00:00
<div class="col-md-4">
2014-06-12 00:13:30 +00:00
<table class="table table-striped">
<thead>
<tr>
<th>Version</th><th class="text-right">Nodes</th><th class="text-right">Share</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="v in versions">
<td>{{v[0]}}</td>
<td class="text-right">{{v[1]}}</td>
<td class="text-right">{{v[2] | number:2}}%</td>
</tr>
</tbody>
</table>
</div>
2014-06-20 21:24:27 +00:00
<div class="col-md-4">
2014-06-12 00:13:30 +00:00
<table class="table table-striped">
<thead>
<tr>
<th>Platform</th><th class="text-right">Nodes</th><th class="text-right">Share</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="p in platforms">
<td>{{p[0]}}</td>
<td class="text-right">{{p[1]}}</td>
<td class="text-right">{{p[2] | number:2}}%</td>
</tr>
</tbody>
</table>
2014-06-11 23:40:54 +00:00
</div>
2014-06-20 21:24:27 +00:00
<div class="col-md-4">
<table class="table table-striped">
<thead>
<tr>
<th>OS</th><th class="text-right">Nodes</th><th class="text-right">Share</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="p in os">
<td>{{p[0]}}</td>
<td class="text-right">{{p[1]}}</td>
<td class="text-right">{{p[2] | number:2}}%</td>
</tr>
</tbody>
</table>
</div>
2014-06-11 23:40:54 +00:00
</div>
</div>
<script src="angular.min.js"></script>
<script src="jquery-2.0.3.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="app.js"></script>
</body>
</html>