Display revision info
This commit is contained in:
32
templates/revision.html
Normal file
32
templates/revision.html
Normal file
@@ -0,0 +1,32 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{{ revision_uri }}</h1>
|
||||
|
||||
<ul>
|
||||
<li>Revision of: <a href="{# flake_revision.flake_link() #}">{# flake_revision.uri #}</a></a>
|
||||
</ul>
|
||||
|
||||
<h2>Inputs</h2>
|
||||
|
||||
<ul>
|
||||
{% for input in inputs %}
|
||||
<li>
|
||||
{{ input.input_name }}
|
||||
<ul>
|
||||
{% match input.uri %}
|
||||
{% when Some with (uri) %}
|
||||
<li>Flake: <a href="{{ input.flake_link() }}">{{ uri }}</a></li>
|
||||
{% when None %}
|
||||
{% endmatch %}
|
||||
{% match input.revision_uri %}
|
||||
{% when Some with (revision_uri) %}
|
||||
<li>Revision: <a href="{{ input.revision_link() }}">{{ revision_uri }}</a></li>
|
||||
{% when None %}
|
||||
{% endmatch %}
|
||||
</ul>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user