-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
IftekharulAlam
authored and
IftekharulAlam
committed
Apr 14, 2021
1 parent
6a16651
commit ddeadbd
Showing
16 changed files
with
401 additions
and
322 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 2.2.5 on 2021-04-14 10:14 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='shopData', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(max_length=50)), | ||
('size', models.CharField(max_length=50)), | ||
('price', models.IntegerField()), | ||
('img', models.ImageField(upload_to='images')), | ||
], | ||
), | ||
] |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
from django.db import models | ||
|
||
# Create your models here. | ||
class shopData(models.Model): | ||
name = models.CharField(max_length=50) | ||
size = models.CharField(max_length=50) | ||
price=models.IntegerField() | ||
img = models.ImageField(upload_to='images') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,267 @@ | ||
{%load static%} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=\, initial-scale=1.0"> | ||
<title>Document</title> | ||
<title>Zay Shop - Contact</title> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
|
||
<link rel="apple-touch-icon" href="{% static 'assets/img/apple-icon.png'%}"> | ||
<link rel="shortcut icon" type="image/x-icon" href="{% static 'assets/img/favicon.ico'%}"> | ||
|
||
<link rel="stylesheet" href="{% static 'assets/css/bootstrap.min.css'%}"> | ||
<link rel="stylesheet" href="{% static 'assets/css/templatemo.css'%}"> | ||
<link rel="stylesheet" href="{% static 'assets/css/custom.css'%}"> | ||
|
||
<!-- Load fonts style after rendering the layout styles --> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;200;300;400;500;700;900&display=swap"> | ||
<link rel="stylesheet" href="{% static 'assets/css/fontawesome.min.css'%}"> | ||
|
||
<!-- Load map styles --> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A==" crossorigin="" /> | ||
<!-- | ||
TemplateMo 559 Zay Shop | ||
https://templatemo.com/tm-559-zay-shop | ||
--> | ||
</head> | ||
|
||
<body> | ||
<form action="login" method="POST"> | ||
{%csrf_token%} | ||
<input type="text" name="username" placeholder="username"><br> | ||
<input type="password" name="password" placeholder="password"><br> | ||
<input type="submit"> | ||
</form> | ||
<div> | ||
{%for message in messages%} | ||
<h3>{{message}}</h3> | ||
{%endfor%} | ||
<!-- Start Top Nav --> | ||
<nav class="navbar navbar-expand-lg bg-dark navbar-light d-none d-lg-block" id="templatemo_nav_top"> | ||
<div class="container text-light"> | ||
<div class="w-100 d-flex justify-content-between"> | ||
<div> | ||
<i class="fa fa-envelope mx-2"></i> | ||
<a class="navbar-sm-brand text-light text-decoration-none" href="mailto:[email protected]">[email protected]</a> | ||
<i class="fa fa-phone mx-2"></i> | ||
<a class="navbar-sm-brand text-light text-decoration-none" href="tel:010-020-0340">010-020-0340</a> | ||
</div> | ||
<div> | ||
<a class="text-light" href="https://fb.com/templatemo" target="_blank" rel="sponsored"><i class="fab fa-facebook-f fa-sm fa-fw me-2"></i></a> | ||
<a class="text-light" href="https://www.instagram.com/" target="_blank"><i class="fab fa-instagram fa-sm fa-fw me-2"></i></a> | ||
<a class="text-light" href="https://twitter.com/" target="_blank"><i class="fab fa-twitter fa-sm fa-fw me-2"></i></a> | ||
<a class="text-light" href="https://www.linkedin.com/" target="_blank"><i class="fab fa-linkedin fa-sm fa-fw"></i></a> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
<!-- Close Top Nav --> | ||
|
||
|
||
<!-- Header --> | ||
<nav class="navbar navbar-expand-lg navbar-light shadow"> | ||
<div class="container d-flex justify-content-between align-items-center"> | ||
|
||
<a class="navbar-brand text-success logo h1 align-self-center" href="index.html"> | ||
Zay | ||
</a> | ||
|
||
<button class="navbar-toggler border-0" type="button" data-bs-toggle="collapse" data-bs-target="#templatemo_main_nav" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="align-self-center collapse navbar-collapse flex-fill d-lg-flex justify-content-lg-between" id="templatemo_main_nav"> | ||
<div class="flex-fill"> | ||
<ul class="nav navbar-nav d-flex justify-content-between mx-lg-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="index.html">Home</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="about.html">About</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="shop.html">Shop</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="contact.html">Contact</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="login.html">Login</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="register.html">Register</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="navbar align-self-center d-flex"> | ||
<div class="d-lg-none flex-sm-fill mt-3 mb-4 col-7 col-sm-auto pr-3"> | ||
<div class="input-group"> | ||
<input type="text" class="form-control" id="inputMobileSearch" placeholder="Search ..."> | ||
<div class="input-group-text"> | ||
<i class="fa fa-fw fa-search"></i> | ||
</div> | ||
</div> | ||
</div> | ||
<a class="nav-icon d-none d-lg-inline" href="#" data-bs-toggle="modal" data-bs-target="#templatemo_search"> | ||
<i class="fa fa-fw fa-search text-dark mr-2"></i> | ||
</a> | ||
<a class="nav-icon position-relative text-decoration-none" href="#"> | ||
<i class="fa fa-fw fa-cart-arrow-down text-dark mr-1"></i> | ||
<span class="position-absolute top-0 left-100 translate-middle badge rounded-pill bg-light text-dark">7</span> | ||
</a> | ||
<a class="nav-icon position-relative text-decoration-none" href="#"> | ||
<i class="fa fa-fw fa-user text-dark mr-3"></i> | ||
<span class="position-absolute top-0 left-100 translate-middle badge rounded-pill bg-light text-dark">+99</span> | ||
</a> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</nav> | ||
<!-- Close Header --> | ||
|
||
<!-- Modal --> | ||
<div class="modal fade bg-white" id="templatemo_search" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> | ||
<div class="modal-dialog modal-lg" role="document"> | ||
<div class="w-100 pt-1 mb-5 text-right"> | ||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> | ||
</div> | ||
<form action="" method="get" class="modal-content modal-body border-0 p-0"> | ||
<div class="input-group mb-2"> | ||
<input type="text" class="form-control" id="inputModalSearch" name="q" placeholder="Search ..."> | ||
<button type="submit" class="input-group-text bg-success text-light"> | ||
<i class="fa fa-fw fa-search text-white"></i> | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
<!-- Start Contact --> | ||
<div class="container py-5"> | ||
<div class="row py-5"> | ||
<form class="col-md-9 m-auto" method="post" role="form" action="login.html"> | ||
{%csrf_token%} | ||
<div class="mb-3"> | ||
<label for="inputsubject">User Name</label> | ||
<input type="text" class="form-control mt-1" id="username" name="username" placeholder="User Name"> | ||
</div> | ||
<div class="mb-3"> | ||
<label for="inputsubject">Password</label> | ||
<input type="password" class="form-control mt-1" id="password" name="password" placeholder="Password"> | ||
{%for message in messages%} | ||
<label>{{message}}</label> | ||
{%endfor%} | ||
</div> | ||
<div class="row"> | ||
<div class="col text-end mt-2"> | ||
<button type="submit" class="btn btn-success btn-lg px-3">Login</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
<!-- End Contact --> | ||
|
||
|
||
<!-- Start Footer --> | ||
<footer class="bg-dark" id="tempaltemo_footer"> | ||
<div class="container"> | ||
<div class="row"> | ||
|
||
<div class="col-md-4 pt-5"> | ||
<h2 class="h2 text-success border-bottom pb-3 border-light logo">Zay Shop</h2> | ||
<ul class="list-unstyled text-light footer-link-list"> | ||
<li> | ||
<i class="fas fa-map-marker-alt fa-fw"></i> | ||
123 Consectetur at ligula 10660 | ||
</li> | ||
<li> | ||
<i class="fa fa-phone fa-fw"></i> | ||
<a class="text-decoration-none" href="tel:010-020-0340">010-020-0340</a> | ||
</li> | ||
<li> | ||
<i class="fa fa-envelope fa-fw"></i> | ||
<a class="text-decoration-none" href="mailto:[email protected]">[email protected]</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="col-md-4 pt-5"> | ||
<h2 class="h2 text-light border-bottom pb-3 border-light">Products</h2> | ||
<ul class="list-unstyled text-light footer-link-list"> | ||
<li><a class="text-decoration-none" href="#">Luxury</a></li> | ||
<li><a class="text-decoration-none" href="#">Sport Wear</a></li> | ||
<li><a class="text-decoration-none" href="#">Men's Shoes</a></li> | ||
<li><a class="text-decoration-none" href="#">Women's Shoes</a></li> | ||
<li><a class="text-decoration-none" href="#">Popular Dress</a></li> | ||
<li><a class="text-decoration-none" href="#">Gym Accessories</a></li> | ||
<li><a class="text-decoration-none" href="#">Sport Shoes</a></li> | ||
</ul> | ||
</div> | ||
|
||
<div class="col-md-4 pt-5"> | ||
<h2 class="h2 text-light border-bottom pb-3 border-light">Further Info</h2> | ||
<ul class="list-unstyled text-light footer-link-list"> | ||
<li><a class="text-decoration-none" href="#">Home</a></li> | ||
<li><a class="text-decoration-none" href="#">About Us</a></li> | ||
<li><a class="text-decoration-none" href="#">Shop Locations</a></li> | ||
<li><a class="text-decoration-none" href="#">FAQs</a></li> | ||
<li><a class="text-decoration-none" href="#">Contact</a></li> | ||
</ul> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="row text-light mb-4"> | ||
<div class="col-12 mb-3"> | ||
<div class="w-100 my-3 border-top border-light"></div> | ||
</div> | ||
<div class="col-auto me-auto"> | ||
<ul class="list-inline text-left footer-icons"> | ||
<li class="list-inline-item border border-light rounded-circle text-center"> | ||
<a class="text-light text-decoration-none" target="_blank" href="http://facebook.com/"><i class="fab fa-facebook-f fa-lg fa-fw"></i></a> | ||
</li> | ||
<li class="list-inline-item border border-light rounded-circle text-center"> | ||
<a class="text-light text-decoration-none" target="_blank" href="https://www.instagram.com/"><i class="fab fa-instagram fa-lg fa-fw"></i></a> | ||
</li> | ||
<li class="list-inline-item border border-light rounded-circle text-center"> | ||
<a class="text-light text-decoration-none" target="_blank" href="https://twitter.com/"><i class="fab fa-twitter fa-lg fa-fw"></i></a> | ||
</li> | ||
<li class="list-inline-item border border-light rounded-circle text-center"> | ||
<a class="text-light text-decoration-none" target="_blank" href="https://www.linkedin.com/"><i class="fab fa-linkedin fa-lg fa-fw"></i></a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="col-auto"> | ||
<label class="sr-only" for="subscribeEmail">Email address</label> | ||
<div class="input-group mb-2"> | ||
<input type="text" class="form-control bg-dark border-light" id="subscribeEmail" placeholder="Email address"> | ||
<div class="input-group-text btn-success text-light">Subscribe</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="w-100 bg-black py-3"> | ||
<div class="container"> | ||
<div class="row pt-2"> | ||
<div class="col-12"> | ||
<p class="text-left text-light"> | ||
Copyright © 2021 Company Name | ||
| Designed by <a rel="sponsored" href="https://templatemo.com" target="_blank">TemplateMo</a> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</footer> | ||
<!-- End Footer --> | ||
|
||
<!-- Start Script --> | ||
<script src="{% static 'assets/js/jquery-1.11.0.min.js'%}"></script> | ||
<script src="{% static 'assets/js/jquery-migrate-1.2.1.min.js'%}"></script> | ||
<script src="{% static 'assets/js/bootstrap.bundle.min.js'%}"></script> | ||
<script src="{% static 'assets/js/templatemo.js'%}"></script> | ||
<script src="{% static 'assets/js/custom.js'%}"></script> | ||
<!-- End Script --> | ||
</body> | ||
|
||
</html> |
Oops, something went wrong.