Skip to content

Commit

Permalink
Template für Gefahren hinzugefügt
Browse files Browse the repository at this point in the history
  • Loading branch information
Daugl committed Jul 9, 2024
1 parent 5c707ce commit 69fe1ce
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions templates/gefahr.j2t
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{% extends "templates/base.j2t" %}
{% if Akut is undefined %}
{% set Akut = False %}
{% endif %}
{% if Vermutet is undefined %}
{% set Vermutet = False %}
{% endif %}
{%- block symbol -%}
<path d="M50,64 L128,192 L206,64 Z" stroke-width="5" stroke="#FF0000" fill="none" />
{%- if Akut == True -%}
<text style="font-family: 'Roboto Slab'; font-weight: bold; text-anchor: middle; font-size: 56px;" fill="#FF0000" x="64" y="180">!</text>
{%- endif -%}
{%- if Vermutet == True -%}
<text style="font-family: 'Roboto Slab'; font-weight: bold; text-anchor: middle; font-size: 56px;" fill="#FF0000" x="64" y="180">?</text>
{%- endif -%}
{%- endblock symbol -%}

0 comments on commit 69fe1ce

Please sign in to comment.