Skip to content
Snippets Groups Projects
Commit 4e04f53d authored by Roang's avatar Roang
Browse files

Fix H026 djLint rule

No empty class or id attributes.
parent 8f974c64
Branches
Tags release/forms/4.3.4
No related merge requests found
Showing
with 16 additions and 17 deletions
......@@ -57,7 +57,7 @@
</dd>
</dl>
{% if room.next_event %}
<div class="">
<div>
<h3 class="py-1 text-white font-sans-serif h3 m-0 mb-2 bg-secondary text-dark text-center">{{ _("Upcoming") }}</h3>
<dl class="mb-0">
<dt class="grid-list__item grid-list__item--title">{{ _("Event") }}</dt>
......@@ -96,11 +96,11 @@
<div class="hub-event-overview border mb-3">
<h3 class="bg-secondary px-3 py-1 text-dark h3 m-0 text-center">{{ _("Room %(room)s", room=room.room.name) }}</h3>
<div class="hub-event-overview-body p-2">
<div class="">
<div>
<p>no running event</p>
</div>
{% if room.next_event %}
<div class="">
<div>
<h3 class="py-1 text-white font-sans-serif h3 m-0 mb-2 bg-secondary text-dark text-center">{{ _("Upcoming") }}</h3>
<dl class="mb-0">
<dt class="grid-list__item grid-list__item--title">{{ _("Event") }}</dt>
......
......@@ -202,7 +202,7 @@
<footer class="mt-auto d-flex p-2">
{% if event.track_name %}
<p class="">
<p>
<small class="d-block {{ "text-tertiary" if event.kind == "official" else "text-primary"}}">
{{ _("%(kind)s Event on Track", kind="Official" if event.kind == "official" else "") }}
</small>
......
......@@ -18,7 +18,7 @@
{% if not archive_mode %}
<form method="POST" id="login" class="hub-landing__form">
<!--<h1 class="text-center bg-secondary p-2 text-dark h3 m-0">{{ _("login") }}</h1>-->
<div class="">
<div>
<input type="hidden" name="next" value="{{ next }}">
{{ csrf_input }}
......
......@@ -13,7 +13,7 @@
<form method="POST" id="login-change" class="mw-664 hub-landing__form">
<!--<h1 class="text-center bg-secondary p-3 text-dark h3">{{ _("enter new password") }}</h1>-->
<div class="">
<div>
<input type="hidden" name="next" value="{{ next }}">
{{ csrf_input }}
{{ form_elements.password(form, 'new_password1') }}
......
......@@ -29,7 +29,7 @@
</div>
<form method="POST" class="hub-card">
<div class="">
<div>
<h2 class="hub-section-title">{{ _("custom preferences") }}</h2>
<div>
{{ csrf_input }}
......@@ -58,7 +58,7 @@
<div>
<h2 class="font-sans-serif m-1 m-0">{{ _("Manage Badges") }}</h2>
{% if amount_badges_not_accepted > 0 %}
<p class="">
<p>
{{ _("Pending badges") }}: <a class="a a-bold" href="{{ url('plainui:manage_badges') }}">{{ amount_badges_not_accepted }}</a>
</p>
{% endif %}
......
......@@ -13,7 +13,7 @@
<h1 class="text-center hub-landing__title">{{ _("reset password") }}</h1>
<form method="POST" id="login-reset" class="mw-664 hub-landing__form">
<div class="">
<div>
{% if retry %}
<ul class="list-unstyled text-left mb-2">
<li class="d-block text-danger">
......
......@@ -16,7 +16,7 @@
{% if not archive_mode %}
<form method="POST" id="registration" class="mw-664 hub-landing__form">
<div class="">
<div>
<input type="hidden" name="next" value="{{ next }}">
{{ csrf_input }}
......
......@@ -31,7 +31,7 @@
</head>
<body>
<article>
<img class="" src="403.svg" alt="403 - Forbidden" title="403 - Forbidden" />
<img src="403.svg" alt="403 - Forbidden" title="403 - Forbidden" />
</article>
</body>
</html>
......@@ -31,7 +31,7 @@
</head>
<body>
<article>
<img class="" src="404.svg" alt="404 Error" title="404 Error" />
<img src="404.svg" alt="404 Error" title="404 Error" />
</article>
</body>
</html>
......@@ -31,8 +31,7 @@
</head>
<body>
<article>
<img class=""
src="500.svg"
<img src="500.svg"
alt="500 - internal Server error"
title="500 - internal Server error" />
</article>
......
......@@ -33,7 +33,7 @@
<body>
<article>
<a href="{% hub_absolute "plainui:index" %}" class="row my-8">
<img class="" src="{% static "error_pages/403.svg" %}" alt="403 - Forbidden" title="403 - Forbidden" />
<img src="{% static "error_pages/403.svg" %}" alt="403 - Forbidden" title="403 - Forbidden" />
</a>
</article>
</body>
......
......@@ -33,7 +33,7 @@
<body>
<article>
<a href="{% hub_absolute "plainui:index" %}" class="row my-8">
<img class="" src="{% static "error_pages/404.svg" %}" alt="404 Error" title="404 Error" />
<img src="{% static "error_pages/404.svg" %}" alt="404 Error" title="404 Error" />
</a>
</article>
</body>
......
......@@ -33,7 +33,7 @@
<body>
<article>
<a href="{% hub_absolute "plainui:index" %}" class="row my-8">
<img class="" src="{% static "error_pages/500.svg" %}" alt="500 - internal Server error" title="500 - internal Server error" />
<img src="{% static "error_pages/500.svg" %}" alt="500 - internal Server error" title="500 - internal Server error" />
</a>
</article>
</body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment