|
4ce269c…
|
ragelink
|
1 |
{% extends "base.html" %} |
|
4ce269c…
|
ragelink
|
2 |
{% block title %}Settings — Fossilrepo{% endblock %} |
|
4ce269c…
|
ragelink
|
3 |
|
|
4ce269c…
|
ragelink
|
4 |
{% block content %} |
|
4ce269c…
|
ragelink
|
5 |
<div class="md:flex md:items-center md:justify-between mb-6"> |
|
4ce269c…
|
ragelink
|
6 |
<h1 class="text-2xl font-bold text-gray-100">Organization Settings</h1> |
|
4ce269c…
|
ragelink
|
7 |
{% if perms.organization.change_organization %} |
|
4ce269c…
|
ragelink
|
8 |
<a href="{% url 'organization:settings_edit' %}" |
|
4ce269c…
|
ragelink
|
9 |
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"> |
|
4ce269c…
|
ragelink
|
10 |
Edit Settings |
|
4ce269c…
|
ragelink
|
11 |
</a> |
|
4ce269c…
|
ragelink
|
12 |
{% endif %} |
|
4ce269c…
|
ragelink
|
13 |
</div> |
|
4ce269c…
|
ragelink
|
14 |
|
|
4ce269c…
|
ragelink
|
15 |
<div class="overflow-hidden rounded-lg bg-gray-800 shadow border border-gray-700"> |
|
4ce269c…
|
ragelink
|
16 |
<div class="px-6 py-5"> |
|
4ce269c…
|
ragelink
|
17 |
<dl class="grid grid-cols-1 gap-x-4 gap-y-6 sm:grid-cols-2"> |
|
4ce269c…
|
ragelink
|
18 |
<div> |
|
4ce269c…
|
ragelink
|
19 |
<dt class="text-sm font-medium text-gray-400">Name</dt> |
|
4ce269c…
|
ragelink
|
20 |
<dd class="mt-1 text-sm text-gray-100">{{ org.name }}</dd> |
|
4ce269c…
|
ragelink
|
21 |
</div> |
|
4ce269c…
|
ragelink
|
22 |
<div> |
|
4ce269c…
|
ragelink
|
23 |
<dt class="text-sm font-medium text-gray-400">Slug</dt> |
|
4ce269c…
|
ragelink
|
24 |
<dd class="mt-1 text-sm text-gray-400 font-mono">{{ org.slug }}</dd> |
|
4ce269c…
|
ragelink
|
25 |
</div> |
|
4ce269c…
|
ragelink
|
26 |
<div> |
|
4ce269c…
|
ragelink
|
27 |
<dt class="text-sm font-medium text-gray-400">Website</dt> |
|
4ce269c…
|
ragelink
|
28 |
<dd class="mt-1 text-sm text-gray-100">{{ org.website|default:"—" }}</dd> |
|
4ce269c…
|
ragelink
|
29 |
</div> |
|
4ce269c…
|
ragelink
|
30 |
<div> |
|
4ce269c…
|
ragelink
|
31 |
<dt class="text-sm font-medium text-gray-400">GUID</dt> |
|
4ce269c…
|
ragelink
|
32 |
<dd class="mt-1 text-sm text-gray-400 font-mono">{{ org.guid }}</dd> |
|
4ce269c…
|
ragelink
|
33 |
</div> |
|
4ce269c…
|
ragelink
|
34 |
<div class="sm:col-span-2"> |
|
4ce269c…
|
ragelink
|
35 |
<dt class="text-sm font-medium text-gray-400">Description</dt> |
|
4ce269c…
|
ragelink
|
36 |
<dd class="mt-1 text-sm text-gray-100">{{ org.description|default:"No description." }}</dd> |
|
4ce269c…
|
ragelink
|
37 |
</div> |
|
4ce269c…
|
ragelink
|
38 |
<div> |
|
4ce269c…
|
ragelink
|
39 |
<dt class="text-sm font-medium text-gray-400">Created</dt> |
|
4ce269c…
|
ragelink
|
40 |
<dd class="mt-1 text-sm text-gray-400">{{ org.created_at|date:"N j, Y g:i a" }}</dd> |
|
4ce269c…
|
ragelink
|
41 |
</div> |
|
4ce269c…
|
ragelink
|
42 |
<div> |
|
4ce269c…
|
ragelink
|
43 |
<dt class="text-sm font-medium text-gray-400">Updated</dt> |
|
4ce269c…
|
ragelink
|
44 |
<dd class="mt-1 text-sm text-gray-400">{{ org.updated_at|date:"N j, Y g:i a" }}</dd> |
|
4ce269c…
|
ragelink
|
45 |
</div> |
|
4ce269c…
|
ragelink
|
46 |
</dl> |
|
4ce269c…
|
ragelink
|
47 |
</div> |
|
4ce269c…
|
ragelink
|
48 |
</div> |
|
4ce269c…
|
ragelink
|
49 |
|
|
4ce269c…
|
ragelink
|
50 |
<div class="mt-8"> |
|
4ce269c…
|
ragelink
|
51 |
<div class="md:flex md:items-center md:justify-between mb-4"> |
|
4ce269c…
|
ragelink
|
52 |
<h2 class="text-lg font-semibold text-gray-100">Members</h2> |
|
4ce269c…
|
ragelink
|
53 |
<div class="flex gap-3 mt-4 md:mt-0"> |
|
4ce269c…
|
ragelink
|
54 |
{% if perms.organization.view_organizationmember %} |
|
4ce269c…
|
ragelink
|
55 |
<a href="{% url 'organization:members' %}" |
|
4ce269c…
|
ragelink
|
56 |
class="inline-flex items-center rounded-md bg-gray-700 px-3 py-2 text-sm font-semibold text-gray-100 shadow-sm ring-1 ring-inset ring-gray-600 hover:bg-gray-600"> |
|
4ce269c…
|
ragelink
|
57 |
Manage Members |
|
4ce269c…
|
ragelink
|
58 |
</a> |
|
4ce269c…
|
ragelink
|
59 |
{% endif %} |
|
4ce269c…
|
ragelink
|
60 |
</div> |
|
4ce269c…
|
ragelink
|
61 |
</div> |
|
4ce269c…
|
ragelink
|
62 |
</div> |
|
4ce269c…
|
ragelink
|
63 |
|
|
4ce269c…
|
ragelink
|
64 |
<div class="mt-4"> |
|
4ce269c…
|
ragelink
|
65 |
<div class="md:flex md:items-center md:justify-between mb-4"> |
|
4ce269c…
|
ragelink
|
66 |
<h2 class="text-lg font-semibold text-gray-100">Teams</h2> |
|
4ce269c…
|
ragelink
|
67 |
<div class="flex gap-3 mt-4 md:mt-0"> |
|
4ce269c…
|
ragelink
|
68 |
{% if perms.organization.view_team %} |
|
4ce269c…
|
ragelink
|
69 |
<a href="{% url 'organization:team_list' %}" |
|
4ce269c…
|
ragelink
|
70 |
class="inline-flex items-center rounded-md bg-gray-700 px-3 py-2 text-sm font-semibold text-gray-100 shadow-sm ring-1 ring-inset ring-gray-600 hover:bg-gray-600"> |
|
4ce269c…
|
ragelink
|
71 |
Manage Teams |
|
c588255…
|
ragelink
|
72 |
</a> |
|
c588255…
|
ragelink
|
73 |
{% endif %} |
|
c588255…
|
ragelink
|
74 |
</div> |
|
c588255…
|
ragelink
|
75 |
</div> |
|
c588255…
|
ragelink
|
76 |
</div> |
|
c588255…
|
ragelink
|
77 |
|
|
c588255…
|
ragelink
|
78 |
<div class="mt-4"> |
|
c588255…
|
ragelink
|
79 |
<div class="md:flex md:items-center md:justify-between mb-4"> |
|
c588255…
|
ragelink
|
80 |
<h2 class="text-lg font-semibold text-gray-100">Roles</h2> |
|
c588255…
|
ragelink
|
81 |
<div class="flex gap-3 mt-4 md:mt-0"> |
|
c588255…
|
ragelink
|
82 |
{% if perms.organization.view_organization %} |
|
c588255…
|
ragelink
|
83 |
<a href="{% url 'organization:role_list' %}" |
|
c588255…
|
ragelink
|
84 |
class="inline-flex items-center rounded-md bg-gray-700 px-3 py-2 text-sm font-semibold text-gray-100 shadow-sm ring-1 ring-inset ring-gray-600 hover:bg-gray-600"> |
|
c588255…
|
ragelink
|
85 |
Manage Roles |
|
4ce269c…
|
ragelink
|
86 |
</a> |
|
4ce269c…
|
ragelink
|
87 |
{% endif %} |
|
4ce269c…
|
ragelink
|
88 |
</div> |
|
4ce269c…
|
ragelink
|
89 |
</div> |
|
4ce269c…
|
ragelink
|
90 |
</div> |
|
4ce269c…
|
ragelink
|
91 |
{% endblock %} |