Flask Mail added. Contact us page complete.

This commit is contained in:
2024-04-24 19:51:31 +01:00
parent a282c6dbcc
commit 7d4ef4b429
15 changed files with 125 additions and 39 deletions

View File

@@ -4,11 +4,11 @@
{% block page_body %}
<!-- Include Stylesheet -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/store_home.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/contact.css') }}">
<!-- HTML content -->
<div class="card">
<form id="{{ model.id_form_contact }}" class="container" action="{{ url_for('contact') }}" method="POST">
<form id="{{ model.ID_FORM_CONTACT }}" class="container" action="{{ url_for('contact') }}" method="POST">
<h2 class="label-title">Complete the form or find our details below.</h2>
<!--
<div class="container-input">
@@ -75,9 +75,9 @@
<a href="{{ model.url_GitHub }}" class="container-icon-label"><img class="img-icon" src="{{ url_for('static', filename='images/Logo_GitHub.png') }}"/><h4>GitHub</h4></a>
</div>
<div class="container">
<h4>Unit 12c, Somers Road</h4>
<h4>53 Alfred Green Close</h4>
<h4>Rugby, Warwickshire</h4>
<h4>CV22 7DH</h4>
<h4>CV22 6DN</h4>
</div>
</div>
@@ -85,9 +85,13 @@
<script src="{{ url_for('static', filename='js/contact.js') }}"></script>
<script>
var hashPageCurrent = "{{ model.hash_page_contact }}";
var hashPageCurrent = "{{ model.HASH_PAGE_CONTACT }}";
var idEmail = "#{{ model.ID_EMAIL }}";
var idMessage = "#{{ model.ID_MESSAGE }}";
var idName = "#{{ model.ID_NAME }}";
$(document).ready(function() {
stylePageContact();
hookupPageContact();
});
</script>

View File

@@ -59,13 +59,13 @@
<div class="topnav">
<div class="{{ model.FLAG_CONTAINER }}" style="width: 25vw; min-width: 15vw; max-width: 25vw;">
<div class="{{ model.FLAG_CONTAINER }}" style="width: 18vw; min-width: 18vw; max-width: 25vw;">
<img class="header-logo" src="{{ url_for('static', filename='images/Logo.png') }}" alt="PARTS logo">
</div>
<div class="{{ model.FLAG_CONTAINER }}" style="width: 60vw; min-width: 60vw; max-width: 60vw;">
<div class="{{ model.FLAG_CONTAINER }}" style="width: 75vw; min-width: 65vw; max-width: 80vw;">
<p class="company-name">Precision And Research Technology Systems</p>
</div>
<div class="{{ model.FLAG_CONTAINER }}" style="width: 15vw; min-width: 10vw; max-width: 15vw; justify-content: flex-end; "> <!-- padding-left: 25%; -->
<div class="{{ model.FLAG_CONTAINER }}" style="width: 7vw; min-width: 7vw; max-width: 15vw; justify-content: flex-end; "> <!-- padding-left: 25%; -->
<button id="{{ model.ID_BUTTON_HAMBURGER }}">=</button>
</div>
</div>
@@ -139,7 +139,7 @@
<div class="footer">
<h4>Copyright (C) Precision And Research Technology Systems Limited. All rights reserved.</h4>
<h4 style="padding-top: 1vh;">Copyright (C) Precision And Research Technology Systems Limited. All rights reserved.</h4>
<h5>Company number 13587499</h5>
</div>