diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-05 16:53:15 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-05 16:53:15 +0200 |
commit | 6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d (patch) | |
tree | 6b568c854674295941cc1b827b3017879e66ebe5 /templates/config.qtpl.go | |
parent | ada6a68b4f25c912705542a6b03aae7ffffb5e99 (diff) | |
download | cerrado-6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d.tar.gz cerrado-6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d.tar.bz2 cerrado-6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d.zip |
feat: Remove config page
That page was created as playground and had some debug purpose. Now
that is not longer used and with introduction of sensible information
(hash and aes-key) that has to go.
Diffstat (limited to 'templates/config.qtpl.go')
-rw-r--r-- | templates/config.qtpl.go | 165 |
1 files changed, 0 insertions, 165 deletions
diff --git a/templates/config.qtpl.go b/templates/config.qtpl.go deleted file mode 100644 index 975fea3..0000000 --- a/templates/config.qtpl.go +++ /dev/null @@ -1,165 +0,0 @@ -// 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 -} |