File tree Expand file tree Collapse file tree 3 files changed +47
-6
lines changed
Expand file tree Collapse file tree 3 files changed +47
-6
lines changed Original file line number Diff line number Diff line change 1515
1616
1717@router .get ("/" )
18- def home (request : Request ):
18+ def home (request : Request , response_model = HTMLResponse ):
1919 return TEMPLATES .TemplateResponse ("home/index.html" , {"request" : request })
2020
2121
2222@router .get ("/login" )
23- def login (request : Request ):
23+ def login (request : Request , response_model = HTMLResponse ):
2424 return TEMPLATES .TemplateResponse ("accounts/login.html" , {"request" : request })
Original file line number Diff line number Diff line change @@ -40,16 +40,15 @@ <h3 class="font-weight-bolder text-info text-gradient">
4040
4141 < form role ="form text-left " method ="post " action ="">
4242
43- {{ form.hidden_tag() }}
4443
4544 < label > Username</ label >
4645 < div class ="mb-3 ">
47- {{ form. username( placeholder="Username", class="form-control") }}
46+ < input type =" text " name =" username " id =" username " placeholder ="username " class ="form-control ">
4847 </ div >
49-
48+
5049 < label > Password</ label >
5150 < div class ="mb-3 ">
52- {{ form.password(placeholder="Password", class="form-control", type ="password") }}
51+ < input type =" type " name =" password " id ="password " class =" form-control " >
5352 </ div >
5453
5554 < div class ="text-center ">
Original file line number Diff line number Diff line change 1+ < footer class ="footer py-5 ">
2+ < div class ="container ">
3+ < div class ="row ">
4+ < div class ="col-lg-8 mb-4 mx-auto text-center ">
5+ < a href ="https://bit.ly/3fKQZaL " target ="_blank " class ="text-secondary me-xl-5 me-3 mb-sm-0 mb-2 ">
6+ Creative-Tim
7+ </ a >
8+ < a href ="https://appseed.us " target ="_blank " class ="text-secondary me-xl-5 me-3 mb-sm-0 mb-2 ">
9+ AppSeed
10+ </ a >
11+ < a href ="https://appseed.us/support/ " target ="_blank " class ="text-secondary me-xl-5 me-3 mb-sm-0 mb-2 ">
12+ Support
13+ </ a >
14+ </ div >
15+ < div class ="col-lg-8 mx-auto text-center mb-4 mt-2 ">
16+ < a href ="javascript:; " target ="_blank " class ="text-secondary me-xl-4 me-4 ">
17+ < span class ="text-lg fab fa-dribbble "> </ span >
18+ </ a >
19+ < a href ="javascript:; " target ="_blank " class ="text-secondary me-xl-4 me-4 ">
20+ < span class ="text-lg fab fa-twitter "> </ span >
21+ </ a >
22+ < a href ="javascript:; " target ="_blank " class ="text-secondary me-xl-4 me-4 ">
23+ < span class ="text-lg fab fa-instagram "> </ span >
24+ </ a >
25+ < a href ="javascript:; " target ="_blank " class ="text-secondary me-xl-4 me-4 ">
26+ < span class ="text-lg fab fa-pinterest "> </ span >
27+ </ a >
28+ < a href ="javascript:; " target ="_blank " class ="text-secondary me-xl-4 me-4 ">
29+ < span class ="text-lg fab fa-github "> </ span >
30+ </ a >
31+ </ div >
32+ </ div >
33+ < div class ="row ">
34+ < div class ="col-8 mx-auto text-center mt-1 ">
35+ < p class ="mb-0 text-secondary ">
36+ © Creative-Tim - Coded by AppSeed.
37+ </ p >
38+ </ div >
39+ </ div >
40+ </ div >
41+ </ footer >
42+
You can’t perform that action at this time.
0 commit comments