Removed old PHP code, migrated to Python and Flask
Update .dockerignore, .env, and 503 more files...
This commit is contained in:
4
templates/elements/button.jinja
Normal file
4
templates/elements/button.jinja
Normal file
@@ -0,0 +1,4 @@
|
||||
<button class="p-mxs r-s border b-light t-nowrap {{ button_extra_classes }}"
|
||||
{% if button_disabled %}disabled{% endif %}>
|
||||
{{ button_inner_html }}
|
||||
</button>
|
39
templates/elements/heading.jinja
Normal file
39
templates/elements/heading.jinja
Normal file
@@ -0,0 +1,39 @@
|
||||
{% if heading_anchor_id is not none %}
|
||||
<a class="bland-link" href="#{{ heading_anchor_id }}">
|
||||
{% endif %}
|
||||
|
||||
<div class="heading-main p-xs border r-s
|
||||
{% if heading_level == 3 %}
|
||||
mt-l
|
||||
{% elif heading_level == 4 %}
|
||||
mt-m
|
||||
{% endif %}
|
||||
{{ heading_background_class }}">
|
||||
|
||||
<h{{ heading_level }} class="t-w-500
|
||||
{% if heading_level == 2 %}
|
||||
t-size-16
|
||||
{% else %}
|
||||
{% if heading_level == 3 %}
|
||||
t-size-12
|
||||
{% else %}
|
||||
t-size-10
|
||||
{% endif %}
|
||||
{% endif %}">
|
||||
|
||||
{% if heading_icon is not none %}
|
||||
<i class="{{ heading_icon }} t-muted"></i>
|
||||
{% endif %}
|
||||
|
||||
{{ heading_inner_html }}
|
||||
|
||||
{% if heading_right_html is not none %}
|
||||
<span class="ml-auto mobile-hide t-size-10 t-muted">{{ heading_right_html }}</span>
|
||||
{% endif %}
|
||||
|
||||
</h{{ heading_level }}>
|
||||
</div>
|
||||
|
||||
{% if heading_anchor_id is not none %}
|
||||
</a>
|
||||
{% endif %}
|
1
templates/elements/image.jinja
Normal file
1
templates/elements/image.jinja
Normal file
@@ -0,0 +1 @@
|
||||
<img src="" alt="">
|
3
templates/elements/paragraph.jinja
Normal file
3
templates/elements/paragraph.jinja
Normal file
@@ -0,0 +1,3 @@
|
||||
<p class="mt-xs mx-s">
|
||||
{{ paragraph_inner_html }}
|
||||
</p>
|
9
templates/elements/splide.jinja
Normal file
9
templates/elements/splide.jinja
Normal file
@@ -0,0 +1,9 @@
|
||||
<section class="splide border bkgd-math r-s">
|
||||
<div class="splide__track r-s">
|
||||
<ul class="splide__list">
|
||||
{% for inner_html_pane in splide_inner_html_panes %}
|
||||
<li class="splide__slide">{{ inner_html_pane }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
Reference in New Issue
Block a user