// 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:33 qw422016.N().D(pageCount) //line templates/stuff.qtpl:33 qw422016.N().S(` hyphae.

`) //line templates/stuff.qtpl:42 qw422016.N().S(tbody) //line templates/stuff.qtpl:42 qw422016.N().S(`
Full name Binary part type
`) //line templates/stuff.qtpl:47 } //line templates/stuff.qtpl:47 func WriteHyphaListHTML(qq422016 qtio422016.Writer, tbody string, pageCount int) { //line templates/stuff.qtpl:47 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/stuff.qtpl:47 StreamHyphaListHTML(qw422016, tbody, pageCount) //line templates/stuff.qtpl:47 qt422016.ReleaseWriter(qw422016) //line templates/stuff.qtpl:47 } //line templates/stuff.qtpl:47 func HyphaListHTML(tbody string, pageCount int) string { //line templates/stuff.qtpl:47 qb422016 := qt422016.AcquireByteBuffer() //line templates/stuff.qtpl:47 WriteHyphaListHTML(qb422016, tbody, pageCount) //line templates/stuff.qtpl:47 qs422016 := string(qb422016.B) //line templates/stuff.qtpl:47 qt422016.ReleaseByteBuffer(qb422016) //line templates/stuff.qtpl:47 return qs422016 //line templates/stuff.qtpl:47 } //line templates/stuff.qtpl:49 func StreamHyphaListRowHTML(qw422016 *qt422016.Writer, hyphaName, binaryMime string, binaryPresent bool) { //line templates/stuff.qtpl:49 qw422016.N().S(` `) //line templates/stuff.qtpl:51 qw422016.E().S(hyphaName) //line templates/stuff.qtpl:51 qw422016.N().S(` `) //line templates/stuff.qtpl:52 if binaryPresent { //line templates/stuff.qtpl:52 qw422016.N().S(` `) //line templates/stuff.qtpl:53 qw422016.E().S(binaryMime) //line templates/stuff.qtpl:53 qw422016.N().S(` `) //line templates/stuff.qtpl:54 } else { //line templates/stuff.qtpl:54 qw422016.N().S(` `) //line templates/stuff.qtpl:56 } //line templates/stuff.qtpl:56 qw422016.N().S(` `) //line templates/stuff.qtpl:58 } //line templates/stuff.qtpl:58 func WriteHyphaListRowHTML(qq422016 qtio422016.Writer, hyphaName, binaryMime string, binaryPresent bool) { //line templates/stuff.qtpl:58 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/stuff.qtpl:58 StreamHyphaListRowHTML(qw422016, hyphaName, binaryMime, binaryPresent) //line templates/stuff.qtpl:58 qt422016.ReleaseWriter(qw422016) //line templates/stuff.qtpl:58 } //line templates/stuff.qtpl:58 func HyphaListRowHTML(hyphaName, binaryMime string, binaryPresent bool) string { //line templates/stuff.qtpl:58 qb422016 := qt422016.AcquireByteBuffer() //line templates/stuff.qtpl:58 WriteHyphaListRowHTML(qb422016, hyphaName, binaryMime, binaryPresent) //line templates/stuff.qtpl:58 qs422016 := string(qb422016.B) //line templates/stuff.qtpl:58 qt422016.ReleaseByteBuffer(qb422016) //line templates/stuff.qtpl:58 return qs422016 //line templates/stuff.qtpl:58 } //line templates/stuff.qtpl:60 func StreamAboutHTML(qw422016 *qt422016.Writer) { //line templates/stuff.qtpl:60 qw422016.N().S(`

About `) //line templates/stuff.qtpl:64 qw422016.E().S(util.SiteName) //line templates/stuff.qtpl:64 qw422016.N().S(`

See /list for information about hyphae on this wiki.

`) //line templates/stuff.qtpl:82 } //line templates/stuff.qtpl:82 func WriteAboutHTML(qq422016 qtio422016.Writer) { //line templates/stuff.qtpl:82 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/stuff.qtpl:82 StreamAboutHTML(qw422016) //line templates/stuff.qtpl:82 qt422016.ReleaseWriter(qw422016) //line templates/stuff.qtpl:82 } //line templates/stuff.qtpl:82 func AboutHTML() string { //line templates/stuff.qtpl:82 qb422016 := qt422016.AcquireByteBuffer() //line templates/stuff.qtpl:82 WriteAboutHTML(qb422016) //line templates/stuff.qtpl:82 qs422016 := string(qb422016.B) //line templates/stuff.qtpl:82 qt422016.ReleaseByteBuffer(qb422016) //line templates/stuff.qtpl:82 return qs422016 //line templates/stuff.qtpl:82 }