File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed
Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1+ from os import name
12from fastapi import APIRouter , Request
23from fastapi .responses import HTMLResponse
34from fastapi .templating import Jinja2Templates
@@ -20,4 +21,4 @@ def home(request: Request):
2021
2122@router .get ("/login" )
2223def login (request : Request ):
23- return TEMPLATES .TemplateResponse ("accounts/index .html" , {"request" : request })
24+ return TEMPLATES .TemplateResponse ("accounts/login .html" , {"request" : request })
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ <h3 class="font-weight-bolder text-info text-gradient">
5757 </ div >
5858
5959 < div class ="text-center ">
60- < a href ="{{ url_for('authentication_blueprint.register') }} " class ="btn bg-gradient-secondary w-100 mt-4 mb-0 "> Sign UP</ a >
60+ < a href ="" class ="btn bg-gradient-secondary w-100 mt-4 mb-0 "> Sign UP</ a >
6161 </ div >
6262
6363 </ form >
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ <h5>Sign UP</h5>
5959
6060 < p class ="text-sm mt-3 mb-0 text-center ">
6161 < div class ="text-center ">
62- < a href ="{{ url_for('authentication_blueprint.login') }} " class ="btn bg-gradient-dark w-100 my-4 mb-2 "> Sign IN</ a >
62+ < a href ="" class ="btn bg-gradient-dark w-100 my-4 mb-2 "> Sign IN</ a >
6363 </ div >
6464 </ p >
6565
@@ -87,7 +87,7 @@ <h5>Sign UP</h5>
8787 </ div >
8888
8989 < div class ="text-center ">
90- < a href ="{{ url_for('authentication_blueprint.login') }} " class ="btn bg-gradient-secondary w-100 mt-4 mb-0 "> Sign IN</ a >
90+ < a href ="" class ="btn bg-gradient-secondary w-100 mt-4 mb-0 "> Sign IN</ a >
9191 </ div >
9292
9393 </ form >
Original file line number Diff line number Diff line change 1515 < ul class ="navbar-nav mx-auto ms-xl-auto ">
1616
1717 < li class ="nav-item ">
18- < a class ="nav-link me-2 " href ="{{ url_for('authentication_blueprint.register') }} ">
18+ < a class ="nav-link me-2 " href ="">
1919 < i class ="fas fa-user-circle opacity-6 me-1 "> </ i >
2020 Sign Up
2121 </ a >
2222 </ li >
2323
2424 < li class ="nav-item ">
25- < a class ="nav-link me-2 " href ="{{ url_for('authentication_blueprint.login') }} ">
25+ < a class ="nav-link me-2 " href ="">
2626 < i class ="fas fa-key opacity-6 me-1 "> </ i >
2727 Sign In
2828 </ a >
You can’t perform that action at this time.
0 commit comments