{# highlight_edit_select.html #} {% extends "base.html" %} {% block content %} {% include "query_nav.html" %}

Current highlighting

Add a new highlight

{% csrf_token %} {{ form.as_table }}

Existing highlights

{% if highlights %} {% for highlight in highlights %} {% endfor %}
Text Colour number (0-{{ N_CSS_HIGHLIGHT_CLASSES|add:"-1" }}) Delete highlight Active? Activate this one Deactivate this one
{{ highlight.text }} {{ highlight.colour }}
{% csrf_token %}
{% if highlight.active %}{% endif %} {{ highlight.active|yesno }} {% if highlight.active %}{% endif %} {% if highlight.active %} (activated) {% else %}
{% csrf_token %}
{% endif %}
{% if highlight.active %}
{% csrf_token %}
{% else %} (deactivated) {% endif %}
{% include "page_nav.html" with page=highlights %} {% else %}
None.
{% endif %}

Colour examples

{% for colour in colourlist %}
Colour {{ colour }}
{% endfor %} {% endblock %}