Apply new djlint version

This commit is contained in:
Adam Goldsmith 2022-09-03 00:25:39 -04:00
parent 260ae2451c
commit 1127978e10
8 changed files with 13 additions and 33 deletions

View File

@ -1,6 +1,4 @@
<p>
The following Claremont MakerSpace Member Certifications have been issued:
</p>
<p>The following Claremont MakerSpace Member Certifications have been issued:</p>
<table border="1">
<tr>
<th>Certification</th>

View File

@ -1,9 +1,7 @@
<p>
Dear <b>{{ member.first_name }}</b>:
</p>
<p>
You have been issued the following Claremont MakerSpace Member Certifications:
</p>
<p>You have been issued the following Claremont MakerSpace Member Certifications:</p>
<table border="1">
<tr>
<th>Certification</th>

View File

@ -1,9 +1,7 @@
{% extends "base.dj.html" %}
{% block content %}
<p>
You have been issued the following Claremont MakerSpace Member Certifications:
</p>
<p>You have been issued the following Claremont MakerSpace Member Certifications:</p>
<div class="table-responsive">
<table class="table table-bordered table-striped table-hover" border="1">
<thead>

View File

@ -103,11 +103,7 @@
</div>
{% endif %}
{{ field.errors }}
{% if field.help_text %}
<p class="form-text">
{{ field.help_text|safe }}
</p>
{% endif %}
{% if field.help_text %}<p class="form-text">{{ field.help_text|safe }}</p>{% endif %}
</div>
{% endfor %}
</fieldset>

View File

@ -6,9 +6,7 @@
{% for tool in tools %}
{% include "./components/tool_li.dj.html" with tool=tool %}
{% empty %}
<p>
No tools are available.
</p>
<p>No tools are available.</p>
{% endfor %}
</ul>
<h1>Tasks</h1>
@ -16,9 +14,7 @@
{% for task in tasks %}
{% include "./components/task_li.dj.html" with task=task %}
{% empty %}
<p>
No tasks are available.
</p>
<p>No tasks are available.</p>
{% endfor %}
</ul>
{% endblock %}

View File

@ -58,9 +58,7 @@
<ul>
{% for rule in task.recurrence.rrules %}<li>{{ rule.to_text }}</li>{% endfor %}
</ul>
<p>
Next scheduled time: {{ task.next_recurrence|date|default:"never" }}
</p>
<p>Next scheduled time: {{ task.next_recurrence|date|default:"never" }}</p>
{% if task.is_overdue %}<div class="alert alert-danger">Task is overdue!</div>{% endif %}
</section>
<section>
@ -122,7 +120,9 @@
<tr>
<td class="text-nowrap">{{ event.date }}</td>
<td>{{ event.user }}</td>
<td>{{ event.notes_html|safe }}</td>
<td>
{{ event.notes_html|safe }}
</td>
</tr>
{% endfor %}
</tbody>

View File

@ -5,9 +5,7 @@
{% block title %}Login{% endblock %}
{% block content %}
{% if form.errors %}
<p class="alert alert-danger">
Your username and password didn't match. Please try again.
</p>
<p class="alert alert-danger">Your username and password didn't match. Please try again.</p>
{% endif %}
{% if next %}
{% if user.is_authenticated %}
@ -16,9 +14,7 @@
please login with an account that has access.
</p>
{% else %}
<p class="alert alert-info">
Please login to see this page.
</p>
<p class="alert alert-info">Please login to see this page.</p>
{% endif %}
{% endif %}
<form class="d-flex flex-column align-items-center"

View File

@ -3,9 +3,7 @@
{% block title %}Logout{% endblock %}
{% block content %}
<div class="d-flex flex-column align-items-center p-4">
<p>
Logged out!
</p>
<p>Logged out!</p>
<a href="{% url 'login' %}">Click here to login again.</a>
</div>
{% endblock %}