diff --git a/main.py b/main.py index d8f7d1513cc81415f8bf46115de2661fbb61b5aa..d97972af4c4343e1694530c638b64db23c776a7f 100644 --- a/main.py +++ b/main.py @@ -11,7 +11,6 @@ def home(): workspaces = database.get_workspaces() return render_template("home.html", workspaces = workspaces) - @app.route('/login', methods = ["GET"]) def login(): username = request.form.get('username') diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000000000000000000000000000000000000..6bc629c4a93c7fe71cc57526f58866eb03e1f427 --- /dev/null +++ b/templates/login.html @@ -0,0 +1,30 @@ +<!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> + +<!-- <div class="parallax"> +<body class="body"> + <!--<img src="static/Tramshed_Logo.jpg" alt="Logo" height="50" width="100">--> +<!-- navigation --> + +<form class='myForm' method="POST" action=""> + <p>Enter Username: </p> + <br> + <input type = "text" name = "username" placeholder="Username.." ><br> + <button type = "submit" id='mySubmit'> Submit </button> +</form> +<!--{% block mainBlock %}{% endblock %}--> + </body> +</html>