Enhance UI by updating header styles and improving group detail layout
This commit is contained in:
parent
5446175cad
commit
04b0a30e76
4 changed files with 48 additions and 16 deletions
|
@ -35,7 +35,7 @@
|
|||
</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<table class="striped">
|
||||
<table>
|
||||
<thead>
|
||||
{% if group.owner == user %}<th></th>{% endif %}
|
||||
<th>Date</th>
|
||||
|
@ -66,7 +66,9 @@
|
|||
</tbody>
|
||||
</table>
|
||||
{% if group.owner == user %}
|
||||
<button type="submit" formaction="{% url "group_remove_game" pk=group.pk %}">
|
||||
<button type="submit"
|
||||
class="secondary"
|
||||
formaction="{% url "group_remove_game" pk=group.pk %}">
|
||||
<i class="ri-delete-bin-fill"></i> Supprimer les parties sélectionnées
|
||||
</button>
|
||||
{% endif %}
|
||||
|
@ -115,6 +117,7 @@
|
|||
</table>
|
||||
{% if group.owner == user %}
|
||||
<button type="submit"
|
||||
class="secondary"
|
||||
formaction="{% url "group_remove_member" pk=group.pk %}">
|
||||
<i class="ri-delete-bin-fill"></i> Supprimer les membres sélectionnés
|
||||
</button>
|
||||
|
@ -142,7 +145,7 @@
|
|||
</summary>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<table class="striped">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
|
@ -176,7 +179,9 @@
|
|||
</table>
|
||||
{% if musics %}
|
||||
<fieldset role="group">
|
||||
<button type="submit" formaction="{% url "group_remove_music" pk=group.pk %}">
|
||||
<button type="submit"
|
||||
formaction="{% url "group_remove_music" pk=group.pk %}"
|
||||
class="secondary">
|
||||
<i class="ri-delete-bin-fill"></i> Supprimer
|
||||
</button>
|
||||
<button type="submit"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<p>Bienvenue {{ user.username }} !</p>
|
||||
<h2>Mes groupes</h2>
|
||||
<h2>
|
||||
<i class="ri-group-2-fill"></i> Mes groupes
|
||||
</h2>
|
||||
<p>
|
||||
<a href="{% url "group_create" %}" role="button"><i class="ri-add-box-fill"></i> Créer un groupe</a>
|
||||
{% if not user.youtubecredentials.credentials %}
|
||||
|
@ -10,14 +12,14 @@
|
|||
{% for group in user.owned_group_set.all %}
|
||||
<a class="group" href="{{ group.get_absolute_url }}">
|
||||
<article>
|
||||
{{ group.name }} <i class="ri-vip-crown-fill owner"></i>
|
||||
<i class="ri-vip-crown-fill owner i"></i> {{ group.name }}
|
||||
</article>
|
||||
</a>
|
||||
{% endfor %}
|
||||
{% for group in user.group_set.all %}
|
||||
<a class="group" href="{{ group.get_absolute_url }}">
|
||||
<article>
|
||||
{{ group.name }} <span class="group-owner">{{ group.owner }}</span>
|
||||
<i class="ri-group-2-fill i"></i> {{ group.name }} <span class="group-owner">{{ group.owner }}</span>
|
||||
</article>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue