aboutsummaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
Diffstat (limited to 'root')
-rw-r--r--root/html/includes/footer.tt2
-rw-r--r--root/html/includes/header.tt2
-rw-r--r--root/html/includes/host_information.tt2
-rw-r--r--root/html/includes/new/unsupported_protocol.tt2
-rw-r--r--root/html/pages/new/confirm.tt2
-rw-r--r--root/html/pages/report/index.tt21
-rw-r--r--root/mail/host_up_request.tt4
7 files changed, 25 insertions, 10 deletions
diff --git a/root/html/includes/footer.tt b/root/html/includes/footer.tt
index 0ecf502..a6e9cd7 100644
--- a/root/html/includes/footer.tt
+++ b/root/html/includes/footer.tt
@@ -1,5 +1,5 @@
<!-- $Id$ -->
<hr>
-<p><a href="http://www.mageia.org/">Mageia.Org</a></p>
+<p><a href="https://www.mageia.org/">Mageia.Org</a></p>
</body>
</html>
diff --git a/root/html/includes/header.tt b/root/html/includes/header.tt
index 6534c51..f957dd2 100644
--- a/root/html/includes/header.tt
+++ b/root/html/includes/header.tt
@@ -4,7 +4,7 @@
<head>
<meta charset="utf-8">
<title>Mageia mirrors database</title>
- <link rel="icon" type="image/png" href="/g/favicon.png">
+ <link rel="icon" type="image/png" href="//www.mageia.org/g/favicon.png">
[% c.prototype.define_javascript_functions %]
</head>
<body>
diff --git a/root/html/includes/host_information.tt b/root/html/includes/host_information.tt
index 7ddef5b..7906fe1 100644
--- a/root/html/includes/host_information.tt
+++ b/root/html/includes/host_information.tt
@@ -120,7 +120,7 @@ your update request.<br>
</div>
<script type="text/javascript"
- src="http://maps.google.com/maps/api/js?sensor=false">
+ src="https://maps.google.com/maps/api/js?sensor=false">
</script>
<script type="text/javascript">
var map;
diff --git a/root/html/includes/new/unsupported_protocol.tt b/root/html/includes/new/unsupported_protocol.tt
index 7552c82..7c46698 100644
--- a/root/html/includes/new/unsupported_protocol.tt
+++ b/root/html/includes/new/unsupported_protocol.tt
@@ -1 +1 @@
-Unsuported protocol
+Unsupported protocol
diff --git a/root/html/pages/new/confirm.tt b/root/html/pages/new/confirm.tt
index 2dde830..85b19aa 100644
--- a/root/html/pages/new/confirm.tt
+++ b/root/html/pages/new/confirm.tt
@@ -1,7 +1,7 @@
<div id="foo">
<h2>Confirmation</h2>
-<p>The URL [% c.session.new_uri | html %] has been succefully validated.</p>
+<p>The URL [% c.session.new_uri | html %] has been successfully validated.</p>
<p>Please confirm the addition into the database.</p>
diff --git a/root/html/pages/report/index.tt b/root/html/pages/report/index.tt
index b52a1a8..6121133 100644
--- a/root/html/pages/report/index.tt
+++ b/root/html/pages/report/index.tt
@@ -1,6 +1,6 @@
<!-- $Id$ -->
<script type="text/javascript"
- src="http://maps.google.com/maps/api/js?sensor=false">
+ src="https://maps.google.com/maps/api/js?sensor=false&amp;loading=async">
</script>
<style>
div.infow { margin: 0; font-size: 70%; font-family: Helvetica, Arial, sans-serif; }
@@ -34,10 +34,24 @@ div.infow p { margin: 0; }
*
* @param string bw
* @return integer
+ *
+ * mirrors=> select * from bandwidth order by value;
+ * name | value
+ * ----------+--------------
+ * 10Mbits | 10485760
+ * 100Mbits | 104857600
+ * 1Gbits | 1073741824
+ * 2Gbits | 2147483648
+ * 10Gbits | 10737418240
+ * 20Gbits | 21474836480
+ * 100Gbits | 107374182400
+ * 200Gbits | 214748364800
*/
function getStrokeWeight(bw) {
- var bws = { "1Mbits": 1, "10Mbits": 2, "100Mbits": 3,
- "1Gbits": 4, "2Gbits": 5
+ var bws = { "1048576": 1, "10485760": 1, "104857600": 1,
+ "1073741824": 2, "2147483648": 2,
+ "10737418240": 3, "21474836480": 3,
+ "107374182400": 4, "214748364800": 4
};
return (bw in bws) ? bws[bw] : 1;
}
@@ -94,3 +108,4 @@ to Tier2 mirrors.</p>
<h2>Synchronisation tree</h2>
<img src="[% c.uri_for('/graph') %]">
+<p>Line thickness is proportional to bandwidth.</p>
diff --git a/root/mail/host_up_request.tt b/root/mail/host_up_request.tt
index 56b4e91..6f733d9 100644
--- a/root/mail/host_up_request.tt
+++ b/root/mail/host_up_request.tt
@@ -1,8 +1,8 @@
Hi,
-You (hopefully) asked to update information about Mageia mirror.
+You (hopefully) asked to update information about a Mageia mirror.
-To confirm the requst please visit:
+To confirm the request please visit:
[% c.uri_for('/validate', reqid) %]