From b0cfd9d763b9e3ac7ab15697fbe750a2c3b3c0d9 Mon Sep 17 00:00:00 2001 From: Flo Ha Date: Sun, 12 Jun 2022 18:21:31 +0200 Subject: [PATCH] add and fill finance view --- gaehsnitz/static/gaehsnitz/style.css | 8 ++ gaehsnitz/templates/gaehsnitz/atoz.html | 90 ------------- gaehsnitz/templates/gaehsnitz/base.html | 2 + gaehsnitz/templates/gaehsnitz/finance.html | 144 +++++++++++++++++++++ gaehsnitz/urls.py | 3 +- gaehsnitz/views.py | 4 + 6 files changed, 160 insertions(+), 91 deletions(-) create mode 100644 gaehsnitz/templates/gaehsnitz/finance.html diff --git a/gaehsnitz/static/gaehsnitz/style.css b/gaehsnitz/static/gaehsnitz/style.css index f3852b9..513abb4 100644 --- a/gaehsnitz/static/gaehsnitz/style.css +++ b/gaehsnitz/static/gaehsnitz/style.css @@ -82,6 +82,14 @@ h2 { color: #EE9933; } +h3 { + margin-top: 16px; + margin-bottom: 8px; + font-size: 1.15rem; + font-weight: normal; + color: #EECC66; +} + p, ul { line-height: 1.4rem; margin-top: 6px; diff --git a/gaehsnitz/templates/gaehsnitz/atoz.html b/gaehsnitz/templates/gaehsnitz/atoz.html index 1be7235..39f86f8 100644 --- a/gaehsnitz/templates/gaehsnitz/atoz.html +++ b/gaehsnitz/templates/gaehsnitz/atoz.html @@ -34,94 +34,4 @@ aber Koordinaten sind eh cooler: 50.9070, 12.5465.

- -

Getränke

-

Wir haben hier mal mit der Erfahrung des letzten Jahres grob überschlagen:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KästenFl./K.Fl. ges.Preis/K.Preis ges.Pfand/K.Pfand ges.
Sterni25205008,- €200,- €3,10 €77,50 €
Uri152030011,- €165,- €3,10 €46,50 €
Radler102020011,- €110,- €3,10 €31,- €
Wasser10121206,- €60,- €3,10 €31,- €
Limo512608,- €40,- €3,10 €15,50 €
Mate4208014,- €56,- €4,50 €18,- €
Summe69-1260-631,- €-219,50 €
-

mehr dazu später ...

- - {% endblock %} diff --git a/gaehsnitz/templates/gaehsnitz/base.html b/gaehsnitz/templates/gaehsnitz/base.html index fd6cc56..65f4320 100644 --- a/gaehsnitz/templates/gaehsnitz/base.html +++ b/gaehsnitz/templates/gaehsnitz/base.html @@ -21,6 +21,8 @@ A-Z | Programm + | + Finanzen
diff --git a/gaehsnitz/templates/gaehsnitz/finance.html b/gaehsnitz/templates/gaehsnitz/finance.html new file mode 100644 index 0000000..14af602 --- /dev/null +++ b/gaehsnitz/templates/gaehsnitz/finance.html @@ -0,0 +1,144 @@ +{% extends "gaehsnitz/base.html" %} + +{% block content %} + +

+ Da eine offene Kommunikation irgendwie zu dem ganzen unkommerziellen DIY-Gedöhns dazugehört, findet ihr hier + ganz transparent eine Übersicht, von wo nach wo eigentlich wie viel Kohle geflossen ist. + Nur keine Klarnamen. ;) +

+ +

+ Nicht aufgelistet sind kurzfristige Dinge für die Vorbereitungsaktionen, also z.B. Suff und Sprit, den wir für + die Arbeitseinsätze gekauft und auch direkt vernichtet haben. Danke an dieser Stelle nochmal allen für die + jeweiligen Einkäufe und die unbezahlbare Arbeitskraft! +

+ +

aktueller Stand

+ +

Ausgaben

+ +

Summe: 10€

+ +

Einnahmen

+ +

Summe: 95€

+ +

Gesamt: +85€

+ +

Geplantes

+ +

Ausgaben

+ +

Summe: 920 - 1.770€

+ +

Einnahmen

+ + +

Getränke

+

Wir haben hier mal mit der Erfahrung des letzten Jahres grob überschlagen:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
KästenFl./K.Fl. ges.Preis/K.Preis ges.Pfand/K.Pfand ges.
Sterni25205008,- €200,- €3,10 €77,50 €
Uri152030011,- €165,- €3,10 €46,50 €
Radler102020011,- €110,- €3,10 €31,- €
Wasser10121206,- €60,- €3,10 €31,- €
Limo512608,- €40,- €3,10 €15,50 €
Mate4208014,- €56,- €4,50 €18,- €
Summe69-1260-631,- €-219,50 €
+ + + +{% endblock %} diff --git a/gaehsnitz/urls.py b/gaehsnitz/urls.py index 5daecd4..7cb636d 100644 --- a/gaehsnitz/urls.py +++ b/gaehsnitz/urls.py @@ -1,9 +1,10 @@ from django.urls import path -from gaehsnitz.views import NewsView, AToZView, ProgramView +from gaehsnitz.views import NewsView, AToZView, ProgramView, FinanceView urlpatterns = [ path("", NewsView.as_view(), name="news"), path("atoz", AToZView.as_view(), name="atoz"), path("program", ProgramView.as_view(), name="program"), + path("finance", FinanceView.as_view(), name="finance"), ] diff --git a/gaehsnitz/views.py b/gaehsnitz/views.py index 4a3dfae..e5e36d6 100644 --- a/gaehsnitz/views.py +++ b/gaehsnitz/views.py @@ -26,3 +26,7 @@ class AToZView(GaehsnitzTemplateView): class ProgramView(GaehsnitzTemplateView): template_name = "gaehsnitz/program.html" + + +class FinanceView(GaehsnitzTemplateView): + template_name = "gaehsnitz/finance.html"