aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/repos.html.jinja
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-08-18 19:18:00 +0200
committerWojtek Kosior <koszko@koszko.org>2022-09-28 12:54:22 +0200
commite1344ae7017b28a54d7714895bd54c8431a20bc6 (patch)
tree66bfcb166a87afa10a0b45100231c102385baf08 /src/hydrilla/proxy/web_ui/templates/repos.html.jinja
parent2579081df2a568192887d776a6965af323b7c4ee (diff)
downloadhaketilo-hydrilla-e1344ae7017b28a54d7714895bd54c8431a20bc6.tar.gz
haketilo-hydrilla-e1344ae7017b28a54d7714895bd54c8431a20bc6.zip
allow adding, removing and altering repositories
This commit also temporarily breaks package import from files :/
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/repos.html.jinja')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/repos.html.jinja7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/repos.html.jinja b/src/hydrilla/proxy/web_ui/templates/repos.html.jinja
index 94b7e2b..05c948e 100644
--- a/src/hydrilla/proxy/web_ui/templates/repos.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/repos.html.jinja
@@ -28,6 +28,11 @@ in a proprietary work, I am not going to enforce this in court.
{% endblock %}
{% block main %}
<h3>{{ _('web_ui.repos.heading') }}</h3>
+ <div>
+ <a href="{{ url_for('.add_repo_get') }}" class="button">
+ {{ _('web_ui.repos.add_repo_button') }}
+ </a>
+ </div>
<ul id="item_list">
{% for info in display_infos %}
<li
@@ -51,7 +56,7 @@ in a proprietary work, I am not going to enforce this in court.
</li>
{% endfor %}
<li>
- <a href="{{ url_for('.show_repo', repo_id=1) }}">
+ <a href="{{ url_for('.show_repo', repo_id=local_semirepo_info.ref.id) }}">
{{ _('web_ui.repos.local_packages_semirepo') }}
<div class="small-print">
{{