You're looking at it

Homepage: https://roundabout-host.com

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.39 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 seo %}
10
{% if repo_data.visibility < 2 %}
11
<meta name="robots" content="noindex">
12
{% endif %}
13
{% if repo_data.info %}
14
<meta name="description" content="{{ repo_data.info | truncate(160) }}">
15
{% endif %}
16
{% endblock %}
17
{% block dialogs %}
18
<dialog id="info">
19
<article class="card">
20
<header class="card-top">
21
<div class="navbar navbar-mini">
22
<ul>
23
<li><h4>{% trans %}Information{% endtrans %}</h4></li>
24
</ul>
25
<x-buttonbox class="dialog-tools">
26
<button class="button-flat button-neutral big-button" type="submit" form="info-form"><iconify-icon icon="mdi:close"></iconify-icon></button>
27
</x-buttonbox>
28
</div>
29
</header>
30
<section class="card-main" style="padding-top: var(--padding-card-top);">
31
<form id="info-form" method="dialog">
32
<x-vbox>
33
<x-vbox class="nopad">
34
{% if repo_data.info %}
35
{{ repo_data.info | markdown }}
36
{% endif %}
37
</x-vbox>
38
{% if repo_data.url %}
39
<p>
40
{% trans %}Homepage:{% endtrans %} <a href="{{ repo_data.url }}">{{ repo_data.url }}</a>
41
</p>
42
{% endif %}
43
<x-vbox class="nopad">
44
<label for="clone-url">{% trans %}Clone over HTTP{% endtrans %}</label>
45
<input id="clone-url" readonly value="{{ remote }}" size="80">
46
</x-vbox>
47
</x-vbox>
48
</form>
49
</section>
50
</article>
51
</dialog>
52
{% endblock %}
53
{% block nav %}
54
<ul id="repo-tabs">
55
<li class="{% if active_page == 'tree' %}selected{% endif %}">
56
<a href="/{{ username }}/{{ repository }}/tree">
57
{% trans %}Files{% endtrans %}
58
</a>
59
</li>
60
<li class="{% if active_page == 'branches' %}selected{% endif %}">
61
<a href="/{{ username }}/{{ repository }}/branches">
62
{% trans %}Branches{% endtrans %}
63
</a>
64
</li>
65
<li class="{% if active_page == 'log' %}selected{% endif %}">
66
<a href="/{{ username }}/{{ repository }}/log">
67
{% trans %}History{% endtrans %}
68
</a>
69
</li>
70
<li class="{% if active_page == 'prs' %}selected{% endif %}">
71
<a href="/{{ username }}/{{ repository }}/prs">
72
{% trans %}PRs{% endtrans %}
73
</a>
74
</li>
75
<li class="{% if active_page == 'forum' %}selected{% endif %}">
76
<a href="/{{ username }}/{{ repository }}/forum">
77
{% trans %}Forum{% endtrans %}
78
</a>
79
</li>
80
<li class="{% if active_page == 'users' %}selected{% endif %}">
81
<a href="/{{ username }}/{{ repository }}/users">
82
{% trans %}Users{% endtrans %}
83
</a>
84
</li>
85
<li class="{% if active_page == 'settings' %}selected{% endif %}">
86
<a href="/{{ username }}/{{ repository }}/settings">
87
{% trans %}Settings{% endtrans %}
88
</a>
89
</li>
90
</ul>
91
<div class="flexible-space"></div>
92
93
<x-buttonbox>
94
{% if logged_in_user %}
95
<a title="{% trans %}Mark as favourite{% endtrans %}" class="button" href="/{{ username }}/{{ repository }}/favourite">
96
{% if not is_favourite %}
97
{% trans counter=repo_data.favourites|length %}Add to favourites ({{ counter }}){% endtrans %}
98
{% else %}
99
{% trans counter=repo_data.favourites|length %}Remove from favourites ({{ counter }}){% endtrans %}
100
{% endif %}
101
</a>
102
{% endif %}
103
<button onclick="document.getElementById('info').showModal();">
104
{% trans %}Information{% endtrans %}
105
</button>
106
</x-buttonbox>
107
{% endblock %}
108