2018-04-11 15:31:34 +02:00
|
|
|
{% extends "main.html" %}
|
|
|
|
|
2018-05-31 15:48:11 +02:00
|
|
|
{% block head %}
|
|
|
|
{{ super() }}
|
|
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='linegraph.css') }}">
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
2018-04-11 15:31:34 +02:00
|
|
|
{% block title %}Ranking - {{ asn }}{% endblock %}
|
|
|
|
|
2018-05-31 15:48:11 +02:00
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
|
|
|
<script src='{{ url_for('static', filename='linegraph.js') }}'></script>
|
|
|
|
{% endblock %}
|
|
|
|
|
2018-04-11 15:31:34 +02:00
|
|
|
{% block content %}
|
|
|
|
<center>
|
|
|
|
<h1>Ranking - {{asn}}</h1></br></br>
|
|
|
|
</center>
|
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<th>Prefix</th>
|
|
|
|
<th>Rank</th>
|
|
|
|
</tr>
|
|
|
|
{% for prefix, rank in ranks %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ prefix }}</td>
|
|
|
|
<td>{{ rank }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
2018-05-31 17:37:35 +02:00
|
|
|
<canvas width="960" height="500"></canvas>
|
2018-04-11 15:31:34 +02:00
|
|
|
{% endblock %}
|