From 6f85aed80cfefe5b40cbc2f3c2f5189c34ac9824 Mon Sep 17 00:00:00 2001 From: Klaudia Date: Fri, 15 Jan 2021 12:46:41 +0100 Subject: [PATCH] Stopka --- SocialHelper/homepage/templates/base.html | 3 +- SocialHelper/homepage/templates/footer.html | 61 +++++++++++++ .../homepage/templates/homepage/about.html | 21 +++++ .../templates/homepage/add_comment.html | 85 ----------------- .../templates/homepage/add_offer.html | 85 ----------------- .../homepage/templates/homepage/contact.html | 85 ----------------- .../templates/homepage/create_user.html | 85 ----------------- .../templates/homepage/edit_user.html | 85 ----------------- .../templates/homepage/edycja_ogloszenia.html | 85 ----------------- .../homepage/templates/homepage/index.html | 85 ----------------- .../homepage/templates/homepage/login.html | 84 ----------------- .../homepage/templates/homepage/my_offer.html | 85 ----------------- .../templates/homepage/offer_page.html | 85 ----------------- .../templates/homepage/regulamin.html | 91 +------------------ .../templates/homepage/user_profile.html | 85 ----------------- SocialHelper/homepage/urls.py | 1 + SocialHelper/homepage/views.py | 3 + 17 files changed, 91 insertions(+), 1023 deletions(-) create mode 100644 SocialHelper/homepage/templates/footer.html create mode 100644 SocialHelper/homepage/templates/homepage/about.html diff --git a/SocialHelper/homepage/templates/base.html b/SocialHelper/homepage/templates/base.html index e5a77fc..6694530 100644 --- a/SocialHelper/homepage/templates/base.html +++ b/SocialHelper/homepage/templates/base.html @@ -24,8 +24,9 @@ {% include 'navbar.html' %} - {% include 'alerts.html' %} + {% include 'alerts.html' %} {% block content %} {% endblock %} + {% include 'footer.html' %} diff --git a/SocialHelper/homepage/templates/footer.html b/SocialHelper/homepage/templates/footer.html new file mode 100644 index 0000000..818a674 --- /dev/null +++ b/SocialHelper/homepage/templates/footer.html @@ -0,0 +1,61 @@ +{% load static %} + + + diff --git a/SocialHelper/homepage/templates/homepage/about.html b/SocialHelper/homepage/templates/homepage/about.html new file mode 100644 index 0000000..b102ecb --- /dev/null +++ b/SocialHelper/homepage/templates/homepage/about.html @@ -0,0 +1,21 @@ +{% extends 'base.html' %} +{% load static %} +{% block content %} + + + + + +
+
+
+

O nas

+

Jesteśmy młodym, dynamicznym zespołem, który uwielbia owocowe czwartki!

+

Jeśli Ty także lubisz zjeść świeże jabłko w każdy czwartek, koniecznie wejdź w zakładkę kontakt!

+

Może akurat Ciebie szukamy?

