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`)
96//line config.qtpl:12
97 qw422016.N().Z(p.Body)
98//line config.qtpl:12
99 qw422016.N().S(`
100`)
101//line config.qtpl:13
102}
103
104//line config.qtpl:13
105func (p *ConfigPage) WriteContent(qq422016 qtio422016.Writer) {
106//line config.qtpl:13
107 qw422016 := qt422016.AcquireWriter(qq422016)
108//line config.qtpl:13
109 p.StreamContent(qw422016)
110//line config.qtpl:13
111 qt422016.ReleaseWriter(qw422016)
112//line config.qtpl:13
113}
114
115//line config.qtpl:13
116func (p *ConfigPage) Content() string {
117//line config.qtpl:13
118 qb422016 := qt422016.AcquireByteBuffer()
119//line config.qtpl:13
120 p.WriteContent(qb422016)
121//line config.qtpl:13
122 qs422016 := string(qb422016.B)
123//line config.qtpl:13
124 qt422016.ReleaseByteBuffer(qb422016)
125//line config.qtpl:13
126 return qs422016
127//line config.qtpl:13
128}
129
130//line config.qtpl:15
131func (p *ConfigPage) StreamScript(qw422016 *qt422016.Writer) {
132//line config.qtpl:15
133 qw422016.N().S(`
134`)
135//line config.qtpl:16
136}
137
138//line config.qtpl:16
139func (p *ConfigPage) WriteScript(qq422016 qtio422016.Writer) {
140//line config.qtpl:16
141 qw422016 := qt422016.AcquireWriter(qq422016)
142//line config.qtpl:16
143 p.StreamScript(qw422016)
144//line config.qtpl:16
145 qt422016.ReleaseWriter(qw422016)
146//line config.qtpl:16
147}
148
149//line config.qtpl:16
150func (p *ConfigPage) Script() string {
151//line config.qtpl:16
152 qb422016 := qt422016.AcquireByteBuffer()
153//line config.qtpl:16
154 p.WriteScript(qb422016)
155//line config.qtpl:16
156 qs422016 := string(qb422016.B)
157//line config.qtpl:16
158 qt422016.ReleaseByteBuffer(qb422016)
159//line config.qtpl:16
160 return qs422016
161//line config.qtpl:16
162}