dodanie podstrony kontakt

This commit is contained in:
Alicja Kupczyk 2020-12-13 20:47:01 +01:00
parent e0bbcad689
commit 9068434d08
16 changed files with 113 additions and 1 deletions

View File

@ -0,0 +1,107 @@
{% extends 'base.html' %}
{% load static %}
{% block content %}
<!DOCTYPE html>
<html lang="en">
<body>
<section class="contact_area p_100">
<div class="container">
<h2>Skontaktuj się z nami</h2>
<p>Potrzebujesz wsparcia? Prosimy o kontakt telefoniczny, mailowy lub skorzystanie z formularza kontaktowego poniżej</p>
<p>ul. Uniwersytetu Poznańskiego 4,<br />61-614 Poznań</p>
<a href="tel:+1109171234567">+48 - 600 - 600 - 600</a>
<a href="mailto:kontakt@socialhelper.com">kontakt@socialhelper.com<a></a>
</div>
</section>
<!--================Footer Area =================-->
<footer class="footer_area">
<div class="container">
<div class="footer_widgets">
<div class="row">
<div class="col-lg-4 col-md-4 col-6">
<aside class="f_widget f_about_widget">
<img src="img/logo.png" alt="">
<p>Persuit is a Premium PSD Template. Best choice for your online store. Let purchase it to enjoy now</p>
<h6>Social:</h6>
<ul>
<li><a href="#"><i class="social_facebook"></i></a></li>
<li><a href="#"><i class="social_twitter"></i></a></li>
<li><a href="#"><i class="social_pinterest"></i></a></li>
<li><a href="#"><i class="social_instagram"></i></a></li>
<li><a href="#"><i class="social_youtube"></i></a></li>
</ul>
</aside>
</div>
<div class="col-lg-2 col-md-4 col-6">
<aside class="f_widget link_widget f_info_widget">
<div class="f_w_title">
<h3>Information</h3>
</div>
<ul>
<li><a href="#">About us</a></li>
<li><a href="#">Delivery information</a></li>
<li><a href="#">Terms & Conditions</a></li>
<li><a href="#">Help Center</a></li>
<li><a href="#">Returns & Refunds</a></li>
</ul>
</aside>
</div>
<div class="col-lg-2 col-md-4 col-6">
<aside class="f_widget link_widget f_service_widget">
<div class="f_w_title">
<h3>Customer Service</h3>
</div>
<ul>
<li><a href="#">My account</a></li>
<li><a href="#">Ordr History</a></li>
<li><a href="#">Wish List</a></li>
<li><a href="#">Newsletter</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</aside>
</div>
<div class="col-lg-2 col-md-4 col-6">
<aside class="f_widget link_widget f_extra_widget">
<div class="f_w_title">
<h3>Extras</h3>
</div>
<ul>
<li><a href="#">Brands</a></li>
<li><a href="#">Gift Vouchers</a></li>
<li><a href="#">Affiliates</a></li>
<li><a href="#">Specials</a></li>
</ul>
</aside>
</div>
<div class="col-lg-2 col-md-4 col-6">
<aside class="f_widget link_widget f_account_widget">
<div class="f_w_title">
<h3>My Account</h3>
</div>
<ul>
<li><a href="#">My account</a></li>
<li><a href="#">Ordr History</a></li>
<li><a href="#">Wish List</a></li>
<li><a href="#">Newsletter</a></li>
</ul>
</aside>
</div>
</div>
</div>
<div class="footer_copyright">
<h5>© <script>document.write(new Date().getFullYear());</script> <!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright &copy;<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="fa fa-heart-o" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>. Downloaded from <a href="https://themeslab.org/" target="_blank">Themeslab</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
</h5>
</div>
</div>
</footer>
<!--================End Footer Area =================-->
</body>
</html>
{% endblock %}

View File

@ -18,7 +18,7 @@
<li class="nav-item"><a class="nav-link" href="#">Wszystko</a></li>
<li class="nav-item"><a class="nav-link" href="#">Produkty</a></li>
<li class="nav-item"><a class="nav-link" href="#">Usługi</a></li>
<li class="nav-item"><a class="nav-link" href="contact.html">Kontakt</a></li>
<li class="nav-item"><a class="nav-link" href="contact">Kontakt</a></li>
</ul>
</div>
<ul class="navbar-nav justify-content-end">

View File

@ -6,6 +6,7 @@ from django.conf.urls.static import static
urlpatterns = [
path('', views.index, name='index'),
path('contact', views.contact, name='contact'),
path('filter', views.filter, name='filter'),
path('Dodawanie', views.Dodawanie, name='Dodawanie'),
path('Mojeogloszenia', views.Mojeogloszenia, name='Mojeogloszenia'),

View File

@ -32,6 +32,10 @@ def index(request):
}
return HttpResponse(template.render(context, request))
def contact(request):
return render(request , 'homepage/contact.html')
def Mojeogloszenia(request):
all_product = Product.objects.filter(user_owner = "jedrzejklepacki@wp.pl", active = True).order_by('create_date')
template = loader.get_template('homepage/Mojeogloszenia.html')