styling changes and cleaning out html files a bit
This commit is contained in:
+1
-4
@@ -1,5 +1,3 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
@@ -22,5 +20,4 @@
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
@@ -1,7 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Sign in</h1>
|
||||
<h1 style="text-decoration: underline;"> Sign in to your account</h1>
|
||||
|
||||
{% with messages = get_flashed_messages() %}
|
||||
{% if messages %}
|
||||
@@ -13,15 +13,14 @@
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
|
||||
<form action="{{ url_for('signin') }}" method="POST">
|
||||
<form action="{{ url_for('signin') }}" method="POST" class="signup">
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" required><br><br>
|
||||
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" required><br><br>
|
||||
|
||||
<button type="submit">Sign In</button>
|
||||
<button type="submit" style="font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; border-color: gray; border-radius: 4px; border-width: 4px; margin-bottom: 20px;">Sign In</button>
|
||||
<p>Don't have an account? <a href="{{ url_for('signup') }}">Create one</a></p>
|
||||
</form>
|
||||
|
||||
<p>Don't have an account? <a href="{{ url_for('signup') }}">Sign up</a></p>
|
||||
{% endblock %}
|
||||
+4
-12
@@ -1,14 +1,7 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Sign up to make a new account</h1>
|
||||
<form action="/submit-form" method="POST">
|
||||
<h1 style="text-decoration: underline;">Sign up to make a account</h1>
|
||||
<form action="/submit-form" method="POST" class="signup">
|
||||
<label for="username">Username:</label>
|
||||
<input type="text" id="username" name="username" required><br><br>
|
||||
|
||||
@@ -18,8 +11,7 @@
|
||||
<label for="password">Password:</label>
|
||||
<input type="password" id="password" name="password" required><br><br>
|
||||
|
||||
<button type="submit">Submit to Database</button>
|
||||
</form>
|
||||
</body>
|
||||
<button type="submit" class="submitbutton" style="font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; border-color: gray; border-radius: 4px; border-width: 4px;">Create account</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
@@ -1,13 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>testpage</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>testpage</h1>
|
||||
<h2>testpage</h2>
|
||||
<h3>testpage</h3>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user