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