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