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