style: Reindent and reformat
This commit is contained in:
parent
07f51e80a2
commit
c98ebb44ca
6 changed files with 101 additions and 99 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
<!-- gates.macro -->
|
|
||||||
{% macro list(name, url, image, links) %}
|
{% macro list(name, url, image, links) %}
|
||||||
<article class="portal__entry">
|
<article class="portal__entry">
|
||||||
<section>
|
<section>
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,22 @@
|
||||||
{% macro email(class='', text='name@domain.tld') %}
|
{% macro email(class = '', text = 'name@domain.tld') %}
|
||||||
<a class="{{ class }}" href="">{{ text }}</a>
|
<a class="{{ class }}" href="">{{ text }}</a>
|
||||||
{# {{ 'name@domain.tld' | urlize | safe }} #}
|
{# {{ 'name@domain.tld' | urlize | safe }} #}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% macro link(class='', text='domain.tld', href='http://domain.internal') %}
|
|
||||||
<a class="{{ class }}" href="{{ href }}">{{ text }}</a>
|
{% macro link(class = '', text = 'domain.tld', href = 'http://domain.internal') %}
|
||||||
|
<a class="{{ class }}" href="{{ href }}">{{ text }}</a>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% macro name(class='', text='Vorname Nachname') %}
|
|
||||||
<span class="{{ class }}">{{ text }}</span>
|
{% macro name(class = '', text = 'Vorname Nachname') %}
|
||||||
|
<span class="{{ class }}">{{ text }}</span>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% macro address(class='', text='Straße Nr., PLZ Ort') %}
|
|
||||||
<span class="{{ class }}">{{ text }}</span>
|
{% macro address(class = '', text = 'Straße Nr., PLZ Ort') %}
|
||||||
|
<span class="{{ class }}">{{ text }}</span>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% macro brand(class='', name='Marke') %}
|
|
||||||
<div class="{{ class }}">
|
{% macro brand(class = '', name = 'Marke') %}
|
||||||
|
<div class="{{ class }}">
|
||||||
{# <img src="" alt="Brand logo"> #}
|
{# <img src="" alt="Brand logo"> #}
|
||||||
<svg
|
<svg
|
||||||
width="128"
|
width="128"
|
||||||
|
|
@ -27,17 +31,17 @@
|
||||||
width="126"
|
width="126"
|
||||||
height="126"
|
height="126"
|
||||||
x="1"
|
x="1"
|
||||||
y="1" />
|
y="1"/>
|
||||||
<circle
|
<circle
|
||||||
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none"
|
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none"
|
||||||
cx="64"
|
cx="64"
|
||||||
cy="64"
|
cy="64"
|
||||||
r="63" />
|
r="63"/>
|
||||||
<path
|
<path
|
||||||
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none"
|
style="fill:none;stroke:#ffffff;stroke-width:2;stroke-linecap:round;stroke-linejoin:bevel;stroke-dasharray:none"
|
||||||
d="m 9.3926879,32.472455 109.2146221,-2e-6 -54.607309,94.582637 z" />
|
d="m 9.3926879,32.472455 109.2146221,-2e-6 -54.607309,94.582637 z"/>
|
||||||
</g>
|
</g>
|
||||||
</svg>
|
</svg>
|
||||||
<h1>{{ name }}</h1>
|
<h1>{{ name }}</h1>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
<!-- states.macro -->
|
{% macro coord(id, text = 'X: #, Y: ##') %}
|
||||||
{% macro coord(id, text='X: #, Y: ##') %}
|
|
||||||
<span id="{{ id }}">{{ text }}</span>
|
<span id="{{ id }}">{{ text }}</span>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% macro time(id, text='00:00:00', postfix=' Uhr') %}
|
{% macro time(id, text = '00:00:00', postfix = ' Uhr') %}
|
||||||
<span id="{{ id }}">{{ text }}</span><span>{{ postfix }}</span>
|
<span id="{{ id }}">{{ text }}</span><span>{{ postfix }}</span>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% macro date() %}
|
{% macro date() %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue