Wider container for /tor-relay/

parent 23c9aff2
......@@ -4,6 +4,6 @@ $(document).ready(function () {
"orderable": false,
"targets": 'no-sort'
}],
responsive: true,
// responsive: true,
});
});
\ No newline at end of file
......@@ -67,10 +67,22 @@
{% include 'components/navbar.twig' %}
{# Body #}
<main class="container">
{% block body %}{% endblock %}
</main>
{% set _body = block('body') %}
{% if _body is not empty %}
<main class="container">
{% block body %}{% endblock %}
</main>
{% endif %}
{% set _body_wide = block('body_wide') %}
{% if _body_wide is not empty %}
<main class="container-fluid">
{% block body_wide %}{% endblock %}
</main>
{% endif %}
{# Bootstrap JS #}
<script src="/assets/libs/jquery/jquery.slim.min.js"></script>
<script src="/assets/libs/bootstrap/js/bootstrap.min.js"></script>
......
{% extends 'layouts/default.twig' %}
{% block body %}
{# TODO: .container-fluid instead of .container due to large width #}
{% block body_wide %}
<h1>{{ title }}</h1>
<table class="table" id="torRelayList">
......@@ -9,8 +10,8 @@
<th scope="col">IP Address</th>
<th scope="col">Name</th>
<th scope="col">ORPort</th>
<th scope="col">Directory Port</th>
<th scope="col">Flags</th>
<th scope="col">DirPort</th>
<th scope="col" class="no-sort">Flags</th>
<th scope="col">Uptime</th>
<th scope="col">Version</th>
<th scope="col">Contact Info</th>
......@@ -35,6 +36,7 @@
</tbody>
</table>
<hr>
<p>The data is also available in <a href="/docs/tor-relay-list/">JSON &amp; TXT formats</a>.</p>
{% endblock %}
......@@ -45,5 +47,5 @@
<link rel="stylesheet" type="text/css" href="/assets/libs/datatables.net-bs4/css/dataTables.bootstrap4.min.css"/>
<script type="text/javascript" src="/assets/libs/datatables.net/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="/assets/libs/datatables.net-bs4/js/dataTables.bootstrap4.min.js"></script>
<script type="text/javascript" src="/assets/libs/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
{# <script type="text/javascript" src="/assets/libs/datatables.net-responsive/js/dataTables.responsive.min.js"></script> #}
{% endblock %}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment