From: Michael Tremer Date: Sun, 12 Jan 2025 13:32:46 +0000 (+0000) Subject: templates: Convert the base template to Jinja X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ea369a28d20c380ec8b4f473cdc529dadd42de0;p=pbs.git templates: Convert the base template to Jinja Signed-off-by: Michael Tremer --- diff --git a/src/templates/base.html b/src/templates/base.html index 58ea84c0..208fac87 100644 --- a/src/templates/base.html +++ b/src/templates/base.html @@ -8,7 +8,7 @@ - {{ hostname }} - {% block title %}{{ _("No title given") }}{% end block %} + {{ hostname }} - {% block title %}{{ _("No title given") }}{% endblock %} @@ -64,7 +64,7 @@ {{ _("Users") }} - {% end %} + {% endif %} {{ _("Job Queue") }} @@ -111,7 +111,7 @@ {{ _("Sign In") }} - {% end %} + {% endif %} @@ -124,9 +124,9 @@
{% block container %} NO CONTENT - {% end block %} + {% endblock %}
- {% end block %} + {% endblock %} {# Footer #}