Skip to content
Snippets Groups Projects
Commit 452b2c83 authored by nj2-desmond's avatar nj2-desmond
Browse files

added text and links to index page. turned main title into a link. made

small modifications to css.
parent b63b493d
Branches
No related tags found
No related merge requests found
......@@ -117,6 +117,32 @@ h1{
font-size: 30px;
}
a:link {
text-decoration: none;
color: black;
}
a:visited {
text-decoration: none;
color: black;
}
a:hover {
text-decoration: none;
color: black;
}
a:active {
text-decoration: none;
color: black;
}
.header{
font-size: 50px;
text-decoration: none;
color: black;
}
.error{
text-decoration: none;
color:red;
......
......@@ -8,7 +8,7 @@
<body>
<header class="header">
<h1 class="logo" href="{{ url_for('index')}}">ANTIQUES ONLINE</h1>
<a href="{{ url_for('index')}}">ANTIQUES ONLINE</a>
</header>
<nav class="navbar">
......@@ -50,9 +50,10 @@
{% endblock %} <!-- Where HTML will go when extended. -->
<footer class="footer">
<p>Contact Info: mail@mail.com
<br>
Phone Number 0000 000 0000</p>
<p>Contact Info: mail@mail.com</p>
<p>Phone Number 0000 000 0000</p>
<br>
</footer>
</body>
</html>
{%extends 'base.html' %}
{% block title %} Welcome to the Index {% endblock %}
{% block title %} Welcome! {% endblock %}
{% block content %}
<br>
<h1>Welcome to the Official Website of Antiques Online</h1>
<br>
<p>We maintain a large collection of fascinating Antiques and Collectibles to view on our Website.</p>
<p>Click <a href="{{ url_for('items')}}">*HERE*</a> to view some of them.</p>
<p>Hurry, they are very popular!</p>
<br><br>
<p>If you are new here, press <a href="{{ url_for('register')}}">*HERE*</a> to Register for an account</p>
<br>
<p>Returning Customers can Login <a href="{{ url_for('login')}}">*HERE*</a></p>
<br>
{% endblock %}
......@@ -19,7 +19,7 @@
</tr>
<tr>
<td><label for="securityQ1">Favourite Colour</label></td>
<td><input type="securityQ1" placeholder="Enter Favourite Colour..." name="securityQ1" id="securityQ1" required></td>
<td><input type="securityQ1" placeholder="Enter Favourite Colour..." name="securityQ1" id="securityQ1" required></td><br>
</tr>
<tr>
<td></td>
......@@ -29,9 +29,13 @@
<td></td>
<td><a href="{{ url_for('reset_security1')}}">I Forgot my Favourite Color!</a></td>
</tr>
<tr>
<td></td>
<td><input class="button" type="submit" value="Login" ></td>
</tr>
</table>
<br>
<input class="button" type="submit" value="Login" >
</div>
......
......@@ -11,31 +11,35 @@
{% if error %}
<p class=error><strong>Error:</strong> {{ error }}
{% endif %}
<br>
<table class="loginTable">
<tr>
<td><label for="username">Username:</label></td>
<td>Username: </td>
<td><input type="username" placeholder="Enter Username..." name="username" id="username" required></td>
</tr>
<tr>
<td><label for="email">E-mail Address:</label></td>
<td>Email Address: </td>
<td><input type="email" placeholder="Enter E-mail..." name="email" id="email" required></td>
</tr>
<tr>
<td><label for="phone_number">Phone Number:</label></td>
<td>Phone Number: </td>
<td><input type="phone_number" placeholder="Enter Phone Number..." name="phone_number" id="phone_number" required></td>
</tr>
<tr>
<td><label for="securityQ1">Favourite Color:</label></td>
<td>Favourite Color: </td>
<td><input type="securityQ1" placeholder="Enter a Colour..." name="securityQ1" id="securityQ1" required></td>
</tr>
<tr>
<td><label for="password">Password:</label></td>
<td>Password: </td>
<td><input type="password" placeholder="Enter Password..." name="password" id="password" required></td>
</tr>
<tr>
<td></td>
<td><input class="button" type="submit" value="Register" ></td>
</tr>
</table>
<br>
<input class="button" type="submit" value="Register" >
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment