FossilRepo
| 4ce269c… | ragelink | 1 | <div id="team-member-table"> |
| 313537c… | ragelink | 2 | <div class="overflow-x-auto rounded-lg border border-gray-700 bg-gray-800 shadow-sm"> |
| 4ce269c… | ragelink | 3 | <table class="min-w-full divide-y divide-gray-700"> |
| 2f13242… | ragelink | 4 | <thead class="bg-gray-900/80"> |
| 4ce269c… | ragelink | 5 | <tr> |
| 2f13242… | ragelink | 6 | <th class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-400">Username</th> |
| 2f13242… | ragelink | 7 | <th class="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-400">Email</th> |
| 2f13242… | ragelink | 8 | <th class="px-6 py-3 text-right text-xs font-medium uppercase tracking-wider text-gray-400">Actions</th> |
| 4ce269c… | ragelink | 9 | </tr> |
| 4ce269c… | ragelink | 10 | </thead> |
| 2f13242… | ragelink | 11 | <tbody class="divide-y divide-gray-700/70 bg-gray-800"> |
| 4ce269c… | ragelink | 12 | {% for member in team_members %} |
| 2f13242… | ragelink | 13 | <tr class="hover:bg-gray-700/40 transition-colors"> |
| 4ce269c… | ragelink | 14 | <td class="px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-100">{{ member.username }}</td> |
| 4ce269c… | ragelink | 15 | <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-400">{{ member.email|default:"—" }}</td> |
| 4ce269c… | ragelink | 16 | <td class="px-6 py-4 whitespace-nowrap text-right text-sm"> |
| 4ce269c… | ragelink | 17 | {% if perms.organization.change_team %} |
| 4ce269c… | ragelink | 18 | <a href="{% url 'organization:team_member_remove' slug=team.slug username=member.username %}" class="text-red-400 hover:text-red-300">Remove</a> |
| 4ce269c… | ragelink | 19 | {% endif %} |
| 4ce269c… | ragelink | 20 | </td> |
| 4ce269c… | ragelink | 21 | </tr> |
| 4ce269c… | ragelink | 22 | {% empty %} |
| 4ce269c… | ragelink | 23 | <tr> |
| 4ce269c… | ragelink | 24 | <td colspan="3" class="px-6 py-8 text-center text-sm text-gray-400">No members yet.</td> |
| 4ce269c… | ragelink | 25 | </tr> |
| 4ce269c… | ragelink | 26 | {% endfor %} |
| 4ce269c… | ragelink | 27 | </tbody> |
| 4ce269c… | ragelink | 28 | </table> |
| 4ce269c… | ragelink | 29 | </div> |
| 4ce269c… | ragelink | 30 | </div> |