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