From 31766a3d07549e846c61ead624b4a45f88948fc0 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Fri, 23 Aug 2024 12:17:41 +0200 Subject: ogcp: add support for multi-ip repositories Add support for the new API REST for repository management where the address is a list of ips instead of a single string. Add dynamic address creation in /action/repo/update and /action/repo/add forms through delete and add buttons in the form. Update /image/restore and /cache/fetch to use repository_id. Add additional repository form validations. --- ogcp/templates/actions/repos_update.html | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'ogcp/templates/actions/repos_update.html') diff --git a/ogcp/templates/actions/repos_update.html b/ogcp/templates/actions/repos_update.html index 15c6b64..1278648 100644 --- a/ogcp/templates/actions/repos_update.html +++ b/ogcp/templates/actions/repos_update.html @@ -9,9 +9,6 @@

{{_('Update repo')}}

-{{ wtf.quick_form(form, - action=url_for('action_repo_update'), - method='post', - button_map={'submit': 'primary'}, - extra_classes="mx-5") }} +{% include 'repo_inspector.html' %} + {% endblock %} -- cgit v1.2.3-18-g5258