repo.html
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 }}</li> 7<li><a href="/{{ username }}/{{ repository }}">{{ repository }}</a></li> 8{% endblock %} 9 10{% block nav %} 11<dialog id="clone-info"> 12<article class="card"> 13<header class="card-top"> 14<div class="navbar navbar-mini"> 15<ul> 16<li><b>Clone</b></li> 17</ul> 18<x-buttonbox class="dialog-tools"> 19<button class="button-flat button-neutral big-button" type="submit" form="clone-form"><iconify-icon icon="mdi:close"></iconify-icon></button> 20</x-buttonbox> 21</div> 22</header> 23<section class="card-main"> 24<form id="clone-form"> 25<x-vbox class="nopad"> 26<label for="clone-url">Clone over HTTP</label> 27<input id="clone-url" readonly value="{{ remote }}" size="80"> 28</x-vbox> 29</form> 30</section> 31</article> 32</dialog> 33<nav id="repo-nav" class="navbar"> 34<ul id="repo-tabs"> 35<li><a href="/{{ username }}/{{ repository }}/tree">Tree</a></li> 36<li><a href="/{{ username }}/{{ repository }}/branches">Branches</a></li> 37<li><a href="/{{ username }}/{{ repository }}/log">History</a></li> 38<!-- <li><a href="/{{ username }}/{{ repository }}/forum">Forum</a></li>--> 39<!-- <li><a href="/{{ username }}/{{ repository }}/docs">Docs</a></li>--> 40<!-- <li><a href="/{{ username }}/{{ repository }}/releases">Releases</a></li>--> 41<!-- <li><a href="/{{ username }}/{{ repository }}/activity">Activity</a></li>--> 42<!-- <li><a href="/{{ username }}/{{ repository }}/people">People</a></li>--> 43<!-- <li><a href="/{{ username }}/{{ repository }}/ci">CI</a></li>--> 44<li><a href="/{{ username }}/{{ repository }}/forum">Forum</a></li> 45<li><a href="/{{ username }}/{{ repository }}/users">Users</a></li> 46<li><a href="/{{ username }}/{{ repository }}/settings">Settings</a></li> 47</ul> 48<x-buttonbox> 49{% if loggedInUser %} 50<a class="button" href="/{{ username }}/{{ repository }}/favourite"> 51{% if not isFavourite %} 52<iconify-icon icon="mdi:star"></iconify-icon> 53Favourite 54{% else %} 55<iconify-icon icon="mdi:star"></iconify-icon> 56Remove favourite 57{% endif %} 58</a> 59{% endif %} 60<!-- <button>--> 61<!-- <iconify-icon icon="mdi:chat-alert"></iconify-icon>--> 62<!-- follow--> 63<!-- </button>--> 64<button onclick="document.getElementById('clone-info').showModal();"> 65<iconify-icon icon="mdi:swap-vertical-bold"></iconify-icon> 66Clone 67</button> 68<!-- <button>--> 69<!-- <iconify-icon icon="mdi:directions-fork"></iconify-icon>--> 70<!-- fork--> 71<!-- </button>--> 72</x-buttonbox> 73</nav> 74{% endblock %} 75