diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-08-18 19:18:00 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-28 12:54:22 +0200 |
commit | e1344ae7017b28a54d7714895bd54c8431a20bc6 (patch) | |
tree | 66bfcb166a87afa10a0b45100231c102385baf08 /src/hydrilla/proxy/web_ui/templates/repos.html.jinja | |
parent | 2579081df2a568192887d776a6965af323b7c4ee (diff) | |
download | haketilo-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.jinja | 7 |
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"> {{ |