small filtered tag marker on index page

This commit is contained in:
Xevion
2020-10-31 18:48:46 -05:00
parent cda841065a
commit db45f6fd7d

View File

@@ -5,6 +5,12 @@
.panel-icon {
margin-right: 1em;
}
.tag:not(body) {
font-size: 0.7rem;
line-height: 1.3;
padding: 0 0.6em;
}
</style>
{% endblock head %}
{% block content %}
@@ -17,6 +23,9 @@
</span>
<a href="{% url 'browse' served_directory.id %}">
{{ served_directory.path }}
{% if served_directory.regex %}
<span class="tag is-info">Filtered</span>
{% endif %}
</a>
</div>
{% endfor %}