diff options
Diffstat (limited to 'root/html/pages')
| -rw-r--r-- | root/html/pages/new/confirm.tt | 2 | ||||
| -rw-r--r-- | root/html/pages/report/index.tt | 21 |
2 files changed, 19 insertions, 4 deletions
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&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> |
