mirror of
https://git.nolog.cz/NoLog.cz/headline.git
synced 2025-01-31 11:53:35 +01:00
Persit checkbox state
This commit is contained in:
parent
89f2a7c866
commit
901817409e
1 changed files with 50 additions and 48 deletions
|
@ -36,14 +36,15 @@
|
|||
<input type="hidden" name="page" value="{{ page }}" />
|
||||
{% endif %}
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" name="expand_diffs" value="true" />
|
||||
<input type="checkbox" name="expand_diffs" value="true" {{ "checked" if expand_diffs else "" }} />
|
||||
<p>Expand diffs</p>
|
||||
</label>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container mb-8" id="diff-list">
|
||||
<div id="diff-list">
|
||||
<div class="container mb-8">
|
||||
{% for diff in diffs %}
|
||||
<article class="card px-5 py-4 mb-4">
|
||||
<p class="flex gap-x-4 gap-y-2 mb-3 flex-wrap shrink-0">
|
||||
|
@ -86,14 +87,15 @@
|
|||
{% endif %}
|
||||
</article>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="overflow-x-auto">
|
||||
<div class="overflow-x-auto">
|
||||
<div class="container mb-3">
|
||||
{{ pagination.links }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="container text-sm text-gray-500">
|
||||
</div>
|
||||
<div class="container text-sm text-gray-500">
|
||||
{{ pagination.info }}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock body %}
|
||||
|
|
Loading…
Reference in a new issue