File tree Expand file tree Collapse file tree 5 files changed +59
-0
lines changed
Expand file tree Collapse file tree 5 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ @inherits LayoutComponentBase
2+
3+ <main class =" d-flex align-items-center" >
4+ @Body
5+ </main >
Original file line number Diff line number Diff line change 1+ html ,
2+ body {
3+ height : 100% ;
4+ }
Original file line number Diff line number Diff line change 1+ @page " /login"
2+ @layout HeadlessLayout
3+
4+ <PageTitle >Login</PageTitle >
5+
6+ <div class =" form-signin w-100 m-auto" >
7+
8+ <form >
9+ <h1 class =" h3 mb-3 fw-normal" >Por favor, entre com sua conta</h1 >
10+
11+ <div class =" form-floating" >
12+ <input type =" email" class =" form-control" id =" floatingInput" placeholder =" name@example.com" >
13+ <label for =" floatingInput" >E-mail</label >
14+ </div >
15+ <div class =" form-floating" >
16+ <input type =" password" class =" form-control" id =" floatingPassword" placeholder =" Password" >
17+ <label for =" floatingPassword" >Senha</label >
18+ </div >
19+
20+ <div class =" form-check text-start my-3" >
21+ <input class =" form-check-input" type =" checkbox" value =" remember-me" id =" flexCheckDefault" >
22+ <label class =" form-check-label" for =" flexCheckDefault" >
23+ Lembrar-me?
24+ </label >
25+ </div >
26+ <button class =" btn btn-primary w-100 py-2" type =" submit" >Entrar</button >
27+ </form >
28+
29+ </div >
Original file line number Diff line number Diff line change 1+ .form-signin {
2+ max-width : 330px ;
3+ padding : 1rem ;
4+ }
5+
6+ .form-signin .form-floating : focus-within {
7+ z-index : 2 ;
8+ }
9+
10+ .form-signin input [type = "email" ] {
11+ margin-bottom : -1px ;
12+ border-bottom-right-radius : 0 ;
13+ border-bottom-left-radius : 0 ;
14+ }
15+
16+ .form-signin input [type = "password" ] {
17+ margin-bottom : 10px ;
18+ border-top-left-radius : 0 ;
19+ border-top-right-radius : 0 ;
20+ }
Original file line number Diff line number Diff line change 88@using Microsoft .JSInterop
99@using BlazingShop
1010@using BlazingShop .Components
11+ @using BlazingShop .Layouts
1112@using BlazingShop .Models
You can’t perform that action at this time.
0 commit comments