add: finish ui rewrite

This commit is contained in:
trisua 2025-06-01 12:25:33 -04:00
parent e9846016e6
commit 5dec98d698
119 changed files with 8776 additions and 9350 deletions

View file

@ -0,0 +1,44 @@
(text "{% import \"components.html\" as components %} {% extends \"communities/base.html\" %} {% block content %}")
(div
("class" "flex flex-col gap-4 w-full")
(div
("class" "card-nest")
(div
("class" "card small flex gap-2 items-center")
(text "{{ icon \"users-round\" }}")
(span
(text "{{ text \"communities:tab.members\" }}")))
(div
("class" "card flex flex-col gap-4")
(text "{% if page == 0 -%}")
(div
("class" "card-nest")
(div
("class" "card small flex items-center gap-2")
(text "{{ icon \"crown\" }}")
(span
(text "Owner")))
(text "{{ components::user_card(user=owner) }}"))
(text "{%- endif %}")
(text "{% for item in list %}")
(div
("class" "card-nest")
(div
("class" "card small flex items-center gap-2 justify-between")
(span
(text "Since")
(span
("class" "date")
(text "{{ item[0].created }}")))
(text "{% if can_manage_roles -%}")
(a
("href" "/community/{{ community.id }}/manage?uid={{ item[1].id }}#/members")
("class" "button small quaternary")
(text "{{ icon \"pencil\" }}")
(span
(text "{{ text \"general:action.manage\" }}")))
(text "{%- endif %}"))
(text "{{ components::user_card(user=item[1]) }}"))
(text "{% endfor %} {{ components::pagination(page=page, items=list|length) }}"))))
(text "{% endblock %}")