1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html><html><head><title>{% block title %}{{ title | default('PyGitWeb') }}{% endblock %}</title>
<script>document.documentElement.setAttribute('data-bs-theme', window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light'); window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', function(e){ document.documentElement.setAttribute('data-bs-theme', e.matches ? 'dark' : 'light'); });</script>
<link rel="icon" href="/static/logo.svg" type="image/svg+xml">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Fira+Mono:wght@400;500;700&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/static/vendor/tabler-1.0.0-beta17.min.css">
<link rel="stylesheet" href="/static/main.css"/>
{% block head %}{% endblock %}
<script defer src="/static/vendor/tabler-1.0.0-beta17.min.js"></script>
<script defer src="/static/navbar-auth.js"></script>
</head><body{% block body_attrs %}{% endblock %}>
{% block body %}
<div class="page">
<aside class="navbar navbar-vertical navbar-expand-sm position-fixed">
<div class="container-fluid d-flex flex-column vh-100">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#sidebar-menu" aria-controls="sidebar-menu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<h1 class="navbar-brand navbar-brand-autodark py-3">
<a href="/" class="d-flex align-items-center text-reset">
<img src="/static/logo.svg" width="32" height="32" alt="Logo" class="navbar-brand-image me-2" style="object-fit: contain;">
<span class="nav-link-title">{{ site_name | default('PyGitWeb') }}</span>
</a>
</h1>
<div class="collapse navbar-collapse flex-grow-1 overflow-y-auto" id="sidebar-menu">
<ul class="navbar-nav pt-lg-3">
<li class="nav-item">
<a class="nav-link{% if nav == 'projects' %} active{% endif %}" href="/" {% if nav == 'projects' %}aria-current="page"{% endif %}>
<span class="nav-link-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-folder" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2z" /></svg></span>
<span class="nav-link-title">Projects</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link{% if nav == 'add' %} active{% endif %}" href="/addproject" {% if nav == 'add' %}aria-current="page"{% endif %}>
<span class="nav-link-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-plus" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 5l0 14" /><path d="M5 12l14 0" /></svg></span>
<span class="nav-link-title">Add project</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link{% if nav == 'boards' %} active{% endif %}" href="/boards" {% if nav == 'boards' %}aria-current="page"{% endif %}>
<span class="nav-link-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-layout-kanban"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 4m0 1a1 1 0 0 1 1 -1h14a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-14a1 1 0 0 1 -1 -1z" /><path d="M9 8v7" /><path d="M15 8v4" /></svg></span>
<span class="nav-link-title">Boards</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link{% if nav == 'activity' %} active{% endif %}" href="/activity" {% if nav == 'activity' %}aria-current="page"{% endif %}>
<span class="nav-link-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-activity"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 12h4l3 8l4 -16l3 8h4" /></svg></span>
<span class="nav-link-title">Activity</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link{% if nav == 'team' %} active{% endif %}" href="/team" {% if nav == 'team' %}aria-current="page"{% endif %}>
<span class="nav-link-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-users"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" /><path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" /><path d="M16 3.13a4 4 0 0 1 0 7.75" /><path d="M21 21v-2a4 4 0 0 0 -3 -3.85" /></svg></span>
<span class="nav-link-title">Team</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/activity">
<span class="nav-link-icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-messages"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M21 14l-3 -3h-7a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1h9a1 1 0 0 1 1 1v10" /><path d="M14 15v2a1 1 0 0 1 -1 1h-7l-3 3v-10a1 1 0 0 1 1 -1h2" /></svg></span>
<span class="nav-link-title">Discussions</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link{% if nav == 'tasks' %} active{% endif %}" href="/tasks" {% if nav == 'tasks' %}aria-current="page"{% endif %}>
<span class="nav-link-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-checklist" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M9 11l3 3l8 -8" /><path d="M20 12v6a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h9" /></svg></span>
<span class="nav-link-title">Tasks</span>
</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle{% if nav == 'settings' %} active{% endif %}" href="#" data-bs-toggle="dropdown" data-bs-auto-close="outside" aria-expanded="false" role="button" {% if nav == 'settings' %}aria-current="page"{% endif %}>
<span class="nav-link-icon"><svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-settings" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065z" /><path d="M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0" /></svg></span>
<span class="nav-link-title">Settings</span>
</a>
<div class="dropdown-menu dropdown-menu-column dropdown-menu-column-1">
<a class="dropdown-item" href="/settings/pygitweb">PyGitWeb</a>
<a class="dropdown-item" href="/settings/pygit2">PyGit2</a>
</div>
</li>
</ul>
</div>
<div class="navbar-user mt-auto py-3 px-3 border-top" id="navbar-user" data-logged-in="false">
<a class="d-flex align-items-center text-reset text-decoration-none w-100" id="navbar-user-link" href="/login" aria-label="Account">
<span class="avatar avatar-sm bg-secondary me-2 d-flex align-items-center justify-content-center" id="navbar-user-avatar">
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-user" width="22" height="22" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0" /><path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" /></svg>
</span>
<div class="d-none d-xl-block text-start">
<div class="navbar-user-name text-body">Guest</div>
<div class="navbar-user-meta text-muted small">Not signed in</div>
</div>
</a>
<div class="dropdown-menu d-none" id="navbar-user-menu">
<a class="dropdown-item" id="navbar-user-profile" href="/user">Profile</a>
<a class="dropdown-item" id="navbar-user-logout" href="/logout?next=/">Sign out</a>
</div>
</div>
</div>
</aside>
<div class="page-wrapper">
<div class="page-body">
<div class="container-xl">
{% block content %}{% endblock %}
</div>
</div>
</div>
</div>
{% endblock %}
{% block scripts %}{% endblock %}
</body></html>