Skip to content

Commit

Permalink
Revert "n"
Browse files Browse the repository at this point in the history
This reverts commit f4de0a3.
  • Loading branch information
Bunnzulu committed Jul 16, 2024
1 parent f4de0a3 commit ee80497
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 21 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__ )
app = Flask(__name__ ,template_folder= "Templates")
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.
File renamed without changes.
20 changes: 20 additions & 0 deletions Templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!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>
21 changes: 1 addition & 20 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,20 +1 @@
<!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>
<meta http-equiv="refresh" content="0; url=https://bunnzulu.github.io/Flask-Todo-APP/Templates/index.html">

0 comments on commit ee80497

Please sign in to comment.