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 {{ content_html|safe }} 33 34 35{% else %} 36 37 {% if path.is_empty() %} 38 {% else %} 39 40 41 .. 42 - 43 44 {% endif %} 45 {% if entries.is_empty() %} 46 Empty directory. 47 {% else %} 48 {% for entry in entries %} 49 50 51 {% if entry.is_dir %}{{ entry.name }}/{% else %}{{ entry.name }}{% endif %} 52 {% if entry.is_dir %}-{% else %}{{ entry.size }}{% endif %} 53 54 {% endfor %} 55 {% endif %} 56 57{% endif %} 58{% endblock %} 59 60{% block scripts %} 61{% if is_file %} 62 63 66{% endif %} 67{% endblock %}