Skip to content
Snippets Groups Projects
Commit fba4231d authored by Rhiannon Austin's avatar Rhiannon Austin
Browse files

fixing

parent 1257a286
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -18,7 +18,7 @@ def login():
return redirect("/")
else:
message = "Wrong Username"
return render_template("/login.html")
return render_template("login.html")
@app.route("/about", methods = ["GET"])
def about():
......
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="static/style.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity=
"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous">
<title>{% block title %}{% endblock %} - Tramshed Workspaces</title>
</head>
<body>
<header><img src="/static/Tramshed_Logo.jpg" alt="Logo" height="50" width="100" >Login</header>
<nav>
<ul>
<p></p>
</ul>
</nav>
{% extends "main.html" %}
{% block title %}login{% endblock %}
{% block mainBlock %}
<form class='myForm' method="POST" action="">
<p>Enter Username: </p>
<br>
<input type = "text" name = "username" placeholder="Username.." ><br>
<br>
<br>
<button type = "submit" id='mySubmit'> Submit </button>
<br>
<br>
</form>
<div class="row">
<div class="column">
......@@ -42,6 +18,4 @@
<img src="https://miro.medium.com/max/3984/1*6y4ymVFdD-qcmN647Ljf6Q.png" alt="Mountains" style="width:100%">
</div>
</div>
<!--{% block mainBlock %}{% endblock %}-->
</body>
</html>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment