diff --git a/base/static/css/main.css b/base/static/css/main.css index a353d2e..372715c 100644 --- a/base/static/css/main.css +++ b/base/static/css/main.css @@ -19,3 +19,15 @@ i.owner { .template { display: none; } + +a.group { + text-decoration: none; +} + +.group-owner, .group i { + margin-left: .5rem; +} + +.group-owner { + color: var(--pico-color-zinc-500); +} diff --git a/game/templates/game/home.html b/game/templates/game/home.html index b726da8..20c310b 100644 --- a/game/templates/game/home.html +++ b/game/templates/game/home.html @@ -7,16 +7,18 @@ {% endif %}

{% if user.owned_group_set.exists or user.group_set.exists %} - + {% for group in user.owned_group_set.all %} + +
+ {{ group.name }} +
+
+ {% endfor %} + {% for group in user.group_set.all %} + +
+ {{ group.name }} {{ group.owner }} +
+
+ {% endfor %} {% endif %}