+
+
+
+ + + {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/add_comment.html b/SocialHelper/homepage/templates/homepage/add_comment.html index 925e1a8..8a6fc2e 100644 --- a/SocialHelper/homepage/templates/homepage/add_comment.html +++ b/SocialHelper/homepage/templates/homepage/add_comment.html @@ -89,91 +89,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/add_offer.html b/SocialHelper/homepage/templates/homepage/add_offer.html index 1e4042e..c0e3f16 100644 --- a/SocialHelper/homepage/templates/homepage/add_offer.html +++ b/SocialHelper/homepage/templates/homepage/add_offer.html @@ -119,91 +119,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/contact.html b/SocialHelper/homepage/templates/homepage/contact.html index cbe63a9..0e294f7 100644 --- a/SocialHelper/homepage/templates/homepage/contact.html +++ b/SocialHelper/homepage/templates/homepage/contact.html @@ -63,91 +63,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/create_user.html b/SocialHelper/homepage/templates/homepage/create_user.html index c9c6e6f..368a57b 100644 --- a/SocialHelper/homepage/templates/homepage/create_user.html +++ b/SocialHelper/homepage/templates/homepage/create_user.html @@ -208,91 +208,6 @@ body {font-family: Arial, Helvetica, sans-serif;} - - - - -Copyright © All rights reserved | This template is made with by Colorlib. Downloaded from Themeslab - - - - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/edycja_ogloszenia.html b/SocialHelper/homepage/templates/homepage/edycja_ogloszenia.html index 634c0d3..cbc8901 100644 --- a/SocialHelper/homepage/templates/homepage/edycja_ogloszenia.html +++ b/SocialHelper/homepage/templates/homepage/edycja_ogloszenia.html @@ -135,91 +135,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/index.html b/SocialHelper/homepage/templates/homepage/index.html index 0e15589..60cb8fb 100644 --- a/SocialHelper/homepage/templates/homepage/index.html +++ b/SocialHelper/homepage/templates/homepage/index.html @@ -194,91 +194,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/login.html b/SocialHelper/homepage/templates/homepage/login.html index bb86be2..12773bc 100644 --- a/SocialHelper/homepage/templates/homepage/login.html +++ b/SocialHelper/homepage/templates/homepage/login.html @@ -71,90 +71,6 @@ - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/my_offer.html b/SocialHelper/homepage/templates/homepage/my_offer.html index 7f78cce..1ce85e2 100644 --- a/SocialHelper/homepage/templates/homepage/my_offer.html +++ b/SocialHelper/homepage/templates/homepage/my_offer.html @@ -100,91 +100,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/offer_page.html b/SocialHelper/homepage/templates/homepage/offer_page.html index d851af1..296670c 100644 --- a/SocialHelper/homepage/templates/homepage/offer_page.html +++ b/SocialHelper/homepage/templates/homepage/offer_page.html @@ -149,91 +149,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/regulamin.html b/SocialHelper/homepage/templates/homepage/regulamin.html index c898f11..3f26053 100644 --- a/SocialHelper/homepage/templates/homepage/regulamin.html +++ b/SocialHelper/homepage/templates/homepage/regulamin.html @@ -36,99 +36,14 @@
§2.6 Użytkownicy mogą aktywować konto premium podlegające cyklicznej opłacie miesięcznej wynoszącej 9.99 PLN obciążającej ich konto lub kartę debetową.

- + §3.1 Wszyscy Odwiedzający i Użytkownicy ponoszą pełną odpowiedzialność za przedmioty i usługi wystawione na witrynie SocialHelper w tym jego opis, prawidłowość innych przedstawionych szczegółów oraz komunikację z innymi użytkownikami, a także ogólnie transakcje zawierane z innymi użytkownikami i mogące z nich wyniknąć spory.

§4.1 SocialHelper posiada wszelkie prawa własności intelektualnej dotyczące witryny, jej systemu (katalogu, jego przenoszenia, itp.), projektu witryny i oprogramowania wykorzystywanego przez witrynę, w tym znaków towarowych i nazw domen.
- + - - - - - {% endblock %} \ No newline at end of file + {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/user_profile.html b/SocialHelper/homepage/templates/homepage/user_profile.html index 71598e1..86a7c2b 100644 --- a/SocialHelper/homepage/templates/homepage/user_profile.html +++ b/SocialHelper/homepage/templates/homepage/user_profile.html @@ -190,91 +190,6 @@ - - - - {% endblock %} diff --git a/SocialHelper/homepage/urls.py b/SocialHelper/homepage/urls.py index 148bcd4..075750c 100644 --- a/SocialHelper/homepage/urls.py +++ b/SocialHelper/homepage/urls.py @@ -16,6 +16,7 @@ urlpatterns = [ path('', views.index, name='index'), path('contact', views.contact, name='contact'), + path('about', views.about, name='about'), path('regulamin',views.regulamin, name='regulamin'), path('filter', views.filter, name='filter'), path('add_offer', views.add_offer, name='add_offer'), diff --git a/SocialHelper/homepage/views.py b/SocialHelper/homepage/views.py index aed1f3d..6fac099 100644 --- a/SocialHelper/homepage/views.py +++ b/SocialHelper/homepage/views.py @@ -85,6 +85,9 @@ def index_offer(request): def contact(request): return render(request , 'homepage/contact.html') +def about(request): + return render(request , 'homepage/about.html') + def regulamin(request): return render(request, 'homepage/regulamin.html')