syncthing/static/index.html

161 lines
4.8 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.
-->
2014-06-28 07:46:03 +00:00
<html lang="en">
2014-06-11 23:40:54 +00:00
<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="">
2015-01-22 12:15:29 +00:00
<link rel="shortcut icon" href="static/assets/img/favicon.png">
2014-06-11 23:40:54 +00:00
<title>Syncthing Usage Reports</title>
2014-06-28 07:46:03 +00:00
<link href="static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script src="static/bootstrap/js/bootstrap.min.js"></script>
2014-06-11 23:40:54 +00:00
<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>
2015-02-15 11:00:15 +00:00
This is the aggregated usage report data for the last 24 hours. Data based on <b>{{.nodes}}</b> devices 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>
2014-06-28 09:24:25 +00:00
{{range .categories}}
2014-06-28 07:46:03 +00:00
<tr>
2014-06-28 09:24:25 +00:00
<td>{{.Descr}}</td>
<td class="text-right">{{index .Values 0 | number .Binary | commatize " "}}{{.Unit}}</td>
<td class="text-right">{{index .Values 1 | number .Binary | commatize " "}}{{.Unit}}</td>
<td class="text-right">{{index .Values 2 | number .Binary | commatize " "}}{{.Unit}}</td>
<td class="text-right">{{index .Values 3 | number .Binary | commatize " "}}{{.Unit}}</td>
2014-06-12 00:13:30 +00:00
</tr>
2014-06-28 07:46:03 +00:00
{{end}}
2014-06-12 00:13:30 +00:00
</tbody>
</table>
</div>
</div>
<div class="row">
2015-05-20 20:27:14 +00:00
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>
2015-02-15 11:00:15 +00:00
<th>Version</th><th class="text-right">Devices</th><th class="text-right">Share</th>
2014-06-12 00:13:30 +00:00
</tr>
</thead>
<tbody>
2014-06-28 07:46:03 +00:00
{{range .versions}}
<tr>
<td>{{.Key}}</td>
<td class="text-right">{{.Count}}</td>
<td class="text-right">{{.Percentage | printf "%.01f"}}%</td>
2014-06-12 00:13:30 +00:00
</tr>
2014-06-28 07:46:03 +00:00
{{end}}
2014-06-12 00:13:30 +00:00
</tbody>
</table>
</div>
2015-05-20 20:27:14 +00:00
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>
2015-02-15 11:00:15 +00:00
<th>Platform</th><th class="text-right">Devices</th><th class="text-right">Share</th>
2014-06-12 00:13:30 +00:00
</tr>
</thead>
<tbody>
2014-06-28 07:46:03 +00:00
{{range .platforms}}
<tr>
<td>{{.Key}}</td>
<td class="text-right">{{.Count}}</td>
<td class="text-right">{{.Percentage | printf "%.01f"}}%</td>
2014-06-12 00:13:30 +00:00
</tr>
2014-06-28 07:46:03 +00:00
{{end}}
2014-06-12 00:13:30 +00:00
</tbody>
</table>
2014-06-11 23:40:54 +00:00
</div>
2015-05-20 20:27:14 +00:00
2014-06-20 21:24:27 +00:00
<div class="col-md-4">
<table class="table table-striped">
<thead>
<tr>
2015-02-15 11:00:15 +00:00
<th>OS</th><th class="text-right">Devices</th><th class="text-right">Share</th>
2014-06-20 21:24:27 +00:00
</tr>
</thead>
<tbody>
2014-06-28 07:46:03 +00:00
{{range .os}}
<tr>
<td>{{.Key}}</td>
<td class="text-right">{{.Count}}</td>
<td class="text-right">{{.Percentage | printf "%.01f"}}%</td>
2014-06-20 21:24:27 +00:00
</tr>
2014-06-28 07:46:03 +00:00
{{end}}
2014-06-20 21:24:27 +00:00
</tbody>
</table>
</div>
2015-05-20 20:27:14 +00:00
</div>
<div class="row">
<div class="col-md-6">
<table class="table table-striped">
<thead>
<tr>
<th>Compiler</th><th class="text-right">Devices</th><th class="text-right">Share</th>
</tr>
</thead>
<tbody>
{{range .compilers}}
<tr>
<td>{{.Key}}</td>
<td class="text-right">{{.Count}}</td>
<td class="text-right">{{.Percentage | printf "%.01f"}}%</td>
</tr>
{{end}}
</tbody>
</table>
</div>
<div class="col-md-6">
<table class="table table-striped">
<thead>
<tr>
<th>Builder</th><th class="text-right">Devices</th><th class="text-right">Share</th>
</tr>
</thead>
<tbody>
{{range .builders}}
<tr>
<td>{{.Key}}</td>
<td class="text-right">{{.Count}}</td>
<td class="text-right">{{.Percentage | printf "%.01f"}}%</td>
</tr>
{{end}}
</tbody>
</table>
</div>
2014-06-11 23:40:54 +00:00
</div>
</div>
</body>
</html>