Allow empty lines in templates
This commit is contained in:
parent
60b8510961
commit
0eab482893
@ -3,6 +3,7 @@
|
||||
{% load render_table from django_tables2 %}
|
||||
|
||||
{% block title %}{{ selected_report }} | Door Controls | CMS{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="vstack align-items-center">
|
||||
<ul class="nav nav-tabs">
|
||||
@ -13,6 +14,7 @@
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<form method="get" class="container-fluid">
|
||||
<div class="row g-2 align-items-center justify-content-center">
|
||||
<div class="col-auto">
|
||||
@ -35,6 +37,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-sm-auto">
|
||||
<div class="form-floating">
|
||||
<input type="number"
|
||||
@ -49,13 +52,16 @@
|
||||
<label for="itemsPerPage">Items Per Page</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="btn-group col-auto" role="group" aria-label="Form Controls">
|
||||
<button type="submit" class="btn btn-sm btn-primary">Submit</button>
|
||||
<a href="?" class="btn btn-sm btn-warning">Reset</a>
|
||||
</div>
|
||||
|
||||
<div class="col-auto">{% include "cmsmanage/components/download_table.dj.html" %}</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
{% render_table table %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -14,7 +14,9 @@
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% include "cmsmanage/components/download_table.dj.html" %}
|
||||
|
||||
{% render_table table %}
|
||||
|
||||
<nav aria-label="Page navigation">
|
||||
<ul class="pagination justify-content-center">
|
||||
{% if previous_month %}
|
||||
|
@ -11,7 +11,9 @@
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% include "cmsmanage/components/download_table.dj.html" %}
|
||||
|
||||
{% render_table table %}
|
||||
|
||||
<nav aria-label="Page navigation">
|
||||
<ul class="pagination justify-content-center">
|
||||
{% if previous_year %}
|
||||
|
@ -15,6 +15,7 @@
|
||||
class="wp-image-2319" />
|
||||
</figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>Greetings Upper Valley Makers:</p>
|
||||
<!-- /wp:paragraph -->
|
||||
@ -41,6 +42,7 @@
|
||||
<strong>Tours:</strong> Want to see what the Claremont MakerSpace is all about? Tours are by appointment only.
|
||||
</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p>
|
||||
<a data-wpel-link="external"
|
||||
@ -49,6 +51,7 @@
|
||||
rel="noreferrer noopener external">Contact Us</a> to schedule your tour where you can learn about all the awesome tools that the CMS offers access to, as well as how membership, classes, and studio spaces work.
|
||||
</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
||||
<!-- wp:separator {"className":"is-style-wide"} -->
|
||||
<hr class="wp-block-separator has-alpha-channel-opacity is-style-wide" />
|
||||
<!-- /wp:separator -->
|
||||
@ -62,6 +65,7 @@
|
||||
<i>{{ section.blurb }}</i>
|
||||
</h4>
|
||||
<!-- /wp:heading -->
|
||||
|
||||
{% for event in section.events %}
|
||||
{% with url="https://claremontmakerspace.org/events/#!event/register/"|add:event.url %}
|
||||
<!-- wp:group {"tagName":"section","layout":{"type":"constrained"}} -->
|
||||
@ -109,6 +113,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<!-- wp:paragraph -->
|
||||
<p style="clear: both;">Happy Makin’!</p>
|
||||
<!-- /wp:paragraph -->
|
||||
|
@ -68,6 +68,7 @@ profile="django"
|
||||
extension = ".dj.html"
|
||||
indent = 2
|
||||
blank_line_after_tag = "load,extends"
|
||||
max_blank_lines = 1
|
||||
ignore = "T003,H017,H021,H030,H031"
|
||||
format_css = true
|
||||
format_js = true
|
||||
|
Loading…
Reference in New Issue
Block a user