Compare commits

..

3 Commits

Author SHA1 Message Date
3b8c949e89 chore: Nicht genutztes Model und zugehöriges Template entfernt.
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-21 11:41:26 +02:00
173f18197e fix: Typo. 2023-05-21 11:28:21 +02:00
de56198f2a chore: Nicht genutzte Flow-Blocks entfernt. 2023-05-21 11:19:42 +02:00
15 changed files with 1 additions and 277 deletions

View File

@ -1,33 +0,0 @@
[block]
name = Flow Boxes Section
button_label = Flow Boxes Section
label = {{ this.title }}
[fields.title]
label = Titel
type = string
[fields.background_box_title]
label = Titel Background Box
type = string
width = 1/3
[fields.background_box_claim]
label = Claim Background Box
type = markdown
width = 2/3
[fields.claim__background_link]
label = Claim Background Addresse
type = string
width = 1/2
[fields.claim__background_url]
label = Claim Background URL
type = string
width = 1/2
[fields.claim_boxes]
label = Small Box
type = flow
flow_blocks = flow_claim_boxes

View File

@ -1,30 +0,0 @@
[block]
name = One Box Section
button_label = One Box Section
label = {{ this.title }}
[fields.title]
label = Titel
type = string
width = 1/2
[fields.box_image]
label = Box Image
description = Upload a Image to select it here
type = select
source = record.attachments.images
width = 1/2
[fields.box_content]
label = Box Content
type = markdown
[fields.box_link]
label = Link Text
type = string
width = 1/2
[fields.box_url]
label = Link Adresse
type = string
width = 1/2

View File

@ -1,3 +0,0 @@
[block]
name = Seperator
button_label = Seperator

View File

@ -1,28 +0,0 @@
[block]
name = Social Media Link
button_label = Social Media Link
label = {{ this.title }}
[fields.sm_what]
label = Einleitung
description = Folge uns auf ...
type = string
width = 1/2
[fields.title]
label = Link Titel
description = ... zB. Mastodon
type = string
width = 1/2
[fields.sm_link]
label = Social Media Link
description = example.com/@wtf
type = url
width = 1/2
[fields.sm_image]
label = Social Media Icon
description = /images/mastodon_logo.svg
type = string
width = 1/2

View File

@ -1,12 +0,0 @@
[block]
name = Flow Text Section
button_label = Flow Text Section
label = {{ this.title }}
[fields.title]
label = Title
type = string
[fields.body]
label = Body
type = markdown

View File

@ -1,9 +0,0 @@
[block]
name = Flow Three Box Section
button_label = Flow Three Box Section
label = Three Box Section
[fields.inner_box]
label = One Box
type = flow
flow_blocks = flow_one_innerbox_section

View File

@ -1,4 +0,0 @@
[model]
name = Contact Page
label = {{ this.title }}
inherits = page

View File

