mirror of
https://github.com/safing/web
synced 2025-09-01 10:39:03 +00:00
Add "postponed" state for next page
This commit is contained in:
parent
9482bc989d
commit
23e88b3f1e
3 changed files with 18 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
|||
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/cog.svg" alt="">
|
||||
{% elsif include.state == 'discarded' %}
|
||||
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/cross.svg" alt="">
|
||||
{% elsif include.state == 'postponed' %}
|
||||
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/files.svg" alt="">
|
||||
{% elsif include.state == 'backlog' %}
|
||||
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/files.svg" alt="">
|
||||
{% endif %}
|
||||
|
|
|
@ -50,6 +50,8 @@
|
|||
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/cog.svg" alt="">
|
||||
{% elsif include.state == 'discarded' %}
|
||||
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/cross.svg" alt="">
|
||||
{% elsif include.state == 'postponed' %}
|
||||
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/files.svg" alt="">
|
||||
{% elsif include.state == 'backlog' %}
|
||||
<img style="min-width: 19px;" src="{{ site.assets_url }}icons/files.svg" alt="">
|
||||
{% endif %}
|
||||
|
|
|
@ -73,6 +73,20 @@ layout: page
|
|||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if site.data.next.cards.postponed.size > 0 %}
|
||||
<div class="pt-48">
|
||||
<div class="nextwrapper">
|
||||
<div style="margin-top: -3rem;" class="flex absolute pl-8 ">
|
||||
<span class="opacity-50">Postponed</span>
|
||||
<strong class="pl-2 opacity-75">({{ site.data.next.cards.postponed.size }})</strong>
|
||||
</div>
|
||||
|
||||
{% for card in site.data.next.cards.postponed %}
|
||||
{% include project_card.html state = 'postponed' %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
</section>
|
||||
<section class="mt-20 lg:mt-40 mb-16 lg:mb-48">
|
||||
<div class="items-center h-full">
|
||||
|
|
Loading…
Add table
Reference in a new issue