cerrado @ a47effe083d70cae7f039ff207087447a7a82ee0

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