Skip to content

Commit

Permalink
Gebäude der Feuerwehr auf Templates migriert
Browse files Browse the repository at this point in the history
  • Loading branch information
Daugl committed Sep 9, 2024
1 parent 875e133 commit de60fe5
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions symbols/Feuerwehr_Gebäude/Feuerwehrgerätehaus.j2
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewbox="0 0 256 256">
<title>Feuerwehrgerätehaus</title>
<defs>
<style type="text/css">
{% include './fonts/fonts.j2' %}
</style>
<clipPath id="symbol">
<path d="M10 64 L10 192 L246 192 L246 64 L128 16 L10 64 Z" />
</clipPath>
</defs>
<rect x="10" y="64" width="236" height="128" fill="{{ feuerwehr.colorPrimary }}" stroke="{{ feuerwehr.colorSecondary }}" stroke-width="10" clip-path="url(#symbol)" />
<path d="M10 64 L128 16 L246 64" stroke="{{ feuerwehr.colorSecondary }}" stroke-width="10" fill="{{ feuerwehr.colorPrimary }}" clip-path="url(#symbol)" />
<path d="M10 64 L10 192 L246 192 L246 64 L128 16 L10 64" stroke="{{ feuerwehr.colorStroke }}" stroke-width="1" fill="none" />
<text style="font-family: 'Roboto Slab'; font-weight: bold; text-anchor: middle; font-size: 80px;" fill="{{ feuerwehr.colorSecondary }}" x="128" y="155">Fw</text>
</svg>
{% extends "templates/base.j2t" %}
{%- block title -%}
Feuerwehrgerätehaus
{%- endblock title -%}
{%- block symbol -%}
{%- set Sign.Type = "Building" -%}
{%- set Sign.Organisation = "feuerwehr" -%}
{{ super() }}
<text style="font-family: 'Roboto Slab'; font-weight: bold; text-anchor: middle; font-size: 80px;" fill="{{ colorSecondary[Sign.Organisation] }}" x="128" y="155">Fw</text>
{%- endblock symbol -%}

0 comments on commit de60fe5

Please sign in to comment.