diff options
Diffstat (limited to 'templates/error.qtpl.go')
-rw-r--r-- | templates/error.qtpl.go | 162 |
1 files changed, 162 insertions, 0 deletions
diff --git a/templates/error.qtpl.go b/templates/error.qtpl.go new file mode 100644 index 0000000..099395f --- /dev/null +++ b/templates/error.qtpl.go @@ -0,0 +1,162 @@ +// Code generated by qtc from "error.qtpl". DO NOT EDIT. +// See https://github.com/valyala/quicktemplate for details. + +//line error.qtpl:1 +package templates + +//line error.qtpl:1 +import ( + qtio422016 "io" + + qt422016 "github.com/valyala/quicktemplate" +) + +//line error.qtpl:1 +var ( + _ = qtio422016.Copy + _ = qt422016.AcquireByteBuffer +) + +//line error.qtpl:2 +type ErrorPage struct { + Message string +} + +//line error.qtpl:7 +func (p *ErrorPage) StreamTitle(qw422016 *qt422016.Writer) { +//line error.qtpl:7 + qw422016.N().S(`Error`) +//line error.qtpl:7 +} + +//line error.qtpl:7 +func (p *ErrorPage) WriteTitle(qq422016 qtio422016.Writer) { +//line error.qtpl:7 + qw422016 := qt422016.AcquireWriter(qq422016) +//line error.qtpl:7 + p.StreamTitle(qw422016) +//line error.qtpl:7 + qt422016.ReleaseWriter(qw422016) +//line error.qtpl:7 +} + +//line error.qtpl:7 +func (p *ErrorPage) Title() string { +//line error.qtpl:7 + qb422016 := qt422016.AcquireByteBuffer() +//line error.qtpl:7 + p.WriteTitle(qb422016) +//line error.qtpl:7 + qs422016 := string(qb422016.B) +//line error.qtpl:7 + qt422016.ReleaseByteBuffer(qb422016) +//line error.qtpl:7 + return qs422016 +//line error.qtpl:7 +} + +//line error.qtpl:9 +func (p *ErrorPage) StreamNavbar(qw422016 *qt422016.Writer) { +//line error.qtpl:9 + StreamNavbar(qw422016, Git) +//line error.qtpl:9 +} + +//line error.qtpl:9 +func (p *ErrorPage) WriteNavbar(qq422016 qtio422016.Writer) { +//line error.qtpl:9 + qw422016 := qt422016.AcquireWriter(qq422016) +//line error.qtpl:9 + p.StreamNavbar(qw422016) +//line error.qtpl:9 + qt422016.ReleaseWriter(qw422016) +//line error.qtpl:9 +} + +//line error.qtpl:9 +func (p *ErrorPage) Navbar() string { +//line error.qtpl:9 + qb422016 := qt422016.AcquireByteBuffer() +//line error.qtpl:9 + p.WriteNavbar(qb422016) +//line error.qtpl:9 + qs422016 := string(qb422016.B) +//line error.qtpl:9 + qt422016.ReleaseByteBuffer(qb422016) +//line error.qtpl:9 + return qs422016 +//line error.qtpl:9 +} + +//line error.qtpl:11 +func (p *ErrorPage) StreamContent(qw422016 *qt422016.Writer) { +//line error.qtpl:11 + qw422016.N().S(` +`) +//line error.qtpl:12 + qw422016.E().S(p.Message) +//line error.qtpl:12 + qw422016.N().S(` +`) +//line error.qtpl:13 +} + +//line error.qtpl:13 +func (p *ErrorPage) WriteContent(qq422016 qtio422016.Writer) { +//line error.qtpl:13 + qw422016 := qt422016.AcquireWriter(qq422016) +//line error.qtpl:13 + p.StreamContent(qw422016) +//line error.qtpl:13 + qt422016.ReleaseWriter(qw422016) +//line error.qtpl:13 +} + +//line error.qtpl:13 +func (p *ErrorPage) Content() string { +//line error.qtpl:13 + qb422016 := qt422016.AcquireByteBuffer() +//line error.qtpl:13 + p.WriteContent(qb422016) +//line error.qtpl:13 + qs422016 := string(qb422016.B) +//line error.qtpl:13 + qt422016.ReleaseByteBuffer(qb422016) +//line error.qtpl:13 + return qs422016 +//line error.qtpl:13 +} + +//line error.qtpl:15 +func (p *ErrorPage) StreamScript(qw422016 *qt422016.Writer) { +//line error.qtpl:15 + qw422016.N().S(` +`) +//line error.qtpl:16 +} + +//line error.qtpl:16 +func (p *ErrorPage) WriteScript(qq422016 qtio422016.Writer) { +//line error.qtpl:16 + qw422016 := qt422016.AcquireWriter(qq422016) +//line error.qtpl:16 + p.StreamScript(qw422016) +//line error.qtpl:16 + qt422016.ReleaseWriter(qw422016) +//line error.qtpl:16 +} + +//line error.qtpl:16 +func (p *ErrorPage) Script() string { +//line error.qtpl:16 + qb422016 := qt422016.AcquireByteBuffer() +//line error.qtpl:16 + p.WriteScript(qb422016) +//line error.qtpl:16 + qs422016 := string(qb422016.B) +//line error.qtpl:16 + qt422016.ReleaseByteBuffer(qb422016) +//line error.qtpl:16 + return qs422016 +//line error.qtpl:16 +} |