// Code generated by qtc from "http_stuff.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
//line templates/http_stuff.qtpl:1
package templates
//line templates/http_stuff.qtpl:1
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
//line templates/http_stuff.qtpl:1
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
//line templates/http_stuff.qtpl:1
func StreamBaseHTML(qw422016 *qt422016.Writer, title, body string) {
//line templates/http_stuff.qtpl:1
qw422016.N().S(`
`)
//line templates/http_stuff.qtpl:7
qw422016.E().S(title)
//line templates/http_stuff.qtpl:7
qw422016.N().S(`
`)
//line templates/http_stuff.qtpl:10
qw422016.N().S(body)
//line templates/http_stuff.qtpl:10
qw422016.N().S(`
`)
//line templates/http_stuff.qtpl:13
}
//line templates/http_stuff.qtpl:13
func WriteBaseHTML(qq422016 qtio422016.Writer, title, body string) {
//line templates/http_stuff.qtpl:13
qw422016 := qt422016.AcquireWriter(qq422016)
//line templates/http_stuff.qtpl:13
StreamBaseHTML(qw422016, title, body)
//line templates/http_stuff.qtpl:13
qt422016.ReleaseWriter(qw422016)
//line templates/http_stuff.qtpl:13
}
//line templates/http_stuff.qtpl:13
func BaseHTML(title, body string) string {
//line templates/http_stuff.qtpl:13
qb422016 := qt422016.AcquireByteBuffer()
//line templates/http_stuff.qtpl:13
WriteBaseHTML(qb422016, title, body)
//line templates/http_stuff.qtpl:13
qs422016 := string(qb422016.B)
//line templates/http_stuff.qtpl:13
qt422016.ReleaseByteBuffer(qb422016)
//line templates/http_stuff.qtpl:13
return qs422016
//line templates/http_stuff.qtpl:13
}
//line templates/http_stuff.qtpl:15
func StreamHyphaListHTML(qw422016 *qt422016.Writer, tbody string, pageCount int) {
//line templates/http_stuff.qtpl:15
qw422016.N().S(`
List of hyphae
This wiki has `)
//line templates/http_stuff.qtpl:18
qw422016.N().D(pageCount)
//line templates/http_stuff.qtpl:18
qw422016.N().S(` hyphae.
Full name |
Binary part type |
`)
//line templates/http_stuff.qtpl:27
qw422016.N().S(tbody)
//line templates/http_stuff.qtpl:27
qw422016.N().S(`
`)
//line templates/http_stuff.qtpl:31
}
//line templates/http_stuff.qtpl:31
func WriteHyphaListHTML(qq422016 qtio422016.Writer, tbody string, pageCount int) {
//line templates/http_stuff.qtpl:31
qw422016 := qt422016.AcquireWriter(qq422016)
//line templates/http_stuff.qtpl:31
StreamHyphaListHTML(qw422016, tbody, pageCount)
//line templates/http_stuff.qtpl:31
qt422016.ReleaseWriter(qw422016)
//line templates/http_stuff.qtpl:31
}
//line templates/http_stuff.qtpl:31
func HyphaListHTML(tbody string, pageCount int) string {
//line templates/http_stuff.qtpl:31
qb422016 := qt422016.AcquireByteBuffer()
//line templates/http_stuff.qtpl:31
WriteHyphaListHTML(qb422016, tbody, pageCount)
//line templates/http_stuff.qtpl:31
qs422016 := string(qb422016.B)
//line templates/http_stuff.qtpl:31
qt422016.ReleaseByteBuffer(qb422016)
//line templates/http_stuff.qtpl:31
return qs422016
//line templates/http_stuff.qtpl:31
}
//line templates/http_stuff.qtpl:33
func StreamHyphaListRowHTML(qw422016 *qt422016.Writer, hyphaName, binaryMime string, binaryPresent bool) {
//line templates/http_stuff.qtpl:33
qw422016.N().S(`
`)
//line templates/http_stuff.qtpl:35
qw422016.E().S(hyphaName)
//line templates/http_stuff.qtpl:35
qw422016.N().S(` |
`)
//line templates/http_stuff.qtpl:36
if binaryPresent {
//line templates/http_stuff.qtpl:36
qw422016.N().S(`
`)
//line templates/http_stuff.qtpl:37
qw422016.E().S(binaryMime)
//line templates/http_stuff.qtpl:37
qw422016.N().S(` |
`)
//line templates/http_stuff.qtpl:38
} else {
//line templates/http_stuff.qtpl:38
qw422016.N().S(`
|
`)
//line templates/http_stuff.qtpl:40
}
//line templates/http_stuff.qtpl:40
qw422016.N().S(`
`)
//line templates/http_stuff.qtpl:42
}
//line templates/http_stuff.qtpl:42
func WriteHyphaListRowHTML(qq422016 qtio422016.Writer, hyphaName, binaryMime string, binaryPresent bool) {
//line templates/http_stuff.qtpl:42
qw422016 := qt422016.AcquireWriter(qq422016)
//line templates/http_stuff.qtpl:42
StreamHyphaListRowHTML(qw422016, hyphaName, binaryMime, binaryPresent)
//line templates/http_stuff.qtpl:42
qt422016.ReleaseWriter(qw422016)
//line templates/http_stuff.qtpl:42
}
//line templates/http_stuff.qtpl:42
func HyphaListRowHTML(hyphaName, binaryMime string, binaryPresent bool) string {
//line templates/http_stuff.qtpl:42
qb422016 := qt422016.AcquireByteBuffer()
//line templates/http_stuff.qtpl:42
WriteHyphaListRowHTML(qb422016, hyphaName, binaryMime, binaryPresent)
//line templates/http_stuff.qtpl:42
qs422016 := string(qb422016.B)
//line templates/http_stuff.qtpl:42
qt422016.ReleaseByteBuffer(qb422016)
//line templates/http_stuff.qtpl:42
return qs422016
//line templates/http_stuff.qtpl:42
}