Merge pull request #3 from uok/wording

Match wording with Syncthing GUI
This commit is contained in:
Jakob Borg 2015-02-15 17:11:15 +01:00
commit 13f82a06ee
2 changed files with 10 additions and 10 deletions

12
main.go
View File

@ -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{

View File

@ -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>