add: finish forge stuff
This commit is contained in:
parent
53fb4d5778
commit
68071b96c8
21 changed files with 329 additions and 18 deletions
|
@ -3,4 +3,5 @@
|
|||
("class" "flex flex-col gap-4 w-full")
|
||||
(text "{{ macros::forge_nav(community=community, selected=\"info\") }}")
|
||||
(text "{{ components::community_info(community=community) }}"))
|
||||
; (text "{{ components::community_banner(id=community.id, community=community) }}")
|
||||
(text "{% endblock %}")
|
||||
|
|
18
crates/app/src/public/html/forge/tickets.lisp
Normal file
18
crates/app/src/public/html/forge/tickets.lisp
Normal file
|
@ -0,0 +1,18 @@
|
|||
(text "{% extends \"forge/base.html\" %} {% block content %}")
|
||||
(div
|
||||
("class" "flex flex-col gap-4 w-full")
|
||||
(text "{{ macros::forge_nav(community=community, selected=\"tickets\") }}")
|
||||
(div
|
||||
("class" "card-nest")
|
||||
(div
|
||||
("class" "card small flex items-center gap-2")
|
||||
(icon (text "circle-dot"))
|
||||
(str (text "forge:tab.tickets")))
|
||||
|
||||
(div
|
||||
("class" "card flex flex-col gap-2")
|
||||
(text "{% for post in feed -%}")
|
||||
(text "{{ components::ticket(post=post[0], owner=post[1]) }}")
|
||||
(text "{%- endfor %}")
|
||||
(text "{{ components::pagination(page=page, items=feed|length) }}"))))
|
||||
(text "{% endblock %}")
|
Loading…
Add table
Add a link
Reference in a new issue