mirror of https://git.48k.eu/ogcp
templates: add missing delete/update repository templates
Add missing templates. Fixes:master v1.1.3-715dd4c2a8f
('views: add action to update repo') Fixes:152337b6bd
('views: add action to delete repo')
parent
f76c0ed24d
commit
ddfaae0ef6
|
@ -0,0 +1,17 @@
|
|||
{% extends 'repos.html' %}
|
||||
{% import "bootstrap/wtf.html" as wtf %}
|
||||
{% set btn_back = true %}
|
||||
|
||||
{% block nav_repos %} active{% endblock %}
|
||||
{% block nav_repos_details %} active{% endblock %}
|
||||
{% block nav_repos_add %}active{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h1 class="m-5">{{_('Delete repo')}}</h1>
|
||||
|
||||
{{ wtf.quick_form(form,
|
||||
action=url_for('action_repo_delete'),
|
||||
method='post',
|
||||
button_map={'submit': 'danger'},
|
||||
extra_classes="mx-5") }}
|
||||
{% endblock %}
|
|
@ -0,0 +1,17 @@
|
|||
{% extends 'repos.html' %}
|
||||
{% import "bootstrap/wtf.html" as wtf %}
|
||||
{% set btn_back = true %}
|
||||
|
||||
{% block nav_repos %} active{% endblock %}
|
||||
{% block nav_repos_details %} active{% endblock %}
|
||||
{% block nav_repos_update %}active{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
<h1 class="m-5">{{_('Update repo')}}</h1>
|
||||
|
||||
{{ wtf.quick_form(form,
|
||||
action=url_for('action_repo_update'),
|
||||
method='post',
|
||||
button_map={'submit': 'primary'},
|
||||
extra_classes="mx-5") }}
|
||||
{% endblock %}
|
Loading…
Reference in New Issue