Changeset - bd7608fb3d38
[Not reviewed]
Dennis Fink - 9 years ago 2015-10-22 22:35:37
dennis.fink@c3l.lu
Making status tables responsive

We wrap a div with the table-responsive class around the tables.
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
ennstatus/templates/status/macros.html
Show inline comments
 
@@ -55,6 +55,7 @@
 
    {% set headers = ('#', 'Name', 'Tor Status', 'Country', 'Fingerprint', 'OBFS', 'FTEProxy', 'Flashproxy', 'meek', 'Last Updated <noscript>(UTC)</noscript>') %}
 
  {% endif %}
 
  <h2>{{ server_type|title }}</h2>
 
  <div class="table-responsive">
 
  <table class="table table-bordered table-striped sortable">
 
    <thead>
 
      <tr>
 
@@ -95,6 +96,7 @@
 
      {% endfor %}
 
    </tbody>
 
  </table>
 
  </div>
 
  {% if server_type == 'bridge' %}
 
    <div class="alert alert-info alert-dismissible" role="alert">
 
      <button type="button" class="close" data-dismiss="alert"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
0 comments (0 inline, 0 general)