gitust/templates/git.html

22 lines
663 B
HTML

{% extends "base.html" %}
{% block content %}
<div class="w3-bar">
<span class="w3-bar-item">{{repo.owner.name}}/{{repo.name}}</span>
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Fork</button></span>
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Star</button></span>
<span class="w3-bar-item w3-right"><button class="w3-button w3-round w3-border">Follow</button></span>
</div>
{% for (dir, prev) in root %}/<a href="{{prev}}">{{dir}}</a>{% endfor %}
<ul>
{% for entry in browse %}
<li>{{ entry }}</li>
{% endfor %}
</ul>
{% endblock %}