// Code generated by qtc from "stuff.qtpl". DO NOT EDIT.
// See https://github.com/valyala/quicktemplate for details.
//line templates/stuff.qtpl:1
package templates
//line templates/stuff.qtpl:1
import "github.com/bouncepaw/mycorrhiza/util"
//line templates/stuff.qtpl:2
import "github.com/bouncepaw/mycorrhiza/user"
//line templates/stuff.qtpl:4
import (
qtio422016 "io"
qt422016 "github.com/valyala/quicktemplate"
)
//line templates/stuff.qtpl:4
var (
_ = qtio422016.Copy
_ = qt422016.AcquireByteBuffer
)
//line templates/stuff.qtpl:4
func StreamBaseHTML(qw422016 *qt422016.Writer, title, body string, u *user.User, headElements ...string) {
//line templates/stuff.qtpl:4
qw422016.N().S(`
`)
//line templates/stuff.qtpl:10
qw422016.E().S(title)
//line templates/stuff.qtpl:10
qw422016.N().S(`
`)
//line templates/stuff.qtpl:11
for _, el := range headElements {
//line templates/stuff.qtpl:11
qw422016.N().S(el)
//line templates/stuff.qtpl:11
}
//line templates/stuff.qtpl:11
qw422016.N().S(`
`)
//line templates/stuff.qtpl:24
qw422016.N().S(body)
//line templates/stuff.qtpl:24
qw422016.N().S(`
`)
//line templates/stuff.qtpl:27
}
//line templates/stuff.qtpl:27
func WriteBaseHTML(qq422016 qtio422016.Writer, title, body string, u *user.User, headElements ...string) {
//line templates/stuff.qtpl:27
qw422016 := qt422016.AcquireWriter(qq422016)
//line templates/stuff.qtpl:27
StreamBaseHTML(qw422016, title, body, u, headElements...)
//line templates/stuff.qtpl:27
qt422016.ReleaseWriter(qw422016)
//line templates/stuff.qtpl:27
}
//line templates/stuff.qtpl:27
func BaseHTML(title, body string, u *user.User, headElements ...string) string {
//line templates/stuff.qtpl:27
qb422016 := qt422016.AcquireByteBuffer()
//line templates/stuff.qtpl:27
WriteBaseHTML(qb422016, title, body, u, headElements...)
//line templates/stuff.qtpl:27
qs422016 := string(qb422016.B)
//line templates/stuff.qtpl:27
qt422016.ReleaseByteBuffer(qb422016)
//line templates/stuff.qtpl:27
return qs422016
//line templates/stuff.qtpl:27
}
//line templates/stuff.qtpl:29
func StreamHyphaListHTML(qw422016 *qt422016.Writer, tbody string, pageCount int) {
//line templates/stuff.qtpl:29
qw422016.N().S(`
List of hyphae
This wiki has `)
//line templates/stuff.qtpl:32
qw422016.N().D(pageCount)
//line templates/stuff.qtpl:32
qw422016.N().S(` hyphae.
Full name |
Binary part type |
`)
//line templates/stuff.qtpl:41
qw422016.N().S(tbody)
//line templates/stuff.qtpl:41
qw422016.N().S(`
`)
//line templates/stuff.qtpl:45
}
//line templates/stuff.qtpl:45
func WriteHyphaListHTML(qq422016 qtio422016.Writer, tbody string, pageCount int) {
//line templates/stuff.qtpl:45
qw422016 := qt422016.AcquireWriter(qq422016)
//line templates/stuff.qtpl:45
StreamHyphaListHTML(qw422016, tbody, pageCount)
//line templates/stuff.qtpl:45
qt422016.ReleaseWriter(qw422016)
//line templates/stuff.qtpl:45
}
//line templates/stuff.qtpl:45
func HyphaListHTML(tbody string, pageCount int) string {
//line templates/stuff.qtpl:45
qb422016 := qt422016.AcquireByteBuffer()
//line templates/stuff.qtpl:45
WriteHyphaListHTML(qb422016, tbody, pageCount)
//line templates/stuff.qtpl:45
qs422016 := string(qb422016.B)
//line templates/stuff.qtpl:45
qt422016.ReleaseByteBuffer(qb422016)
//line templates/stuff.qtpl:45
return qs422016
//line templates/stuff.qtpl:45
}
//line templates/stuff.qtpl:47
func StreamHyphaListRowHTML(qw422016 *qt422016.Writer, hyphaName, binaryMime string, binaryPresent bool) {
//line templates/stuff.qtpl:47
qw422016.N().S(`
`)
//line templates/stuff.qtpl:49
qw422016.E().S(hyphaName)
//line templates/stuff.qtpl:49
qw422016.N().S(` |
`)
//line templates/stuff.qtpl:50
if binaryPresent {
//line templates/stuff.qtpl:50
qw422016.N().S(`
`)
//line templates/stuff.qtpl:51
qw422016.E().S(binaryMime)
//line templates/stuff.qtpl:51
qw422016.N().S(` |
`)
//line templates/stuff.qtpl:52
} else {
//line templates/stuff.qtpl:52
qw422016.N().S(`
|
`)
//line templates/stuff.qtpl:54
}
//line templates/stuff.qtpl:54
qw422016.N().S(`
`)
//line templates/stuff.qtpl:56
}
//line templates/stuff.qtpl:56
func WriteHyphaListRowHTML(qq422016 qtio422016.Writer, hyphaName, binaryMime string, binaryPresent bool) {
//line templates/stuff.qtpl:56
qw422016 := qt422016.AcquireWriter(qq422016)
//line templates/stuff.qtpl:56
StreamHyphaListRowHTML(qw422016, hyphaName, binaryMime, binaryPresent)
//line templates/stuff.qtpl:56
qt422016.ReleaseWriter(qw422016)
//line templates/stuff.qtpl:56
}
//line templates/stuff.qtpl:56
func HyphaListRowHTML(hyphaName, binaryMime string, binaryPresent bool) string {
//line templates/stuff.qtpl:56
qb422016 := qt422016.AcquireByteBuffer()
//line templates/stuff.qtpl:56
WriteHyphaListRowHTML(qb422016, hyphaName, binaryMime, binaryPresent)
//line templates/stuff.qtpl:56
qs422016 := string(qb422016.B)
//line templates/stuff.qtpl:56
qt422016.ReleaseByteBuffer(qb422016)
//line templates/stuff.qtpl:56
return qs422016
//line templates/stuff.qtpl:56
}
//line templates/stuff.qtpl:58
func StreamAboutHTML(qw422016 *qt422016.Writer) {
//line templates/stuff.qtpl:58
qw422016.N().S(`
About `)
//line templates/stuff.qtpl:61
qw422016.E().S(util.SiteName)
//line templates/stuff.qtpl:61
qw422016.N().S(`
See /list for information about hyphae on this wiki.
`)
//line templates/stuff.qtpl:78
}
//line templates/stuff.qtpl:78
func WriteAboutHTML(qq422016 qtio422016.Writer) {
//line templates/stuff.qtpl:78
qw422016 := qt422016.AcquireWriter(qq422016)
//line templates/stuff.qtpl:78
StreamAboutHTML(qw422016)
//line templates/stuff.qtpl:78
qt422016.ReleaseWriter(qw422016)
//line templates/stuff.qtpl:78
}
//line templates/stuff.qtpl:78
func AboutHTML() string {
//line templates/stuff.qtpl:78
qb422016 := qt422016.AcquireByteBuffer()
//line templates/stuff.qtpl:78
WriteAboutHTML(qb422016)
//line templates/stuff.qtpl:78
qs422016 := string(qb422016.B)
//line templates/stuff.qtpl:78
qt422016.ReleaseByteBuffer(qb422016)
//line templates/stuff.qtpl:78
return qs422016
//line templates/stuff.qtpl:78
}