cerrado @ ada6a68b4f25c912705542a6b03aae7ffffb5e99

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