aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan <me@jordan.im>2020-10-23 21:42:18 -0700
committerJordan <me@jordan.im>2020-10-23 21:42:18 -0700
commit421bd0bc206fa9326ffb8acee547f7b7ea49a2dd (patch)
tree3aca2b9d75af4826a97c34076719ee56163312a3
parent80c874f0b56ed0c4c948f0eaef3043544a709516 (diff)
downloadallium-421bd0bc206fa9326ffb8acee547f7b7ea49a2dd.tar.gz
allium-421bd0bc206fa9326ffb8acee547f7b7ea49a2dd.zip
improve limited-width display support
-rw-r--r--allium/templates/misc-families.html2
-rw-r--r--allium/templates/relay-list.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/allium/templates/misc-families.html b/allium/templates/misc-families.html
index 6073a49..dea08e3 100644
--- a/allium/templates/misc-families.html
+++ b/allium/templates/misc-families.html
@@ -59,7 +59,7 @@ reverse=True) -%}
v['contact']|hash }}/" title="{{ v['contact']|escape }}">{{
v['contact']|truncate(50)|escape }}<a></td></code>
{% else -%}
-<td>none</td>
+<td class="visible-md visible-lg">none</td>
{% endif -%}
<td>{{ v['exit_count'] }} / {{ v['middle_count'] }}</td>
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