FossilRepo

1
<div id="team-table">
2
<div class="overflow-x-auto rounded-lg border border-gray-700 bg-gray-800 shadow-sm">
3
<table class="min-w-full divide-y divide-gray-700">
4
<thead class="bg-gray-900/80">
5
<tr>
6
<th class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-400">Name</th>
7
<th class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-400">Members</th>
8
<th class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-400">Created</th>
9
<th class="px-6 py-3 text-right text-xs font-medium uppercase tracking-wider text-gray-400">Actions</th>
10
</tr>
11
</thead>
12
<tbody class="divide-y divide-gray-700/70 bg-gray-800">
13
{% for team in teams %}
14
<tr class="hover:bg-gray-700/40 transition-colors">
15
<td class="px-6 py-4 whitespace-nowrap">
16
<a href="{% url 'organization:team_detail' slug=team.slug %}" class="text-brand-light hover:text-brand font-medium">
17
{{ team.name }}
18
</a>
19
</td>
20
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-400">{{ team.members.count }}</td>
21
<td class="px-6 py-4 whitespace-nowrap text-sm text-gray-400">{{ team.created_at|date:"N j, Y" }}</td>
22
<td class="px-6 py-4 whitespace-nowrap text-right text-sm">
23
{% if perms.organization.change_team %}
24
<a href="{% url 'organization:team_update' slug=team.slug %}" class="text-brand-light hover:text-brand">Edit</a>
25
{% endif %}
26
</td>
27
</tr>
28
{% empty %}
29
<tr>
30
<td colspan="4" class="px-6 py-8 text-center text-sm text-gray-400">No teams found.</td>
31
</tr>
32
{% endfor %}
33
</tbody>
34
</table>
35
</div>
36
</div>
37

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button