Port index page to maud
This commit is contained in:
parent
ae81831bdd
commit
b3f8c6390c
2 changed files with 42 additions and 66 deletions
|
|
@ -1,43 +0,0 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}overview{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<h2>Refs</h2>
|
||||
|
||||
<details class="refs-list" open>
|
||||
<summary>Tracked ({{ tracked_refs.len() }})</summary>
|
||||
<form method="post" action="{{ link_admin_refs_untrack }}">
|
||||
<dl>
|
||||
{% for ref in tracked_refs %}
|
||||
<dt>
|
||||
{{ ref.name }}
|
||||
[<button class="linkish" name="ref" value="{{ ref.name }}">untrack</button>]
|
||||
</dt>
|
||||
<dd>{{ ref.commit|safe }}</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</form>
|
||||
</details>
|
||||
|
||||
<details class="refs-list">
|
||||
<summary>Untracked ({{ untracked_refs.len() }})</summary>
|
||||
<form method="post" action="{{ link_admin_refs_track }}">
|
||||
<dl>
|
||||
{% for ref in untracked_refs %}
|
||||
<dt>
|
||||
{{ ref.name }}
|
||||
[<button class="linkish" name="ref" value="{{ ref.name }}">track</button>]
|
||||
</dt>
|
||||
<dd>{{ ref.commit|safe }}</dd>
|
||||
{% endfor %}
|
||||
</dl>
|
||||
</form>
|
||||
</details>
|
||||
|
||||
<form method="post" action="{{ link_admin_refs_update }}">
|
||||
<button>Update</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue