diff --git a/templates/admin/avatar_items_view.html b/templates/admin/avatar_items_view.html new file mode 100644 index 0000000..08ab698 --- /dev/null +++ b/templates/admin/avatar_items_view.html @@ -0,0 +1,102 @@ +{% extends 'admin/custom_base.html' %} +{% block body %} +
Register new avatar items added to the backend DLL. These are added to the item pool alongside the base game items.
+ + {% if error %} +| Friendly Name | +Item ID (AvatarItemDesc) | +Default / Starter | + {% if SCOPE_ADMIN in scopes %}Actions | {% endif %} +
|---|---|---|---|
| No custom items registered yet. | |||
| {{ item.FriendlyName }} | +{{ item.AvatarItemDesc }} | ++ {% if item.get('Starter', false) %} + Default + {% else %} + No + {% endif %} + | + {% if SCOPE_ADMIN in scopes %} ++ + + | + {% endif %} +
Manage active bans and review moderation history
+| Player | Reason | Until | By | Actions |
|---|---|---|---|---|
|
+ {{ p.username }}
+ #{{ p.id }}
+ |
+ {{ p.ban_reason or '—' }} | ++ {% if not p.banned_until %} + PERMANENT + {% else %} + {{ p.banned_until[:16] if p.banned_until else '—' }} + {% endif %} + | +{{ p.banned_by or '—' }} | +
+
+ {% if SCOPE_ADMIN in scopes %}
+
+ {% endif %}
+
+ |
+
No active bans
+ {% endif %} +| When | Action | Player | Reason | Admin |
|---|---|---|---|---|
| {{ b.created_at[:16] if b.created_at else '—' }} | ++ {% if b.action == 'ban' %}Ban + {% else %}Unban{% endif %} + | +{{ b.username }} | + +{{ b.admin_name or '—' }} | +
No moderation history
+ {% endif %} +| Name | +Label | +Size | +Uploaded | +URL | ++ |
|---|
All player chat threads — click a row to view messages
+| ID | +Players | +Messages | +Last Activity | +Actions | +
|---|---|---|---|---|
| #{{ t.id }} | ++ {% for p in t.players %} + {{ p.username }}{% if not loop.last %} · {% endif %} + {% endfor %} + | +{{ t.message_count }} | +{{ t.last_message_at[:16] if t.last_message_at else '—' }} | ++ + | +
Loading…
+