From: Jonatan Schlag Date: Sat, 2 Dec 2017 16:24:04 +0000 (+0100) Subject: bootstrap4: refactored mirror list X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=278b9f209a99bf00c4e405413b42c4036301c91a;p=pbs.git bootstrap4: refactored mirror list Signed-off-by: Jonatan Schlag --- diff --git a/src/templates/mirrors/list.html b/src/templates/mirrors/list.html index 670a260b..b919b798 100644 --- a/src/templates/mirrors/list.html +++ b/src/templates/mirrors/list.html @@ -3,100 +3,116 @@ {% block title %}{{ _("Mirrors") }}{% end block %} {% block body %} - - - {% if current_user and current_user.has_perm("manage_mirrors") %} -
- - {{ _("Actions") }} - - +
+ - {% end %} +
- {% else %} -

- {{ _("There are no mirrors configured, yet.") }} -

+

+ {{ _("There are no mirrors configured, yet.") }} +

+
+ {% end %} {% if log %} -

{{ _("Log") }}

- {% module Log(log) %} +
+
+

{{ _("Log") }}

+ {% module Log(log) %} +
+
{% end %} {% end block %}