diff options
author | Jordan <me@jordan.im> | 2020-10-23 21:42:18 -0700 |
---|---|---|
committer | Jordan <me@jordan.im> | 2020-10-23 21:42:18 -0700 |
commit | 421bd0bc206fa9326ffb8acee547f7b7ea49a2dd (patch) | |
tree | 3aca2b9d75af4826a97c34076719ee56163312a3 /allium/templates/relay-list.html | |
parent | 80c874f0b56ed0c4c948f0eaef3043544a709516 (diff) | |
download | allium-421bd0bc206fa9326ffb8acee547f7b7ea49a2dd.tar.gz allium-421bd0bc206fa9326ffb8acee547f7b7ea49a2dd.zip |
improve limited-width display support
Diffstat (limited to 'allium/templates/relay-list.html')
-rw-r--r-- | allium/templates/relay-list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/allium/templates/relay-list.html b/allium/templates/relay-list.html index d312af9..8283c04 100644 --- a/allium/templates/relay-list.html +++ b/allium/templates/relay-list.html @@ -14,7 +14,7 @@ <th>AS Name</th> <th>Country</th> <th>Platform</th> -<th>Flags</th> +<th class="visible-md visible-lg">Flags</th> <th class="visible-md visible-lg">First Seen</th> </tr> <tbody> @@ -105,7 +105,7 @@ relay['platform']|truncate(length=10)|escape }}</a></td> <td>{{ relay['platform']|truncate(length=10)|escape }}</td> {% endif -%} -<td>{% for flag in relay['flags'] -%}{% if flag != 'StaleDesc' -%}<a href="{{ +<td class="visible-md visible-lg">{% for flag in relay['flags'] -%}{% if flag != 'StaleDesc' -%}<a href="{{ path_prefix }}flag/{{ flag.lower()|escape }}"><img src="{{ path_prefix}}static/images/flags/{{ flag.lower()|escape }}.png" title="{{ flag|escape }}" alt="{{ flag|escape }}"></a> {% endif -%}{% endfor |