|
|
|
@ -8,92 +8,88 @@
|
|
|
|
|
<link rel="stylesheet" href="{{url_for('static', filename='css/postit.css')}}" />
|
|
|
|
|
<link rel="stylesheet" href="{{url_for('static', filename='css/contents.css')}}" />
|
|
|
|
|
<script src="https://unpkg.com/pagedjs/dist/paged.polyfill.js"></script>
|
|
|
|
|
<script src="{{url_for('static', filename='js/bleed.js')}}" defer></script>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="container">
|
|
|
|
|
{% for content in contents %}
|
|
|
|
|
{% for content in contents %}
|
|
|
|
|
|
|
|
|
|
<div class="post-it {{content['slug']}} {% if content['card'] %} leader-card {%endif%}">
|
|
|
|
|
{%if content['img'] %}
|
|
|
|
|
<img
|
|
|
|
|
src="{{url_for('static', filename='contents/' + content['slug'] + '/' + content['img'] )}}"
|
|
|
|
|
alt="{{content['description']}}"
|
|
|
|
|
/>
|
|
|
|
|
<figcaption>{{content['description']}}</figcaption>
|
|
|
|
|
{%elif content['card']%}
|
|
|
|
|
<div class="post-it {{content['slug']}} {% if content['card'] %} leader-card {%endif%}">
|
|
|
|
|
{%if content['img'] %}
|
|
|
|
|
<img
|
|
|
|
|
src="{{url_for('static', filename='contents/' + content['slug'] + '/' + content['img'] )}}"
|
|
|
|
|
alt="{{content['description']}}"
|
|
|
|
|
data-image="{{url_for('static', filename='contents/' + content['slug'] + '/' + content['img'] )}}"
|
|
|
|
|
/>
|
|
|
|
|
<figcaption>{{content['description']}}</figcaption>
|
|
|
|
|
{%elif content['card']%}
|
|
|
|
|
|
|
|
|
|
<div class="card">{{content['card']}}</div>
|
|
|
|
|
<div class="quote">{{content['quote']}}</div>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>Motivation</dt>
|
|
|
|
|
<dd>{{content['motivation']}}</dd>
|
|
|
|
|
<div class="card">{{content['card']}}</div>
|
|
|
|
|
<div class="quote">{{content['quote']}}</div>
|
|
|
|
|
<dl>
|
|
|
|
|
<dt>Motivation</dt>
|
|
|
|
|
<dd>{{content['motivation']}}</dd>
|
|
|
|
|
|
|
|
|
|
<dt>Empathy</dt>
|
|
|
|
|
<dd>{{content['empathy']}}</dd>
|
|
|
|
|
<dt>Empathy</dt>
|
|
|
|
|
<dd>{{content['empathy']}}</dd>
|
|
|
|
|
|
|
|
|
|
<dt>Vision</dt>
|
|
|
|
|
<dd>{{content['vision']}}</dd>
|
|
|
|
|
<dt>Vision</dt>
|
|
|
|
|
<dd>{{content['vision']}}</dd>
|
|
|
|
|
|
|
|
|
|
<dt>Positivity</dt>
|
|
|
|
|
<dd>{{content['positivity']}}</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
<dt>Positivity</dt>
|
|
|
|
|
<dd>{{content['positivity']}}</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
{%elif content['definition']%}
|
|
|
|
|
{%elif content['definition']%}
|
|
|
|
|
|
|
|
|
|
<div class="category">{{content['start']}} {{content['category']}}</div>
|
|
|
|
|
<div class="category">{{content['start']}} {{content['category']}}</div>
|
|
|
|
|
|
|
|
|
|
<p
|
|
|
|
|
class="description {% if content['definition']|length > 200 %} long-text {%endif%}"
|
|
|
|
|
>
|
|
|
|
|
{{content['definition']}}
|
|
|
|
|
</p>
|
|
|
|
|
<p class="description {% if content['definition']|length > 200 %} long-text {%endif%}">
|
|
|
|
|
{{content['definition']}}
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
<h2 class="title">{{content['title']}}</h2>
|
|
|
|
|
<span
|
|
|
|
|
class="progress-bar"
|
|
|
|
|
style="width: {{ 100 / contents|length * loop.index}}%"
|
|
|
|
|
></span>
|
|
|
|
|
</footer>
|
|
|
|
|
<footer>
|
|
|
|
|
<h2 class="title">{{content['title']}}</h2>
|
|
|
|
|
<span
|
|
|
|
|
class="progress-bar"
|
|
|
|
|
style="width: {{ 100 / contents|length * loop.index}}%"
|
|
|
|
|
></span>
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
{%elif content['type'] == 'mimic-colophon'%}
|
|
|
|
|
{%elif content['type'] == 'mimic-colophon'%}
|
|
|
|
|
|
|
|
|
|
<div class="description">
|
|
|
|
|
<div class="colophon">{{content['original']}}</div>
|
|
|
|
|
<div>{{content['original-credits']}}</div>
|
|
|
|
|
<div class="action">{{content['original-action']}}</div>
|
|
|
|
|
<div>{{content['original-date']}}</div>
|
|
|
|
|
<br />
|
|
|
|
|
<div class="colophon">{{content['current']}}</div>
|
|
|
|
|
<div>{{content['current-credits']}}</div>
|
|
|
|
|
<code>{{content['current-action']}}</code>
|
|
|
|
|
<div>{{content['current-date']}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<footer>
|
|
|
|
|
<h2 class="title">{{content['title']}}</h2>
|
|
|
|
|
<span
|
|
|
|
|
class="progress-bar"
|
|
|
|
|
style="width: {{ 100 / contents|length * loop.index}}%"
|
|
|
|
|
></span>
|
|
|
|
|
</footer>
|
|
|
|
|
{%else%}
|
|
|
|
|
<div class="description">
|
|
|
|
|
<div class="colophon">{{content['original']}}</div>
|
|
|
|
|
<div>{{content['original-credits']}}</div>
|
|
|
|
|
<div class="action">{{content['original-action']}}</div>
|
|
|
|
|
<div>{{content['original-date']}}</div>
|
|
|
|
|
<br />
|
|
|
|
|
<div class="colophon">{{content['current']}}</div>
|
|
|
|
|
<div>{{content['current-credits']}}</div>
|
|
|
|
|
<code>{{content['current-action']}}</code>
|
|
|
|
|
<div>{{content['current-date']}}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<footer>
|
|
|
|
|
<h2 class="title">{{content['title']}}</h2>
|
|
|
|
|
<span
|
|
|
|
|
class="progress-bar"
|
|
|
|
|
style="width: {{ 100 / contents|length * loop.index}}%"
|
|
|
|
|
></span>
|
|
|
|
|
</footer>
|
|
|
|
|
{%else%}
|
|
|
|
|
|
|
|
|
|
<p
|
|
|
|
|
class="description {% if content['description']|length > 200 %} long-text {%endif%}"
|
|
|
|
|
>
|
|
|
|
|
{{content['description']}}
|
|
|
|
|
</p>
|
|
|
|
|
<p class="description {% if content['description']|length > 200 %} long-text {%endif%}">
|
|
|
|
|
{{content['description']}}
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
<footer>
|
|
|
|
|
<h2 class="title">{{content['title']}}</h2>
|
|
|
|
|
<span
|
|
|
|
|
class="progress-bar"
|
|
|
|
|
style="width: {{ 100 / contents|length * loop.index}}%"
|
|
|
|
|
></span>
|
|
|
|
|
</footer>
|
|
|
|
|
{%endif%}
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
<footer>
|
|
|
|
|
<h2 class="title">{{content['title']}}</h2>
|
|
|
|
|
<span
|
|
|
|
|
class="progress-bar"
|
|
|
|
|
style="width: {{ 100 / contents|length * loop.index}}%"
|
|
|
|
|
></span>
|
|
|
|
|
</footer>
|
|
|
|
|
{%endif%}
|
|
|
|
|
</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|