mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
Match wording with Syncthing GUI
This commit is contained in:
parent
e5bea35515
commit
349223b3b8
12
main.go
12
main.go
@ -306,36 +306,36 @@ func getReport(key string) map[string]interface{} {
|
|||||||
var categories []category
|
var categories []category
|
||||||
categories = append(categories, category{
|
categories = append(categories, category{
|
||||||
Values: statsForInts(totFiles),
|
Values: statsForInts(totFiles),
|
||||||
Descr: "Files Managed per Node",
|
Descr: "Files Managed per Device",
|
||||||
})
|
})
|
||||||
|
|
||||||
categories = append(categories, category{
|
categories = append(categories, category{
|
||||||
Values: statsForInts(maxFiles),
|
Values: statsForInts(maxFiles),
|
||||||
Descr: "Files in Largest Repo",
|
Descr: "Files in Largest Folder",
|
||||||
})
|
})
|
||||||
|
|
||||||
categories = append(categories, category{
|
categories = append(categories, category{
|
||||||
Values: statsForInts(totMiB),
|
Values: statsForInts(totMiB),
|
||||||
Descr: "Data Managed per Node",
|
Descr: "Data Managed per Device",
|
||||||
Unit: "B",
|
Unit: "B",
|
||||||
Binary: true,
|
Binary: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
categories = append(categories, category{
|
categories = append(categories, category{
|
||||||
Values: statsForInts(maxMiB),
|
Values: statsForInts(maxMiB),
|
||||||
Descr: "Data in Largest Repo",
|
Descr: "Data in Largest Folder",
|
||||||
Unit: "B",
|
Unit: "B",
|
||||||
Binary: true,
|
Binary: true,
|
||||||
})
|
})
|
||||||
|
|
||||||
categories = append(categories, category{
|
categories = append(categories, category{
|
||||||
Values: statsForInts(numNodes),
|
Values: statsForInts(numNodes),
|
||||||
Descr: "Number of Nodes in Cluster",
|
Descr: "Number of Devices in Cluster",
|
||||||
})
|
})
|
||||||
|
|
||||||
categories = append(categories, category{
|
categories = append(categories, category{
|
||||||
Values: statsForInts(numRepos),
|
Values: statsForInts(numRepos),
|
||||||
Descr: "Number of Repositories Configured",
|
Descr: "Number of Folders Configured",
|
||||||
})
|
})
|
||||||
|
|
||||||
categories = append(categories, category{
|
categories = append(categories, category{
|
||||||
|
@ -30,7 +30,7 @@ found in the LICENSE file.
|
|||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<h1>Syncthing Usage Data</h1>
|
<h1>Syncthing Usage Data</h1>
|
||||||
<p>
|
<p>
|
||||||
This is the aggregated usage report data for the last 24 hours. Data based on <b>{{.nodes}}</b> nodes that have reported in.
|
This is the aggregated usage report data for the last 24 hours. Data based on <b>{{.nodes}}</b> devices that have reported in.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
@ -59,7 +59,7 @@ found in the LICENSE file.
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Version</th><th class="text-right">Nodes</th><th class="text-right">Share</th>
|
<th>Version</th><th class="text-right">Devices</th><th class="text-right">Share</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -77,7 +77,7 @@ found in the LICENSE file.
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Platform</th><th class="text-right">Nodes</th><th class="text-right">Share</th>
|
<th>Platform</th><th class="text-right">Devices</th><th class="text-right">Share</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -95,7 +95,7 @@ found in the LICENSE file.
|
|||||||
<table class="table table-striped">
|
<table class="table table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>OS</th><th class="text-right">Nodes</th><th class="text-right">Share</th>
|
<th>OS</th><th class="text-right">Devices</th><th class="text-right">Share</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
Loading…
Reference in New Issue
Block a user