summaryrefslogtreecommitdiffhomepage
path: root/plugins
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-05-03 11:02:59 +0200
committerRoland Reichwein <mail@reichwein.it>2020-05-03 11:02:59 +0200
commit4e699f552db264b9d988873f2189440280e821a7 (patch)
tree01161dee2c00908de5860fd6f265e8b4be002e8b /plugins
parenta08cc1cd227e60da8966c45d70b739cd7737f6bd (diff)
Minor corrections
Diffstat (limited to 'plugins')
-rw-r--r--plugins/statistics/statistics.cpp8
-rw-r--r--plugins/webbox/TODO1
2 files changed, 4 insertions, 5 deletions
diff --git a/plugins/statistics/statistics.cpp b/plugins/statistics/statistics.cpp
index 5eef858..35ea241 100644
--- a/plugins/statistics/statistics.cpp
+++ b/plugins/statistics/statistics.cpp
@@ -114,10 +114,10 @@ std::string statistics_plugin::generate_page(
result += "<h1>Webserver Statistics</h1>";
result += "<p>Host uptime: "s + GetServerParam("uptime_host") + "</p>";
result += "<p>Host webserver: "s + GetServerParam("uptime_webserver") + "</p>";
- result += "<p>IPv6 fraction by requests: "s + std::to_string(ipv6_fraction_by_requests * 100) + "</p>";
- result += "<p>IPv6 fraction by bytes: "s + std::to_string(ipv6_fraction_by_bytes * 100) + "</p>";
- result += "<p>HTTPS fraction by requests: "s + std::to_string(https_fraction_by_requests * 100) + "</p>";
- result += "<p>HTTPS fraction by bytes: "s + std::to_string(https_fraction_by_bytes * 100) + "</p>";
+ result += "<p>IPv6 fraction by requests: "s + std::to_string(ipv6_fraction_by_requests * 100) + "%</p>";
+ result += "<p>IPv6 fraction by bytes: "s + std::to_string(ipv6_fraction_by_bytes * 100) + "%</p>";
+ result += "<p>HTTPS fraction by requests: "s + std::to_string(https_fraction_by_requests * 100) + "%</p>";
+ result += "<p>HTTPS fraction by bytes: "s + std::to_string(https_fraction_by_bytes * 100) + "%</p>";
result += "<pre>"s + statistics + "</pre>"s;
result += footer;
diff --git a/plugins/webbox/TODO b/plugins/webbox/TODO
index 307dfe4..c61d179 100644
--- a/plugins/webbox/TODO
+++ b/plugins/webbox/TODO
@@ -3,7 +3,6 @@ Prio 1 (for next version)
generate download link for selected file
selection button for files/dirs
-fix minification on stable debian
gallery
Prio 2 (for future versions)