By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 repo.html

View raw Download
text/html • 4.77 kiB
HTML document, ASCII text
        
            
1
{% extends "default.html" %}
2
{% block title %}
3
{{ username }}/{{ repository }}
4
{% endblock %}
5
{% block breadcrumbs %}
6
<li><a href="/{{ username }}">{{ username }}</a></li>
7
<li><a href="/{{ username }}/{{ repository }}">{{ repository }}</a></li>
8
{% endblock %}
9
{% block dialogs %}
10
<dialog id="clone-info">
11
<article class="card">
12
<header class="card-top">
13
<div class="navbar navbar-mini">
14
<ul>
15
<li><b>Clone</b></li>
16
</ul>
17
<x-buttonbox class="dialog-tools">
18
<button class="button-flat button-neutral big-button" type="submit" form="clone-form"><iconify-icon icon="mdi:close"></iconify-icon></button>
19
</x-buttonbox>
20
</div>
21
</header>
22
<section class="card-main">
23
<form id="clone-form">
24
<x-vbox class="nopad">
25
<label for="clone-url">Clone over HTTP</label>
26
<input id="clone-url" readonly value="{{ remote }}" size="80">
27
</x-vbox>
28
</form>
29
</section>
30
</article>
31
</dialog>
32
{% endblock %}
33
{% block nav %}
34
<ul id="repo-tabs">
35
<li class="{% if active_page == 'tree' %}selected{% endif %}">
36
<a href="/{{ username }}/{{ repository }}/tree">
37
{% if active_page == 'tree' %}
38
<iconify-icon icon="ic:baseline-folder-copy"></iconify-icon>
39
{% else %}
40
<iconify-icon icon="ic:outline-folder-copy"></iconify-icon>
41
{% endif %}
42
Files
43
</a>
44
</li>
45
<li class="{% if active_page == 'branches' %}selected{% endif %}">
46
<a href="/{{ username }}/{{ repository }}/branches">
47
{% if active_page == 'branches' %}
48
<iconify-icon icon="mdi:directions-fork"></iconify-icon>
49
{% else %}
50
<iconify-icon icon="mdi:directions-fork"></iconify-icon>
51
{% endif %}
52
Branches
53
</a>
54
</li>
55
<li class="{% if active_page == 'log' %}selected{% endif %}">
56
<a href="/{{ username }}/{{ repository }}/log">
57
{% if active_page == 'log' %}
58
<iconify-icon icon="ic:baseline-history"></iconify-icon>
59
{% else %}
60
<iconify-icon icon="ic:outline-history"></iconify-icon>
61
{% endif %}
62
History
63
</a>
64
</li>
65
<li class="{% if active_page == 'prs' %}selected{% endif %}">
66
<a href="/{{ username }}/{{ repository }}/prs">
67
{% if active_page == 'prs' %}
68
<iconify-icon icon="mdi:comment-arrow-left"></iconify-icon>
69
{% else %}
70
<iconify-icon icon="mdi:comment-arrow-left-outline"></iconify-icon>
71
{% endif %}
72
PRs
73
</a>
74
</li>
75
<li class="{% if active_page == 'forum' %}selected{% endif %}">
76
<a href="/{{ username }}/{{ repository }}/forum">
77
{% if active_page == 'forum' %}
78
<iconify-icon icon="ic:baseline-forum"></iconify-icon>
79
{% else %}
80
<iconify-icon icon="ic:outline-forum"></iconify-icon>
81
{% endif %}
82
Forum
83
</a>
84
</li>
85
<li class="{% if active_page == 'users' %}selected{% endif %}">
86
<a href="/{{ username }}/{{ repository }}/users">
87
{% if active_page == 'users' %}
88
<iconify-icon icon="mdi:users"></iconify-icon>
89
{% else %}
90
<iconify-icon icon="mdi:users-outline"></iconify-icon>
91
{% endif %}
92
Users
93
</a>
94
</li>
95
<li class="{% if active_page == 'settings' %}selected{% endif %}">
96
<a href="/{{ username }}/{{ repository }}/settings">
97
{% if active_page == 'settings' %}
98
<iconify-icon icon="mdi:settings"></iconify-icon>
99
{% else %}
100
<iconify-icon icon="mdi:settings-outline"></iconify-icon>
101
{% endif %}
102
Settings
103
</a>
104
</li>
105
</ul>
106
<div class="flexible-space"></div>
107
108
{% if logged_in_user %}
109
<a class="button button-round fab" title="Mark as favourite" href="/{{ username }}/{{ repository }}/favourite">
110
<iconify-icon icon="mdi:star-plus"></iconify-icon>
111
</a>
112
<button class="button-round fab" onclick="document.getElementById('clone-info').showModal();">
113
<iconify-icon icon="mdi:download"></iconify-icon>
114
</button>
115
{% endif %}
116
{% endblock %}