-
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
1 parent
fa0b260
commit c2009d1
Showing
2 changed files
with
117 additions
and
231 deletions.
There are no files selected for viewing
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,233 +1,119 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
<meta name="viewport" content="width=device-width"> | ||
<!--[if !mso]><!--> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<!--<![endif]--> | ||
<title></title> | ||
<!--[if !mso]><!--> | ||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet" type="text/css"> | ||
<!--<![endif]--> | ||
<style type="text/css"> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
table, | ||
td, | ||
tr { | ||
vertical-align: top; | ||
border-collapse: collapse; | ||
} | ||
|
||
* { | ||
line-height: inherit; | ||
} | ||
|
||
a[x-apple-data-detectors=true] { | ||
color: inherit !important; | ||
text-decoration: none !important; | ||
} | ||
</style> | ||
<style type="text/css" id="media-query"> | ||
@media (max-width: 520px) { | ||
|
||
.block-grid, | ||
.col { | ||
min-width: 320px !important; | ||
max-width: 100% !important; | ||
display: block !important; | ||
} | ||
|
||
.block-grid { | ||
width: 100% !important; | ||
} | ||
|
||
.col { | ||
width: 100% !important; | ||
} | ||
|
||
.col_cont { | ||
margin: 0 auto; | ||
} | ||
|
||
img.fullwidth, | ||
img.fullwidthOnMobile { | ||
max-width: 100% !important; | ||
} | ||
|
||
.no-stack .col { | ||
min-width: 0 !important; | ||
display: table-cell !important; | ||
} | ||
|
||
.no-stack.two-up .col { | ||
width: 50% !important; | ||
} | ||
|
||
.no-stack .col.num2 { | ||
width: 16.6% !important; | ||
} | ||
|
||
.no-stack .col.num3 { | ||
width: 25% !important; | ||
} | ||
|
||
.no-stack .col.num4 { | ||
width: 33% !important; | ||
} | ||
|
||
.no-stack .col.num5 { | ||
width: 41.6% !important; | ||
} | ||
|
||
.no-stack .col.num6 { | ||
width: 50% !important; | ||
} | ||
|
||
.no-stack .col.num7 { | ||
width: 58.3% !important; | ||
} | ||
|
||
.no-stack .col.num8 { | ||
width: 66.6% !important; | ||
} | ||
|
||
.no-stack .col.num9 { | ||
width: 75% !important; | ||
} | ||
|
||
.no-stack .col.num10 { | ||
width: 83.3% !important; | ||
} | ||
|
||
.video-block { | ||
max-width: none !important; | ||
} | ||
|
||
.mobile_hide { | ||
min-height: 0px; | ||
max-height: 0px; | ||
max-width: 0px; | ||
display: none; | ||
overflow: hidden; | ||
font-size: 0px; | ||
} | ||
|
||
.desktop_hide { | ||
display: block !important; | ||
max-height: none !important; | ||
} | ||
} | ||
</style> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Welcome to Our Clothing Store!</title> | ||
<style> | ||
/* Add your CSS styles here */ | ||
body { | ||
font-family: JetBrains Mono, monospace; | ||
background-color: #f7f7f7; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.container { | ||
max-width: 600px; | ||
margin: 0 auto; | ||
padding: 20px; | ||
background-color: #ffffff; | ||
border-radius: 8px; | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
.header { | ||
text-align: center; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.header img { | ||
max-width: 100%; | ||
height: auto; | ||
} | ||
|
||
.welcome-message { | ||
font-size: 24px; | ||
text-align: center; | ||
margin-bottom: 20px; | ||
color: #333333; | ||
} | ||
|
||
.btn { | ||
display: inline-block; | ||
padding: 12px 24px; | ||
text-decoration: none; | ||
color: #ffffff; | ||
background-color: #ff6f61; | ||
border-radius: 5px; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.btn:hover { | ||
background-color: #ff513b; | ||
} | ||
|
||
.promo-images { | ||
margin-bottom: 20px; | ||
text-align: center; | ||
} | ||
|
||
.promo-images img { | ||
max-width: 100%; | ||
height: auto; | ||
margin-bottom: 10px; | ||
border-radius: 5px; | ||
} | ||
|
||
.footer { | ||
margin-top: 40px; | ||
text-align: center; | ||
color: #777777; | ||
font-size: 14px; | ||
} | ||
|
||
.logo { | ||
color: rgb(0, 0, 0); | ||
font-size: 60px; | ||
font-weight: 600; | ||
letter-spacing: -1px; | ||
} | ||
|
||
.welcome { | ||
color: rgb(0, 0, 0); | ||
font-size: 30px; | ||
font-weight: 600; | ||
letter-spacing: -1px; | ||
} | ||
|
||
.tagline { | ||
color: rgb(0, 0, 0); | ||
font-size: 20px; | ||
font-weight: 600; | ||
letter-spacing: -1px; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body class="clean-body" style="margin: 0; padding: 0; -webkit-text-size-adjust: 100%; background-color: #FFFFFF;"> | ||
<!--[if IE]><div class="ie-browser"><![endif]--> | ||
<table class="nl-container" style="table-layout: fixed; vertical-align: top; min-width: 320px; border-spacing: 0; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #FFFFFF; width: 100%;" cellpadding="0" cellspacing="0" role="presentation" width="100%" bgcolor="#FFFFFF" valign="top"> | ||
<tbody> | ||
<tr style="vertical-align: top;" valign="top"> | ||
<td style="word-break: break-word; vertical-align: top;" valign="top"> | ||
<!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color:#FFFFFF"><![endif]--> | ||
<div style="background-color:#555555;"> | ||
<div class="block-grid " style="min-width: 320px; max-width: 500px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; Margin: 0 auto; background-color: transparent;"> | ||
<div style="border-collapse: collapse;display: table;width: 100%;background-color:transparent;"> | ||
<!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:#555555;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--> | ||
<!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--> | ||
<div class="col num12" style="min-width: 320px; max-width: 500px; display: table-cell; vertical-align: top; width: 500px;"> | ||
<div class="col_cont" style="width:100% !important;"> | ||
<!--[if (!mso)&(!IE)]><!--> | ||
<div style="border-top:0px solid transparent; border-left:0px solid transparent; border-bottom:0px solid transparent; border-right:0px solid transparent; padding-top:5px; padding-bottom:5px; padding-right: 0px; padding-left: 0px;"> | ||
<!--<![endif]--> | ||
<!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: 'Trebuchet MS', Tahoma, sans-serif"><![endif]--> | ||
<div style="color:#000000;font-family:'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif;line-height:1.2;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;"> | ||
<div style="line-height: 1.2; font-size: 12px; font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif; color: #000000; mso-line-height-alt: 14px;"> | ||
<p style="font-size: 22px; line-height: 1.2; text-align: center; word-break: break-word; font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif; mso-line-height-alt: 26px; margin: 0;"><span style="color: #ffffff; font-size: 22px;"><strong><span style>PYS</span></strong></span></p> | ||
</div> | ||
</div> | ||
<!--[if mso]></td></tr></table><![endif]--> | ||
<!--[if (!mso)&(!IE)]><!--> | ||
</div> | ||
<!--<![endif]--> | ||
</div> | ||
</div> | ||
<!--[if (mso)|(IE)]></td></tr></table><![endif]--> | ||
<!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--> | ||
</div> | ||
</div> | ||
</div> | ||
<div style="background-color:transparent;"> | ||
<div class="block-grid " style="min-width: 320px; max-width: 500px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; Margin: 0 auto; background-color: transparent;"> | ||
<div style="border-collapse: collapse;display: table;width: 100%;background-color:transparent;"> | ||
<!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:transparent;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--> | ||
<!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--> | ||
<div class="col num12" style="min-width: 320px; max-width: 500px; display: table-cell; vertical-align: top; width: 500px;"> | ||
<div class="col_cont" style="width:100% !important;"> | ||
<!--[if (!mso)&(!IE)]><!--> | ||
<div style="border-top:0px solid transparent; border-left:0px solid transparent; border-bottom:0px solid transparent; border-right:0px solid transparent; padding-top:5px; padding-bottom:5px; padding-right: 0px; padding-left: 0px;"> | ||
<!--<![endif]--> | ||
<!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: 'Trebuchet MS', Tahoma, sans-serif"><![endif]--> | ||
<div style="color:#393d47;font-family:'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif;line-height:1.2;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;"> | ||
<div style="line-height: 1.2; font-size: 12px; font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif; color: #393d47; mso-line-height-alt: 14px;"> | ||
<p style="font-size: 15px; line-height: 1.2; word-break: break-word; text-align: center; font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif; mso-line-height-alt: 18px; margin: 0;"><span style="font-size: 15px;"><strong>Hey, thanks for </strong></span></p> | ||
<p style="font-size: 15px; line-height: 1.2; word-break: break-word; text-align: center; font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif; mso-line-height-alt: 18px; margin: 0;"><span style="font-size: 15px;"><strong>signing up!</strong></span></p> | ||
<p style="font-size: 14px; line-height: 1.2; word-break: break-word; text-align: center; font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif; mso-line-height-alt: 17px; margin: 0;"> </p> | ||
<p style="font-size: 14px; line-height: 1.2; word-break: break-word; text-align: center; font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif; mso-line-height-alt: 17px; margin: 0;">Purchase the latest collection from our website.</p> | ||
</div> | ||
</div> | ||
<!--[if mso]></td></tr></table><![endif]--> | ||
<!--[if (!mso)&(!IE)]><!--> | ||
</div> | ||
<!--<![endif]--> | ||
</div> | ||
</div> | ||
<!--[if (mso)|(IE)]></td></tr></table><![endif]--> | ||
<!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--> | ||
</div> | ||
</div> | ||
</div> | ||
<div style="background-color:#555555;"> | ||
<div class="block-grid " style="min-width: 320px; max-width: 500px; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; Margin: 0 auto; background-color: transparent;"> | ||
<div style="border-collapse: collapse;display: table;width: 100%;background-color:transparent;"> | ||
<!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0" style="background-color:#555555;"><tr><td align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:500px"><tr class="layout-full-width" style="background-color:transparent"><![endif]--> | ||
<!--[if (mso)|(IE)]><td align="center" width="500" style="background-color:transparent;width:500px; border-top: 0px solid transparent; border-left: 0px solid transparent; border-bottom: 0px solid transparent; border-right: 0px solid transparent;" valign="top"><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 0px; padding-left: 0px; padding-top:5px; padding-bottom:5px;"><![endif]--> | ||
<div class="col num12" style="min-width: 320px; max-width: 500px; display: table-cell; vertical-align: top; width: 500px;"> | ||
<div class="col_cont" style="width:100% !important;"> | ||
<!--[if (!mso)&(!IE)]><!--> | ||
<div style="border-top:0px solid transparent; border-left:0px solid transparent; border-bottom:0px solid transparent; border-right:0px solid transparent; padding-top:5px; padding-bottom:5px; padding-right: 0px; padding-left: 0px;"> | ||
<!--<![endif]--> | ||
<!--[if mso]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding-right: 10px; padding-left: 10px; padding-top: 10px; padding-bottom: 10px; font-family: Arial, sans-serif"><![endif]--> | ||
<div style="color:#393d47;font-family:Arial, Helvetica Neue, Helvetica, sans-serif;line-height:1.2;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px;"> | ||
<div style="line-height: 1.2; font-size: 12px; color: #393d47; font-family: Arial, Helvetica Neue, Helvetica, sans-serif; mso-line-height-alt: 14px;"> | ||
<p style="text-align: center; line-height: 1.2; word-break: break-word; font-size: 14px; mso-line-height-alt: 17px; margin: 0;"><span style="color: #ffffff; font-size: 14px;">Where to find us:</span><br><span style="color: #ffffff; font-size: 14px;">Surat, Gujarat 395006</span></p> | ||
<p style="text-align: center; line-height: 1.2; word-break: break-word; mso-line-height-alt: 14px; margin: 0;"> </p> | ||
<p style="text-align: center; line-height: 1.2; word-break: break-word; font-size: 14px; mso-line-height-alt: 17px; margin: 0;"><span style="color: #ffffff; font-size: 14px;">Copyright © 2020 </span></p> | ||
<p style="text-align: center; line-height: 1.2; word-break: break-word; font-size: 14px; mso-line-height-alt: 17px; margin: 0;"><span style="color: #ffffff; font-size: 14px;">[email protected]</span></p> | ||
<p style="text-align: center; line-height: 1.2; word-break: break-word; font-size: 14px; mso-line-height-alt: 17px; margin: 0;"><span style="color: #ffffff; font-size: 14px;">All rights reserved.</span></p> | ||
</div> | ||
</div> | ||
<!--[if mso]></td></tr></table><![endif]--> | ||
<!--[if (!mso)&(!IE)]><!--> | ||
</div> | ||
<!--<![endif]--> | ||
</div> | ||
</div> | ||
<!--[if (mso)|(IE)]></td></tr></table><![endif]--> | ||
<!--[if (mso)|(IE)]></td></tr></table></td></tr></table><![endif]--> | ||
</div> | ||
</div> | ||
</div> | ||
<!--[if (mso)|(IE)]></td></tr></table><![endif]--> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
<!--[if (IE)]></div><![endif]--> | ||
<body> | ||
<div class="container"> | ||
<div class="header"> | ||
<div class="logo">PYS</div> | ||
<img src="/shop/static/images/dresses/b4.jpg" alt="Clothing Store Image"> | ||
</div> | ||
<div class="welcome-message"> | ||
<p class="welcome">Welcome to Our Clothing Store!</p> | ||
<p class="tagline">Discover the latest trends and find your style with us.</p> | ||
</div> | ||
<div class="promo-images"> | ||
<img src="/shop/static/images/dresses/banner1.jpg" alt="Promo Image 1"> | ||
<img src="/shop/static/images/dresses/b6.jpg" alt="Promo Image 2"> | ||
</div> | ||
<div class="button-container" style="text-align: center;"> | ||
<a href="https://www.yourwebsite.com" class="btn">Shop Now</a> | ||
</div> | ||
<div class="footer"> | ||
<p>Thank you for joining us! <br> © 2024 PYS Clothing Store. All rights reserved.</p> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> | ||
</html> |
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 |
---|---|---|
|
@@ -105,7 +105,7 @@ def registrationdata(request): | |
text_content = strip_tags(html_content) | ||
from_email = settings.EMAIL_HOST_USER | ||
to_list = [email] | ||
mail = EmailMultiAlternatives("PYS | Thank you!", text_content, from_email, to_list) | ||
mail = EmailMultiAlternatives("Welcome to PYS", text_content, "PYS Services <[email protected]>", to_list) | ||
mail.attach_alternative(html_content,"text/html") | ||
mail.send() | ||
return HttpResponseRedirect('/login/') | ||
|