diff --git a/crates/app/src/public/html/communities/base.lisp b/crates/app/src/public/html/communities/base.lisp index 4cc0075..b6eab17 100644 --- a/crates/app/src/public/html/communities/base.lisp +++ b/crates/app/src/public/html/communities/base.lisp @@ -253,7 +253,7 @@ ("class" "w-full flex justify-between items-center") (span ("class" "notification chip") - (text "Created")) + (text "Created ")) (span ("class" "date") (text "{{ community.created }}"))) diff --git a/crates/app/src/public/html/communities/members.lisp b/crates/app/src/public/html/communities/members.lisp index 1056847..18576f0 100644 --- a/crates/app/src/public/html/communities/members.lisp +++ b/crates/app/src/public/html/communities/members.lisp @@ -26,7 +26,7 @@ (div ("class" "card small flex items-center gap-2 justify-between") (span - (text "Since") + (text "Since ") (span ("class" "date") (text "{{ item[0].created }}"))) diff --git a/crates/app/src/public/html/communities/settings.lisp b/crates/app/src/public/html/communities/settings.lisp index 78d4349..191e4e8 100644 --- a/crates/app/src/public/html/communities/settings.lisp +++ b/crates/app/src/public/html/communities/settings.lisp @@ -550,7 +550,26 @@ ]); }); };")) - (text "{%- endif %}")) + (text "{%- endif %}") + + (div + ("class" "card-nest w-full") + (div + ("class" "card small flex items-center justify-between gap-2") + (div + ("class" "flex items-center gap-2") + (text "{{ icon \"blocks\" }}") + (span + (text "{{ text \"mod_panel:label.permissions_level_builder\" }}"))) + (button + ("class" "small quaternary") + ("onclick" "update_user_role(document.getElementById('uid').value, document.getElementById('role').value)") + (text "{{ icon \"check\" }}") + (span + (text "{{ text \"general:action.save\" }}")))) + (div + ("class" "card tertiary flex flex-col gap-2") + ("id" "permission_builder")))) (script (text "setTimeout(() => { @@ -686,12 +705,11 @@ ${res.payload.role !== 65 ? `` : ``} - - -