cerrado @ 64d9bcc4e567a0f816a0388bf740baa4c01d2323

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