FossilRepo

1
{% extends "base.html" %}
2
{% block title %}Teams — Fossilrepo{% endblock %}
3
4
{% block content %}
5
<div class="mb-6">
6
<a href="{% url 'organization:settings' %}" class="text-sm text-brand-light hover:text-brand">&larr; Back to Settings</a>
7
</div>
8
9
<div class="md:flex md:items-center md:justify-between mb-6">
10
<h1 class="text-2xl font-bold text-gray-100">Teams</h1>
11
{% if perms.organization.add_team %}
12
<a href="{% url 'organization:team_create' %}"
13
class="mt-4 md:mt-0 inline-flex items-center rounded-md bg-brand px-4 py-2 text-sm font-semibold text-white shadow-sm hover:bg-brand-hover">
14
New Team
15
</a>
16
{% endif %}
17
</div>
18
19
<div class="mb-4 search-wrap max-w-md">
20
<input type="search"
21
name="search"
22
value="{{ search }}"
23
placeholder="Search teams..."
24
aria-label="Search teams"
25
class="w-full rounded-md border-gray-700 bg-gray-800 text-gray-100 shadow-sm focus:border-brand focus:ring-brand sm:text-sm"
26
hx-get="{% url 'organization:team_list' %}"
27
hx-trigger="input changed delay:300ms, search"
28
hx-target="#team-table"
29
hx-swap="outerHTML"
30
hx-push-url="true"
31
hx-indicator="closest .search-wrap" />
32
<svg class="search-spinner animate-spin h-4 w-4" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"></path></svg>
33
</div>
34
35
{% include "organization/partials/team_table.html" %}
36
{% include "includes/_pagination.html" %}
37
{% endblock %}
38

Keyboard Shortcuts

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