From 2579081df2a568192887d776a6965af323b7c4ee Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 18 Aug 2022 13:40:16 +0200 Subject: make it possible to list all repositories in the web UI --- .../proxy/web_ui/templates/packages.html.jinja | 71 +++++++--------------- 1 file changed, 23 insertions(+), 48 deletions(-) (limited to 'src/hydrilla/proxy/web_ui/templates/packages.html.jinja') diff --git a/src/hydrilla/proxy/web_ui/templates/packages.html.jinja b/src/hydrilla/proxy/web_ui/templates/packages.html.jinja index d0ba5cb..48ef80b 100644 --- a/src/hydrilla/proxy/web_ui/templates/packages.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/packages.html.jinja @@ -20,59 +20,34 @@ file's licenses. Although I request that you do not make use this code in a proprietary work, I am not going to enforce this in court. #} {% extends "base.html.jinja" %} -{% block title %}Available packages{% endblock %} +{% block title %} {{ _('web_ui.packages.title') }} {% endblock %} {% block style %} -{{ super() }} - -ul#packages_list { - padding: 0; -} - -ul#packages_list > li { - list-style-type: none; - max-width: 100%; - overflow-x: scroll; - white-space: nowrap; - padding: 5px; - margin: 5px; - border: 2px solid #999; - border-radius: 5px; -} - -ul#packages_list > li > a { - display: block; - text-decoration: inherit; - color: inherit; -} - -.package-identifier { - font-size: 80%; - color: #555; -} + {{ super() }} + {% include 'include/item_list_style.css.jinja' %} {% endblock %} {% block main %} -

{{ _('web_ui.h3.packages') }}

-