]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - www/templates/modules/tracker-peerlist.html
Website update.
[people/shoehn/ipfire.org.git] / www / templates / modules / tracker-peerlist.html
index 8ebf0a1efedfbbdfd3fcc5b425348ed93dce8e38..ea89c982e01657e5acfe09cf02c57f33fde427da 100644 (file)
@@ -1,15 +1,20 @@
-<table class="tracker-peerlist">
-       <tr>
-               <th>&nbsp;</th>
-               <th>&nbsp;</th>
-               <th>Hostname</th>
-       </tr>
-       {% for peer in peers %}
+<table class="table table-striped">
+       <thead>
                <tr>
-                       <td class="ip">{{ peer.ip }}</td>
-                       <td><img src="{{ static_url("images/flags/" + peer.country_code + ".png") }}"
-                               alt="{{ peer.country_code }}" /></td>
-                       <td>{{ peer.hostname or "---" }}</td>
+                       <th>&nbsp;</th>
+                       <th>Hostname</th>
                </tr>
-       {% end %}
+       </thead>
+       <tbody>
+               {% for peer in peers %}
+                       <tr>
+                               <td>
+                                       <img src="{{ static_url("images/flags/" + peer.country_code + ".png") }}"
+                                               alt="{{ peer.country_code }}" />
+                                       {{ peer.ip }}
+                               </td>
+                               <td>{{ peer.hostname or "---" }}</td>
+                       </tr>
+               {% end %}
+       </tbody>
 </table>