28 lines
906 B
HTML
28 lines
906 B
HTML
{% extends "layout.html" %}
|
|
|
|
{% block title %}{{ repo_name }}: {{ tree_name }}: {{ blob.name }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>{{ repo_name }}: {{ tree_name }}: {{ blob.name }}</h1>
|
|
|
|
{% if blob.lines %}
|
|
<div class="blob-contents">
|
|
<div class="left">
|
|
<ul>
|
|
{% for _ in blob.lines %}
|
|
<a name="L{{ loop.index }}" />
|
|
<a href="#L{{ loop.index }}" title="permalink to line {{ loop.index }}">
|
|
<li class="line">{{ loop.index }}</li>
|
|
</a>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
<div class="right">
|
|
<pre>{% for line in blob.lines %}{{ line }}
|
|
{% endfor %}</pre>
|
|
</div>
|
|
</pre>
|
|
{% else %}
|
|
This blob contains binary data.
|
|
{% endif %}
|
|
{% endblock %}
|