@ -32,7 +32,7 @@
{#
Ist ein wenige hässlich, aber ich habe keine Möglichkeit gefunden ohne Schleife
auf eine Episode zuzugreifen. Ziel war abwechseln einen Blogpost und eine Episode
auf eine Episode zuzugreifen. Ziel war abwechselnd einen Blogpost und eine Episode
des Podcasts zu rendern.
#}
{% set episodes = site.get('/podcast').children.order_by('-pub_date').offset(loop.index - 1).limit(1) %}

View File

@ -1,29 +0,0 @@
<!-- Icon boxes - start -->
<section class="content">
<div class="content__box">
<div class="content__inner_box -card_box_head">
<div class="flex_heading">
<h2>{{ this.title }}</h2>
</div>
<div class="claim">
<div class="claim__background_box">
<h2>{{ this.background_box_title }}</h2>
<div class="claim__text">
{{ this.background_box_claim }}
</div>
</div>
<button class="claim__button"><a class="claim__button_link" href="{{ this.claim__background_url }}">{{ this.claim__background_link }}</a></button>
</div>
</div>
</div>
<div class="content__box -card_box -homepage">
<div class="content__inner_box -card_box">
{% for card in this.claim_boxes.blocks %}
{{ card }}
{% endfor %}
</div>
</div>
</section>
<!-- Icon boxes - end -->

View File

@ -1,15 +0,0 @@
<div class="content__inner_third_box">
<h2 class="content__inner_third_heading">{{ this.title }}</h2>
{% if this.box_image is defined and this.box_image != '' %}
{% set image = record.attachments.images.get(this.box_image) %}
<img class="content__inner_third_image" class="content__half_box_image" src="{{ image|url }}" width="{{ image.width / 2 }}" alt="Startendes Space Shuttle" srcset="{{ image.thumbnail(image.width / 2)|url }} 1x, {{ image|url }} 2x">
{% endif %}
{{ this.box_content }}
<div class="content__button_box">
<button class="content__button">
<a class="content__inner_third_button_link" href="{{ this.box_url }}">{{ this.box_link }}</a>
</button>
</div>
</div>

View File

@ -1 +0,0 @@
<hr class="body__separator" noshade="" size="1">

View File

@ -1,5 +0,0 @@
<p>{{ this.sm_what }}{{ ' ' }}
{%- if this.title is defined and this.title != '' -%}
<a href="{{ this.sm_link }}">{{ this.title }}</a>
{%- endif -%}
&emsp;<a href="{{ this.sm_link }}"><img class="content__inline_image" src="{{ this.sm_image }}" alt="{{ this.title }} Logo" height="16px"></a></p>

View File

@ -1,5 +0,0 @@
<div class="content__box -columns">
<div class="content__inner_box">
{{ this.body }}
</div>
</div>

View File

@ -1,46 +0,0 @@
<!-- 1/3 Layout - start -->
<section class="content">
<div class="content__third_box">
{% for inner in this.inner_box.blocks %}
{{ inner }}
{% endfor %}
{#
<div class="content__inner_third_box">
<h2 class="content__inner_third_heading">
Zusammen Arbyten, die eigene Idee fliegen sehen.
</h2>
{% if this.attachments.images %}
{% for image in this.attachments.images %}
<img class="content__inner_third_image" src="{{ image|url }}" width="{{ image.width / 2 }}" alt="Startendes Space Shuttle" srcset="{{ image.thumbnail(image.width / 2)|url }} 1x, {{ image|url }} 2x">
{% endfor %}
{% endif %}
<p>Wir verstehen uns als Plattform for Hackende, auf der sich mit Gleichgesinnten wirtschaftliche Projekte möglich werden, die es anders nicht gäbe. Wir fördern und bewirtschaften im Kollektiv als Genossenschaft die Leistungen unserer Mitglieder.
</p>
<div class="content__button_box">
<button class="content__button">
<a class="content__inner_third_button_link" href="#">Projekte</a>
</button>
</div>
</div>
<div class="content__inner_third_box">
<h2 class="content__inner_third_heading">
Genossenschafts&shy;anteile sind eine Anlage, kein Geschenk.
</h2>
{% if this.attachments.images %}
{% for image in this.attachments.images %}
<img class="content__inner_third_image" src="{{ image|url }}" width="{{ image.width / 2 }}" alt="Startendes Space Shuttle" srcset="{{ image.thumbnail(image.width / 2)|url }} 1x, {{ image|url }} 2x">
{% endfor %}
{% endif %}
<p>Wir bieten useren Mitgliedern nicht nur ein gutes Netzwerk, sondern auch eine sichere Anlagemöglichkeit. Hier kannst Du Dich über die Anlagekriterien informieren.
</p>
<div class="content__button_box">
<button class="content__button">
<a class="content__inner_third_button_link" href="#">Kapitalanlage</a>
</button>
</div>
</div>
#}
</div>
</section>
<!-- 1/3 Layout - end -->

View File

@ -1,56 +0,0 @@
{% extends "header_slim.html" %}
{%- block title -%}{{ this.title }}{%- endblock -%}
{%- block meta_description -%}
{%- if this.meta_description is defined and this.meta_description != "" -%}
{{ this.meta_description }}
{%- else -%}
Werkkooperative der Technikfreundinnen eG
{%- endif -%}
{%- endblock -%}
{% block body %}
<div class="content__box">
<div class="content__inner_box">
<h1>{{ this.title }}</h1>
</div>
</div>
<section class="content -odd">
<div class="content__box">
<div class="content__inner_box -width_constraint">
{{ this.body }}
</div>
<div class="content__inner_box -width_constraint content__contact_form_wrapper" style="display:none">
<h2>Kontaktformular</h2>
<form id="contact_form" class="content__contact_form">
<p class="contact_form__note">
Deine E-Mail-Adresse wird nicht veröffentlicht.<br>
<span aria-hidden="true">Erforderliche Felder sind gekennzeichnet <span class="contact_form--required" aria-hidden="true">*</span></span>
</p>
<p class="contact_form__text_input">
<label for="name">Betreff <span class="contact_form--required" aria-hidden="true">*</span></label>
<input id="name" class="contact_form__subject" name="subject" type="text" value="" size="30" maxlength="245" required />
</p>
<p class="contact_form__textarea">
<label for="message">Nachricht <span class="contact_form--required" aria-hidden="true">*</span></label>
<textarea id="message" class="contact_form__message" aria-label="message" aria-hidden="true" cols="65" rows="7" name="message" required></textarea>
</p>
<p class="contact_form__text_input">
<label for="name">Name <span class="contact_form--required" aria-hidden="true">*</span></label>
<input id="name" class="contact_form__name" name="name" type="text" value="" size="30" maxlength="245" required />
</p>
<p class="contact_form__text_input">
<label for="email">E-Mail-Adresse <span class="contact_form--required" aria-hidden="true">*</span></label>
<input id="email" class="contact_form__email" name="email" type="email" value="" size="30" maxlength="100" aria-describedby="email-address" required />
</p>
<p class="contact_form__captcha">
<label for="captcha">Captcha <span class="contact_form--required" aria-hidden="true">*</span></label>
<input id="captcha" class="contact_form__captcha" name="captcha" type="captcha" value="…" size="30" maxlength="100" required placeholder="Wie viele Ecken hat ein Pentagramm?"/>
</p>
<p class="contact_form__submit">
<input name="submit" type="submit" id="submit" class="contact_form__submit_button" value="Kommentar abschicken" />
<p class="contact_form__feedback"></p>
</p>
</form>
</div>
</div>
</section>
{% endblock %}