login
Added login functionality. It's a bit clunky, but it deas what it needs to. Testing needed. The header now has a search bar, but the page itself needs to be created.
This commit is contained in:
parent
d4016ce80c
commit
dda864a92e
10 changed files with 153 additions and 29 deletions
15
flask/templates/login.html
Normal file
15
flask/templates/login.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block meta %}
|
||||
<link rel="stylesheet" href="/static/login.css" />
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form action="/login" method="post">
|
||||
<div class="grid-container">
|
||||
<span>Username: </span><input type="text" name="username" placeholder="Username">
|
||||
<span>Password: </span><input type="password" name="password" placeholder="******">
|
||||
<input type = 'submit' value = 'Login'/>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue