cerrado @ 2e4b2fb52a539188b27212005d626f0849e78196

  1// Code generated by qtc from "login.qtpl". DO NOT EDIT.
  2// See https://github.com/valyala/quicktemplate for details.
  3
  4//line templates/login.qtpl:1
  5package templates
  6
  7//line templates/login.qtpl:1
  8import (
  9	qtio422016 "io"
 10
 11	qt422016 "github.com/valyala/quicktemplate"
 12)
 13
 14//line templates/login.qtpl:1
 15var (
 16	_ = qtio422016.Copy
 17	_ = qt422016.AcquireByteBuffer
 18)
 19
 20//line templates/login.qtpl:2
 21type LoginPage struct {
 22}
 23
 24//line templates/login.qtpl:6
 25func (p *LoginPage) StreamTitle(qw422016 *qt422016.Writer) {
 26//line templates/login.qtpl:6
 27	qw422016.N().S(`Hello`)
 28//line templates/login.qtpl:6
 29}
 30
 31//line templates/login.qtpl:6
 32func (p *LoginPage) WriteTitle(qq422016 qtio422016.Writer) {
 33//line templates/login.qtpl:6
 34	qw422016 := qt422016.AcquireWriter(qq422016)
 35//line templates/login.qtpl:6
 36	p.StreamTitle(qw422016)
 37//line templates/login.qtpl:6
 38	qt422016.ReleaseWriter(qw422016)
 39//line templates/login.qtpl:6
 40}
 41
 42//line templates/login.qtpl:6
 43func (p *LoginPage) Title() string {
 44//line templates/login.qtpl:6
 45	qb422016 := qt422016.AcquireByteBuffer()
 46//line templates/login.qtpl:6
 47	p.WriteTitle(qb422016)
 48//line templates/login.qtpl:6
 49	qs422016 := string(qb422016.B)
 50//line templates/login.qtpl:6
 51	qt422016.ReleaseByteBuffer(qb422016)
 52//line templates/login.qtpl:6
 53	return qs422016
 54//line templates/login.qtpl:6
 55}
 56
 57//line templates/login.qtpl:8
 58func (p *LoginPage) StreamNavbar(qw422016 *qt422016.Writer) {
 59//line templates/login.qtpl:8
 60	StreamNavbar(qw422016, Login)
 61//line templates/login.qtpl:8
 62}
 63
 64//line templates/login.qtpl:8
 65func (p *LoginPage) WriteNavbar(qq422016 qtio422016.Writer) {
 66//line templates/login.qtpl:8
 67	qw422016 := qt422016.AcquireWriter(qq422016)
 68//line templates/login.qtpl:8
 69	p.StreamNavbar(qw422016)
 70//line templates/login.qtpl:8
 71	qt422016.ReleaseWriter(qw422016)
 72//line templates/login.qtpl:8
 73}
 74
 75//line templates/login.qtpl:8
 76func (p *LoginPage) Navbar() string {
 77//line templates/login.qtpl:8
 78	qb422016 := qt422016.AcquireByteBuffer()
 79//line templates/login.qtpl:8
 80	p.WriteNavbar(qb422016)
 81//line templates/login.qtpl:8
 82	qs422016 := string(qb422016.B)
 83//line templates/login.qtpl:8
 84	qt422016.ReleaseByteBuffer(qb422016)
 85//line templates/login.qtpl:8
 86	return qs422016
 87//line templates/login.qtpl:8
 88}
 89
 90//line templates/login.qtpl:10
 91func (p *LoginPage) StreamContent(qw422016 *qt422016.Writer) {
 92//line templates/login.qtpl:10
 93	qw422016.N().S(`
 94<div class="row">
 95  <div class="col-md-6 offset-md-3">
 96    <form>
 97      <div class="form-group m-3">
 98        <label for="username" class="form-label">Username</label>
 99        <input type="text" class="form-control" id="username" aria-describedby="emailHelp">
100      </div>
101      <div class="form-group m-3">
102        <label for="password" class="form-label">Password</label>
103        <input type="password" class="form-control" id="password">
104      </div>
105      <div class="form-group m-3">
106        <button type="submit" class="btn btn-primary">Login</button>
107      </div>
108    </form>
109  </div>
110</div>
111`)
112//line templates/login.qtpl:28
113}
114
115//line templates/login.qtpl:28
116func (p *LoginPage) WriteContent(qq422016 qtio422016.Writer) {
117//line templates/login.qtpl:28
118	qw422016 := qt422016.AcquireWriter(qq422016)
119//line templates/login.qtpl:28
120	p.StreamContent(qw422016)
121//line templates/login.qtpl:28
122	qt422016.ReleaseWriter(qw422016)
123//line templates/login.qtpl:28
124}
125
126//line templates/login.qtpl:28
127func (p *LoginPage) Content() string {
128//line templates/login.qtpl:28
129	qb422016 := qt422016.AcquireByteBuffer()
130//line templates/login.qtpl:28
131	p.WriteContent(qb422016)
132//line templates/login.qtpl:28
133	qs422016 := string(qb422016.B)
134//line templates/login.qtpl:28
135	qt422016.ReleaseByteBuffer(qb422016)
136//line templates/login.qtpl:28
137	return qs422016
138//line templates/login.qtpl:28
139}
140
141//line templates/login.qtpl:30
142func (p *LoginPage) StreamScript(qw422016 *qt422016.Writer) {
143//line templates/login.qtpl:30
144	qw422016.N().S(`
145`)
146//line templates/login.qtpl:31
147}
148
149//line templates/login.qtpl:31
150func (p *LoginPage) WriteScript(qq422016 qtio422016.Writer) {
151//line templates/login.qtpl:31
152	qw422016 := qt422016.AcquireWriter(qq422016)
153//line templates/login.qtpl:31
154	p.StreamScript(qw422016)
155//line templates/login.qtpl:31
156	qt422016.ReleaseWriter(qw422016)
157//line templates/login.qtpl:31
158}
159
160//line templates/login.qtpl:31
161func (p *LoginPage) Script() string {
162//line templates/login.qtpl:31
163	qb422016 := qt422016.AcquireByteBuffer()
164//line templates/login.qtpl:31
165	p.WriteScript(qb422016)
166//line templates/login.qtpl:31
167	qs422016 := string(qb422016.B)
168//line templates/login.qtpl:31
169	qt422016.ReleaseByteBuffer(qb422016)
170//line templates/login.qtpl:31
171	return qs422016
172//line templates/login.qtpl:31
173}