diff --git a/roofis2/roomservice/urls.py b/roofis2/roomservice/urls.py index 7901aef..e0c9a75 100644 --- a/roofis2/roomservice/urls.py +++ b/roofis2/roomservice/urls.py @@ -4,4 +4,6 @@ from . import views app_name = 'roomservice' urlpatterns = [ path('', views.home, name='home'), + path('admin', views.admin, name='admin'), + path('booking', views.booking, name='booking'), ] diff --git a/roofis2/roomservice/views.py b/roofis2/roomservice/views.py index 9c07692..2b44417 100644 --- a/roofis2/roomservice/views.py +++ b/roofis2/roomservice/views.py @@ -3,4 +3,13 @@ from django.shortcuts import render # Create your views here. def home(request): - return render(request, 'base.jinja', {"title":"roofis is love roofis is live"}) + return render(request, 'search.jinja', {"title":"rooF(i)S is love rooF(i)S is live!!"}) + + +def booking(request): + return render(request, 'booking.jinja', {"title": "rooF(i)S is love rooF(i)S is live!!"}) + + +def admin(request): + return render(request, 'admin.jinja', {"title": "rooF(i)S is love rooF(i)S is live!!"}) + diff --git a/roofis2/templates/admin.jinja b/roofis2/templates/admin.jinja new file mode 100644 index 0000000..03c1a38 --- /dev/null +++ b/roofis2/templates/admin.jinja @@ -0,0 +1,10 @@ +{% extends 'base.jinja' %} +{% block content %} +

Ressourcenpool Bamberg

+

Impressum

+

Anbieter:
Max Mustermann
Musterstraße 1
96049 Bamberg

+

Kontakt:
Telefon: 0951/12345678
Telefax: 0951/1234567
E-Mail: mail@mustermann.de
Website: www.mustermann.de

+

 

+

Bei redaktionellen Inhalten:

+

Verantwortlich nach § 55 Abs.2 RStV
Moritz Schreiberling
Musterstraße 2
96049 Bamberg

+{% endblock %} \ No newline at end of file diff --git a/roofis2/templates/base.jinja b/roofis2/templates/base.jinja index d2f0d1c..21c1728 100644 --- a/roofis2/templates/base.jinja +++ b/roofis2/templates/base.jinja @@ -18,7 +18,6 @@ -{{ nav.main_nav() }}

@@ -26,6 +25,7 @@

+{{ nav.main_nav() }}
{% block content %}{% endblock %}
diff --git a/roofis2/templates/booking.jinja b/roofis2/templates/booking.jinja new file mode 100644 index 0000000..03c1a38 --- /dev/null +++ b/roofis2/templates/booking.jinja @@ -0,0 +1,10 @@ +{% extends 'base.jinja' %} +{% block content %} +

Ressourcenpool Bamberg

+

Impressum

+

Anbieter:
Max Mustermann
Musterstraße 1
96049 Bamberg

+

Kontakt:
Telefon: 0951/12345678
Telefax: 0951/1234567
E-Mail: mail@mustermann.de
Website: www.mustermann.de

+

 

+

Bei redaktionellen Inhalten:

+

Verantwortlich nach § 55 Abs.2 RStV
Moritz Schreiberling
Musterstraße 2
96049 Bamberg

+{% endblock %} \ No newline at end of file diff --git a/roofis2/templates/nav_macro.jinja b/roofis2/templates/nav_macro.jinja index 7cb7718..e64dcc4 100644 --- a/roofis2/templates/nav_macro.jinja +++ b/roofis2/templates/nav_macro.jinja @@ -1,10 +1,5 @@ {% macro main_nav() -%} {% endmacro %} \ No newline at end of file diff --git a/roofis2/templates/search.jinja b/roofis2/templates/search.jinja new file mode 100644 index 0000000..6ca45ea --- /dev/null +++ b/roofis2/templates/search.jinja @@ -0,0 +1,10 @@ +{% extends "base.jinja" %} +{% block content %} +
+ + +
+{% endblock %} + + +