Parent
[>]
1{% extends "base.html" %} 2 3{% block title %}{{ repo }}/{{ path }}{% endblock %} 4 5{% block breadcrumbs %} 6 7 {{ crate::hostname() }} 8 {{ repo }} 9 {{ sha[..8] }} 10 {% for crumb in breadcrumbs %} 11 {% if loop.last %}{{ crumb.label }}{% else %}{{ crumb.label }}{% endif %} 12 {% endfor %} 13 14{% endblock %} 15 16{% block content %} 17{% if is_file %} 18 19 20 21 Parent 22 [>] 23 24 25 26 27 Raw 28 [>] 29 30 31 32 Blame 33 [>] 34 35 36 37 {{ content_html|safe }} 38 39 40{% else %} 41 42 {% if path.is_empty() %} 43 {% else %} 44 45 46 .. 47 - 48 49 {% endif %} 50 {% if entries.is_empty() %} 51 Empty directory. 52 {% else %} 53 {% for entry in entries %} 54 55 56 {% if entry.is_dir %}{{ entry.name }}/{% else %}{{ entry.name }}{% endif %} 57 {% if entry.is_dir %}-{% else %}{{ entry.size }}{% endif %} 58 59 {% endfor %} 60 {% endif %} 61 62{% endif %} 63{% endblock %} 64 65{% block scripts %} 66{% if is_file %} 67 68 71{% endif %} 72{% endblock %}