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 }}/users">Users</a></li> 40<li><a href="/{{ username }}/{{ repository }}/settings">Settings</a></li> 41</ul> 42<x-buttonbox> 43{% if loggedInUser %} 44<a class="button" href="/{{ username }}/{{ repository }}/favourite"> 45{% if not isFavourite %} 46<iconify-icon icon="mdi:star"></iconify-icon> 47Favourite 48{% else %} 49<iconify-icon icon="mdi:star"></iconify-icon> 50Remove favourite 51{% endif %} 52</a> 53{% endif %} 54<!-- <button>--> 55<!-- <iconify-icon icon="mdi:chat-alert"></iconify-icon>--> 56<!-- follow--> 57<!-- </button>--> 58<button onclick="document.getElementById('clone-info').showModal();"> 59<iconify-icon icon="mdi:swap-vertical-bold"></iconify-icon> 60Clone 61</button> 62<!-- <button>--> 63<!-- <iconify-icon icon="mdi:directions-fork"></iconify-icon>--> 64<!-- fork--> 65<!-- </button>--> 66</x-buttonbox> 67</nav> 68{% endblock %} 69