aboutsummaryrefslogtreecommitdiff
path: root/templates/config.qtpl.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates/config.qtpl.go')
-rw-r--r--templates/config.qtpl.go132
1 files changed, 66 insertions, 66 deletions
diff --git a/templates/config.qtpl.go b/templates/config.qtpl.go
index 58b3881..975fea3 100644
--- a/templates/config.qtpl.go
+++ b/templates/config.qtpl.go
@@ -1,165 +1,165 @@
// Code generated by qtc from "config.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
-//line config.qtpl:1
+//line templates/config.qtpl:1
package templates
-//line config.qtpl:1
+//line templates/config.qtpl:1
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
-//line config.qtpl:1
+//line templates/config.qtpl:1
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
-//line config.qtpl:2
+//line templates/config.qtpl:2
type ConfigPage struct {
Body []byte
}
-//line config.qtpl:7
+//line templates/config.qtpl:7
func (p *ConfigPage) StreamTitle(qw422016 *qt422016.Writer) {
-//line config.qtpl:7
+//line templates/config.qtpl:7
qw422016.N().S(`Hello`)
-//line config.qtpl:7
+//line templates/config.qtpl:7
}
-//line config.qtpl:7
+//line templates/config.qtpl:7
func (p *ConfigPage) WriteTitle(qq422016 qtio422016.Writer) {
-//line config.qtpl:7
+//line templates/config.qtpl:7
qw422016 := qt422016.AcquireWriter(qq422016)
-//line config.qtpl:7
+//line templates/config.qtpl:7
p.StreamTitle(qw422016)
-//line config.qtpl:7
+//line templates/config.qtpl:7
qt422016.ReleaseWriter(qw422016)
-//line config.qtpl:7
+//line templates/config.qtpl:7
}
-//line config.qtpl:7
+//line templates/config.qtpl:7
func (p *ConfigPage) Title() string {
-//line config.qtpl:7
+//line templates/config.qtpl:7
qb422016 := qt422016.AcquireByteBuffer()
-//line config.qtpl:7
+//line templates/config.qtpl:7
p.WriteTitle(qb422016)
-//line config.qtpl:7
+//line templates/config.qtpl:7
qs422016 := string(qb422016.B)
-//line config.qtpl:7
+//line templates/config.qtpl:7
qt422016.ReleaseByteBuffer(qb422016)
-//line config.qtpl:7
+//line templates/config.qtpl:7
return qs422016
-//line config.qtpl:7
+//line templates/config.qtpl:7
}
-//line config.qtpl:9
+//line templates/config.qtpl:9
func (p *ConfigPage) StreamNavbar(qw422016 *qt422016.Writer) {
-//line config.qtpl:9
+//line templates/config.qtpl:9
StreamNavbar(qw422016, Config)
-//line config.qtpl:9
+//line templates/config.qtpl:9
}
-//line config.qtpl:9
+//line templates/config.qtpl:9
func (p *ConfigPage) WriteNavbar(qq422016 qtio422016.Writer) {
-//line config.qtpl:9
+//line templates/config.qtpl:9
qw422016 := qt422016.AcquireWriter(qq422016)
-//line config.qtpl:9
+//line templates/config.qtpl:9
p.StreamNavbar(qw422016)
-//line config.qtpl:9
+//line templates/config.qtpl:9
qt422016.ReleaseWriter(qw422016)
-//line config.qtpl:9
+//line templates/config.qtpl:9
}
-//line config.qtpl:9
+//line templates/config.qtpl:9
func (p *ConfigPage) Navbar() string {
-//line config.qtpl:9
+//line templates/config.qtpl:9
qb422016 := qt422016.AcquireByteBuffer()
-//line config.qtpl:9
+//line templates/config.qtpl:9
p.WriteNavbar(qb422016)
-//line config.qtpl:9
+//line templates/config.qtpl:9
qs422016 := string(qb422016.B)
-//line config.qtpl:9
+//line templates/config.qtpl:9
qt422016.ReleaseByteBuffer(qb422016)
-//line config.qtpl:9
+//line templates/config.qtpl:9
return qs422016
-//line config.qtpl:9
+//line templates/config.qtpl:9
}
-//line config.qtpl:11
+//line templates/config.qtpl:11
func (p *ConfigPage) StreamContent(qw422016 *qt422016.Writer) {
-//line config.qtpl:11
+//line templates/config.qtpl:11
qw422016.N().S(`
<p>This is the configuration that is currently loaded</p>
<div class="code-view">
`)
-//line config.qtpl:14
+//line templates/config.qtpl:14
qw422016.N().Z(p.Body)
-//line config.qtpl:14
+//line templates/config.qtpl:14
qw422016.N().S(`
</div>
`)
-//line config.qtpl:16
+//line templates/config.qtpl:16
}
-//line config.qtpl:16
+//line templates/config.qtpl:16
func (p *ConfigPage) WriteContent(qq422016 qtio422016.Writer) {
-//line config.qtpl:16
+//line templates/config.qtpl:16
qw422016 := qt422016.AcquireWriter(qq422016)
-//line config.qtpl:16
+//line templates/config.qtpl:16
p.StreamContent(qw422016)
-//line config.qtpl:16
+//line templates/config.qtpl:16
qt422016.ReleaseWriter(qw422016)
-//line config.qtpl:16
+//line templates/config.qtpl:16
}
-//line config.qtpl:16
+//line templates/config.qtpl:16
func (p *ConfigPage) Content() string {
-//line config.qtpl:16
+//line templates/config.qtpl:16
qb422016 := qt422016.AcquireByteBuffer()
-//line config.qtpl:16
+//line templates/config.qtpl:16
p.WriteContent(qb422016)
-//line config.qtpl:16
+//line templates/config.qtpl:16
qs422016 := string(qb422016.B)
-//line config.qtpl:16
+//line templates/config.qtpl:16
qt422016.ReleaseByteBuffer(qb422016)
-//line config.qtpl:16
+//line templates/config.qtpl:16
return qs422016
-//line config.qtpl:16
+//line templates/config.qtpl:16
}
-//line config.qtpl:18
+//line templates/config.qtpl:18
func (p *ConfigPage) StreamScript(qw422016 *qt422016.Writer) {
-//line config.qtpl:18
+//line templates/config.qtpl:18
qw422016.N().S(`
`)
-//line config.qtpl:19
+//line templates/config.qtpl:19
}
-//line config.qtpl:19
+//line templates/config.qtpl:19
func (p *ConfigPage) WriteScript(qq422016 qtio422016.Writer) {
-//line config.qtpl:19
+//line templates/config.qtpl:19
qw422016 := qt422016.AcquireWriter(qq422016)
-//line config.qtpl:19
+//line templates/config.qtpl:19
p.StreamScript(qw422016)
-//line config.qtpl:19
+//line templates/config.qtpl:19
qt422016.ReleaseWriter(qw422016)
-//line config.qtpl:19
+//line templates/config.qtpl:19
}
-//line config.qtpl:19
+//line templates/config.qtpl:19
func (p *ConfigPage) Script() string {
-//line config.qtpl:19
+//line templates/config.qtpl:19
qb422016 := qt422016.AcquireByteBuffer()
-//line config.qtpl:19
+//line templates/config.qtpl:19
p.WriteScript(qb422016)
-//line config.qtpl:19
+//line templates/config.qtpl:19
qs422016 := string(qb422016.B)
-//line config.qtpl:19
+//line templates/config.qtpl:19
qt422016.ReleaseByteBuffer(qb422016)
-//line config.qtpl:19
+//line templates/config.qtpl:19
return qs422016
-//line config.qtpl:19
+//line templates/config.qtpl:19
}