Skip to content

Commit

Permalink
n
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunnzulu committed Jul 16, 2024
1 parent e002851 commit f4de0a3
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion App.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from flask import Flask,render_template,request
from Database import Add_Account,Get_Accounts,Verify_Cred,Add_to_Notes,Show_Notes,Delete_Note

app = Flask(__name__ ,template_folder= "Templates")
app = Flask(__name__ )
ACCOUNTS = Get_Accounts()
Login = [False,""]

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 0 additions & 20 deletions Templates/index.html

This file was deleted.

File renamed without changes.
21 changes: 20 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
<meta http-equiv="refresh" content="0; url=https://bunnzulu.github.io/Flask-Todo-APP/Templates/index.html">
<!DOCTYPE html>
<html lang="en">
<head>
{% include 'bootstrap.html'%}
</head>
<body>
<div class="top-50 start-50 translate-middle text-center">
<h1 class="mb-4">Welcome!</h1>
<form action="/Notes" method="post">
<label for="Username" >Username: </label>
<input type="text" name="Username" class="mb-4" required><br>
<label for="Password">Password: </label>
<input type="password" name="Password" required class="mb-2"><br>
<a href="/Sign-up" target="_blank">Don't have an account? Sign up here!</a><br>
<input type="submit" title="Login" style="width: 100px;" class="mt-4">
</form>
</div>

</body>
</html>

0 comments on commit f4de0a3

Please sign in to comment.