diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-28 13:56:00 +0100 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-28 13:56:00 +0100 |
commit | b9b6688c8751b3ff0fe89655683af48eff195501 (patch) | |
tree | 92b13cb955713a3cb7c213e0a9fd1159a488ecb7 /templates/login.qtpl | |
parent | 6a3a7a85ef2f63e88a8c96aa3ab525ce843024f9 (diff) | |
download | cerrado-b9b6688c8751b3ff0fe89655683af48eff195501.tar.gz cerrado-b9b6688c8751b3ff0fe89655683af48eff195501.tar.bz2 cerrado-b9b6688c8751b3ff0fe89655683af48eff195501.zip |
feat: Add skeleton login page
Diffstat (limited to 'templates/login.qtpl')
-rw-r--r-- | templates/login.qtpl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/templates/login.qtpl b/templates/login.qtpl new file mode 100644 index 0000000..eee5711 --- /dev/null +++ b/templates/login.qtpl @@ -0,0 +1,31 @@ +{% code +type LoginPage struct { +} +%} + +{% func (p *LoginPage) Title() %}Hello{% endfunc %} + +{% func (p *LoginPage) Navbar() %}{%= Navbar(Login) %}{% endfunc %} + +{% func (p *LoginPage) Content() %} +<div class="row"> + <div class="col-md-6 offset-md-3"> + <form> + <div class="form-group m-3"> + <label for="username" class="form-label">Username</label> + <input type="text" class="form-control" id="username" aria-describedby="emailHelp"> + </div> + <div class="form-group m-3"> + <label for="password" class="form-label">Password</label> + <input type="password" class="form-control" id="password"> + </div> + <div class="form-group m-3"> + <button type="submit" class="btn btn-primary">Login</button> + </div> + </form> + </div> +</div> +{% endfunc %} + +{% func (p *LoginPage) Script() %} +{% endfunc %} |