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(): ...@@ -18,7 +18,7 @@ def login():
return redirect("/") return redirect("/")
else: else:
message = "Wrong Username" message = "Wrong Username"
return render_template("/login.html") return render_template("login.html")
@app.route("/about", methods = ["GET"]) @app.route("/about", methods = ["GET"])
def about(): def about():
......
<!DOCTYPE html> {% extends "main.html" %}
<html lang="en"> {% block title %}login{% endblock %}
<head> {% block mainBlock %}
<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>
<form class='myForm' method="POST" action=""> <form class='myForm' method="POST" action="">
<p>Enter Username: </p> <p>Enter Username: </p>
<br>
<input type = "text" name = "username" placeholder="Username.." ><br> <input type = "text" name = "username" placeholder="Username.." ><br>
<br>
<br>
<button type = "submit" id='mySubmit'> Submit </button> <button type = "submit" id='mySubmit'> Submit </button>
<br>
<br>
</form> </form>
<div class="row"> <div class="row">
<div class="column"> <div class="column">
...@@ -42,6 +18,4 @@ ...@@ -42,6 +18,4 @@
<img src="https://miro.medium.com/max/3984/1*6y4ymVFdD-qcmN647Ljf6Q.png" alt="Mountains" style="width:100%"> <img src="https://miro.medium.com/max/3984/1*6y4ymVFdD-qcmN647Ljf6Q.png" alt="Mountains" style="width:100%">
</div> </div>
</div> </div>
<!--{% block mainBlock %}{% endblock %}--> {% endblock %}
</body>
</html>
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