You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.8 KiB
HTML

9 years ago
{% extends 'layout.html' %}
{% load i18n %}
{% load static %}
9 years ago
{% load bw %}
{% block content %}
4 years ago
<div class="pure-g content">
<div class="pure-u-1 pure-u-xl-2-3" id="gateways">
<h2>{% trans 'Our Servers' %}</h2>
9 years ago
<table class="flat-table">
9 years ago
<thead>
<tr><td>{% trans 'Location' %}</td>
<td>{% trans 'Hostname' %}</td>
4 years ago
<td>{% trans 'Load' %}</td>
9 years ago
</tr>
</thead>
<tbody>
{% for country, d in locations %}
<tr><td class="left">
{{ d.country_name }}
{% if d.tags.no_p2p %}
<span class="no-p2p" title="{% trans 'BitTorrent on public trackers is not allowed on this location' %}">NO<br />P2P</span>
{% endif %}
{% if d.tags.no_ipv6 %}
<span class="no-ipv6" title="{% trans 'IPv6 is not available on this location ' %}">NO<br />IPv6</span>
{% endif %}
</td>
4 years ago
<td class="left host_line">
9 years ago
<span class="host_name">{{ d.hostname }}</span>
</td>
4 years ago
<td class="right">
<span class="bandwidth">
<span class="inner {% if d.load_percent > 75 %}high{% endif %}" style="width: {{d.load_percent}}%"></span>
<span class="label">
{{ d.load_percent }}%
{% trans "of" %}
{{ d.bandwidth|bwformat }}
</span>
</span>
4 years ago
</td>
9 years ago
</tr>
{% endfor %}
</tbody>
</table>
</div>
4 years ago
</div>
<script type="text/javascript" src="/static/ping.js"></script>
9 years ago
{% endblock %}