aboutsummaryrefslogtreecommitdiff
path: root/templates/login.qtpl.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-10-28 13:56:00 +0100
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-10-28 13:56:00 +0100
commitb9b6688c8751b3ff0fe89655683af48eff195501 (patch)
tree92b13cb955713a3cb7c213e0a9fd1159a488ecb7 /templates/login.qtpl.go
parent6a3a7a85ef2f63e88a8c96aa3ab525ce843024f9 (diff)
downloadcerrado-b9b6688c8751b3ff0fe89655683af48eff195501.tar.gz
cerrado-b9b6688c8751b3ff0fe89655683af48eff195501.tar.bz2
cerrado-b9b6688c8751b3ff0fe89655683af48eff195501.zip
feat: Add skeleton login page
Diffstat (limited to 'templates/login.qtpl.go')
-rw-r--r--templates/login.qtpl.go173
1 files changed, 173 insertions, 0 deletions
diff --git a/templates/login.qtpl.go b/templates/login.qtpl.go
new file mode 100644
index 0000000..0d3d2b0
--- /dev/null
+++ b/templates/login.qtpl.go
@@ -0,0 +1,173 @@
+// Code generated by qtc from "login.qtpl". DO NOT EDIT.
+// See https://github.com/valyala/quicktemplate for details.
+
+//line templates/login.qtpl:1
+package templates
+
+//line templates/login.qtpl:1
+import (
+ qtio422016 "io"
+
+ qt422016 "github.com/valyala/quicktemplate"
+)
+
+//line templates/login.qtpl:1
+var (
+ _ = qtio422016.Copy
+ _ = qt422016.AcquireByteBuffer
+)
+
+//line templates/login.qtpl:2
+type LoginPage struct {
+}
+
+//line templates/login.qtpl:6
+func (p *LoginPage) StreamTitle(qw422016 *qt422016.Writer) {
+//line templates/login.qtpl:6
+ qw422016.N().S(`Hello`)
+//line templates/login.qtpl:6
+}
+
+//line templates/login.qtpl:6
+func (p *LoginPage) WriteTitle(qq422016 qtio422016.Writer) {
+//line templates/login.qtpl:6
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line templates/login.qtpl:6
+ p.StreamTitle(qw422016)
+//line templates/login.qtpl:6
+ qt422016.ReleaseWriter(qw422016)
+//line templates/login.qtpl:6
+}
+
+//line templates/login.qtpl:6
+func (p *LoginPage) Title() string {
+//line templates/login.qtpl:6
+ qb422016 := qt422016.AcquireByteBuffer()
+//line templates/login.qtpl:6
+ p.WriteTitle(qb422016)
+//line templates/login.qtpl:6
+ qs422016 := string(qb422016.B)
+//line templates/login.qtpl:6
+ qt422016.ReleaseByteBuffer(qb422016)
+//line templates/login.qtpl:6
+ return qs422016
+//line templates/login.qtpl:6
+}
+
+//line templates/login.qtpl:8
+func (p *LoginPage) StreamNavbar(qw422016 *qt422016.Writer) {
+//line templates/login.qtpl:8
+ StreamNavbar(qw422016, Login)
+//line templates/login.qtpl:8
+}
+
+//line templates/login.qtpl:8
+func (p *LoginPage) WriteNavbar(qq422016 qtio422016.Writer) {
+//line templates/login.qtpl:8
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line templates/login.qtpl:8
+ p.StreamNavbar(qw422016)
+//line templates/login.qtpl:8
+ qt422016.ReleaseWriter(qw422016)
+//line templates/login.qtpl:8
+}
+
+//line templates/login.qtpl:8
+func (p *LoginPage) Navbar() string {
+//line templates/login.qtpl:8
+ qb422016 := qt422016.AcquireByteBuffer()
+//line templates/login.qtpl:8
+ p.WriteNavbar(qb422016)
+//line templates/login.qtpl:8
+ qs422016 := string(qb422016.B)
+//line templates/login.qtpl:8
+ qt422016.ReleaseByteBuffer(qb422016)
+//line templates/login.qtpl:8
+ return qs422016
+//line templates/login.qtpl:8
+}
+
+//line templates/login.qtpl:10
+func (p *LoginPage) StreamContent(qw422016 *qt422016.Writer) {
+//line templates/login.qtpl:10
+ qw422016.N().S(`
+<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>
+`)
+//line templates/login.qtpl:28
+}
+
+//line templates/login.qtpl:28
+func (p *LoginPage) WriteContent(qq422016 qtio422016.Writer) {
+//line templates/login.qtpl:28
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line templates/login.qtpl:28
+ p.StreamContent(qw422016)
+//line templates/login.qtpl:28
+ qt422016.ReleaseWriter(qw422016)
+//line templates/login.qtpl:28
+}
+
+//line templates/login.qtpl:28
+func (p *LoginPage) Content() string {
+//line templates/login.qtpl:28
+ qb422016 := qt422016.AcquireByteBuffer()
+//line templates/login.qtpl:28
+ p.WriteContent(qb422016)
+//line templates/login.qtpl:28
+ qs422016 := string(qb422016.B)
+//line templates/login.qtpl:28
+ qt422016.ReleaseByteBuffer(qb422016)
+//line templates/login.qtpl:28
+ return qs422016
+//line templates/login.qtpl:28
+}
+
+//line templates/login.qtpl:30
+func (p *LoginPage) StreamScript(qw422016 *qt422016.Writer) {
+//line templates/login.qtpl:30
+ qw422016.N().S(`
+`)
+//line templates/login.qtpl:31
+}
+
+//line templates/login.qtpl:31
+func (p *LoginPage) WriteScript(qq422016 qtio422016.Writer) {
+//line templates/login.qtpl:31
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line templates/login.qtpl:31
+ p.StreamScript(qw422016)
+//line templates/login.qtpl:31
+ qt422016.ReleaseWriter(qw422016)
+//line templates/login.qtpl:31
+}
+
+//line templates/login.qtpl:31
+func (p *LoginPage) Script() string {
+//line templates/login.qtpl:31
+ qb422016 := qt422016.AcquireByteBuffer()
+//line templates/login.qtpl:31
+ p.WriteScript(qb422016)
+//line templates/login.qtpl:31
+ qs422016 := string(qb422016.B)
+//line templates/login.qtpl:31
+ qt422016.ReleaseByteBuffer(qb422016)
+//line templates/login.qtpl:31
+ return qs422016
+//line templates/login.qtpl:31
+}