tor: Increase the size of the status tables

- Full size for hidden service table.
- Half size for ports table.

Signed-off-by: Manish Tripathy <manisht@thougtworks.com>
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
Sunil Mohan Adapa 2018-06-18 19:25:07 +05:30
parent 87d32d9c64
commit c824bfe3ce
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2

View File

@ -58,30 +58,26 @@
{% include "diagnostics_button.html" with module="tor" enabled=status.enabled %} {% include "diagnostics_button.html" with module="tor" enabled=status.enabled %}
{% if status.hs_enabled %} {% if status.hs_enabled %}
<div class="row"> <table class="table table-bordered table-condensed table-striped">
<div class="col-sm-6"> <thead>
<table class="table table-bordered table-condensed table-striped"> <tr>
<thead> <th>{% trans "Hidden Service" %}</th>
<tr> <th>{% trans "Status" %}</th>
<th>{% trans "Hidden Service" %}</th> <th>{% trans "Ports" %}</th>
<th>{% trans "Status" %}</th> </tr>
<th>{% trans "Ports" %}</th> </thead>
</tr> <tbody>
</thead> <tr>
<tbody> <td>{{ status.hs_hostname }}</td>
<tr> <td>{{ status.hs_status }}</td>
<td>{{ status.hs_hostname }}</td> <td>
<td>{{ status.hs_status }}</td> {% for service in status.hs_services %}
<td> {{ service }}
{% for service in status.hs_services %} {% endfor %}
{{ service }} </td>
{% endfor %} </tr>
</td> </tbody>
</tr> </table>
</tbody>
</table>
</div>
</div>
{% endif %} {% endif %}
<h3>{% trans "Configuration" %}</h3> <h3>{% trans "Configuration" %}</h3>
@ -105,7 +101,7 @@
{% endblocktrans %} {% endblocktrans %}
</p> </p>
<div class="row"> <div class="row">
<div class="col-sm-3"> <div class="col-sm-6">
<table class="table table-bordered table-condensed table-striped"> <table class="table table-bordered table-condensed table-striped">
<thead> <thead>
<tr> <tr>