43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
{% extends "layout.html" %}
|
|
|
|
{% block title %}
|
|
{{ title_path }} {{ current_project|capitalize }} source code {{ current_tag }} - Bootlin
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
|
|
<div class="lxrtree">
|
|
<table>
|
|
<tbody>
|
|
{% if back_url is not none %}
|
|
<tr>
|
|
<td><a class="tree-icon icon-back" href="{{ back_url }}">Parent directory</a></td>
|
|
<td><a tabindex="-1" class="size" href="{{ back_url }}"></a></td>
|
|
</tr>
|
|
{% endif %}
|
|
{% for type, name, path, url, size in dir_entries %}
|
|
<tr>
|
|
<td>
|
|
<a class="tree-icon icon-{{- type if type != 'symlink' else 'blob' -}}"
|
|
href="{{ url }}">
|
|
{% if type == 'symlink' %}
|
|
{{ name }} -> {{ path }}
|
|
{% else %}
|
|
{{ name }}
|
|
{% endif %}
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<a tabindex="-1" class="size" href="{{ url }}">
|
|
{% if size is not none %}
|
|
{{ size }} bytes
|
|
{% endif %}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
{% endblock %}
|