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/pages/report/index.tt8
4 files changed, 8 insertions, 6 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/pages/report/index.tt b/root/html/pages/report/index.tt
index b52a1a8..ddb1871 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">
</script>
<style>
div.infow { margin: 0; font-size: 70%; font-family: Helvetica, Arial, sans-serif; }
@@ -36,8 +36,10 @@ div.infow p { margin: 0; }
* @return integer
*/
function getStrokeWeight(bw) {
- var bws = { "1Mbits": 1, "10Mbits": 2, "100Mbits": 3,
- "1Gbits": 4, "2Gbits": 5
+ var bws = { "1Mbits": 1, "10Mbits": 1, "100Mbits": 1,
+ "1Gbits": 2, "2Gbits": 2,
+ "10Gbits": 3, "20Gbits": 3,
+ "100Gbits": 4, "200Gbits": 4
};
return (bw in bws) ? bws[bw] : 1;
}