diff options
| author | 2021-08-13 11:33:31 +0100 | |
|---|---|---|
| committer | 2021-08-13 11:33:31 +0100 | |
| commit | 5b18052dca8526081fa0047dd54e83c890b65526 (patch) | |
| tree | c5da47011fc5b418922c18d45b858da7f43911c0 /pydis_site/templates | |
| parent | lint: Add a NOQA for the N818 linting error (diff) | |
chore: Split Topic column into two columns
Diffstat (limited to 'pydis_site/templates')
| -rw-r--r-- | pydis_site/templates/resources/resources.html | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/pydis_site/templates/resources/resources.html b/pydis_site/templates/resources/resources.html index ef4aac8b..fb482345 100644 --- a/pydis_site/templates/resources/resources.html +++ b/pydis_site/templates/resources/resources.html @@ -22,17 +22,30 @@ <div class="field"> <div class="columns"> - <div class="column pl-6"> + <div class="column pl-6 is-two-fifths"> <div class="title is-5 pt-2 has-text-centered">Topic</div> - - {% for topic in topics %} - <div class="field"> - <label class="checkbox"> - <input name="topicOption" type="checkbox" value="{{ topic }}"{% if topic == 'General' %} checked{% endif %}> - <span class="has-text-grey is-size-6">{{ topic }}</span> - </label> + <div class="columns"> + <div class="column"> + {% for topic in topics_1 %} + <div class="field"> + <label class="checkbox"> + <input name="topicOption" type="checkbox" value="{{ topic }}"{% if topic == 'General' %} checked{% endif %}> + <span class="has-text-grey is-size-6">{{ topic }}</span> + </label> + </div> + {% endfor %} + </div> + <div class="column"> + {% for topic in topics_2 %} + <div class="field"> + <label class="checkbox"> + <input name="topicOption" type="checkbox" value="{{ topic }}"{% if topic == 'General' %} checked{% endif %}> + <span class="has-text-grey is-size-6">{{ topic }}</span> + </label> + </div> + {% endfor %} + </div> </div> - {% endfor %} </div> <div class="column pl-6"> |