// 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 "github.com/bouncepaw/mycorrhiza/util" //line templates/http_stuff.qtpl:2 import "github.com/bouncepaw/mycorrhiza/user" //line templates/http_stuff.qtpl:4 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line templates/http_stuff.qtpl:4 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line templates/http_stuff.qtpl:4 func StreamBaseHTML(qw422016 *qt422016.Writer, title, body string, headElements ...string) { //line templates/http_stuff.qtpl:4 qw422016.N().S(` `) //line templates/http_stuff.qtpl:10 qw422016.E().S(title) //line templates/http_stuff.qtpl:10 qw422016.N().S(` `) //line templates/http_stuff.qtpl:11 for _, el := range headElements { //line templates/http_stuff.qtpl:11 qw422016.N().S(el) //line templates/http_stuff.qtpl:11 } //line templates/http_stuff.qtpl:11 qw422016.N().S(`
`) //line templates/http_stuff.qtpl:23 qw422016.N().S(body) //line templates/http_stuff.qtpl:23 qw422016.N().S(` `) //line templates/http_stuff.qtpl:26 } //line templates/http_stuff.qtpl:26 func WriteBaseHTML(qq422016 qtio422016.Writer, title, body string, headElements ...string) { //line templates/http_stuff.qtpl:26 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/http_stuff.qtpl:26 StreamBaseHTML(qw422016, title, body, headElements...) //line templates/http_stuff.qtpl:26 qt422016.ReleaseWriter(qw422016) //line templates/http_stuff.qtpl:26 } //line templates/http_stuff.qtpl:26 func BaseHTML(title, body string, headElements ...string) string { //line templates/http_stuff.qtpl:26 qb422016 := qt422016.AcquireByteBuffer() //line templates/http_stuff.qtpl:26 WriteBaseHTML(qb422016, title, body, headElements...) //line templates/http_stuff.qtpl:26 qs422016 := string(qb422016.B) //line templates/http_stuff.qtpl:26 qt422016.ReleaseByteBuffer(qb422016) //line templates/http_stuff.qtpl:26 return qs422016 //line templates/http_stuff.qtpl:26 } //line templates/http_stuff.qtpl:28 func StreamHyphaListHTML(qw422016 *qt422016.Writer, tbody string, pageCount int) { //line templates/http_stuff.qtpl:28 qw422016.N().S(`

List of hyphae

This wiki has `) //line templates/http_stuff.qtpl:31 qw422016.N().D(pageCount) //line templates/http_stuff.qtpl:31 qw422016.N().S(` hyphae.

`) //line templates/http_stuff.qtpl:40 qw422016.N().S(tbody) //line templates/http_stuff.qtpl:40 qw422016.N().S(`
Full name Binary part type
`) //line templates/http_stuff.qtpl:44 } //line templates/http_stuff.qtpl:44 func WriteHyphaListHTML(qq422016 qtio422016.Writer, tbody string, pageCount int) { //line templates/http_stuff.qtpl:44 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/http_stuff.qtpl:44 StreamHyphaListHTML(qw422016, tbody, pageCount) //line templates/http_stuff.qtpl:44 qt422016.ReleaseWriter(qw422016) //line templates/http_stuff.qtpl:44 } //line templates/http_stuff.qtpl:44 func HyphaListHTML(tbody string, pageCount int) string { //line templates/http_stuff.qtpl:44 qb422016 := qt422016.AcquireByteBuffer() //line templates/http_stuff.qtpl:44 WriteHyphaListHTML(qb422016, tbody, pageCount) //line templates/http_stuff.qtpl:44 qs422016 := string(qb422016.B) //line templates/http_stuff.qtpl:44 qt422016.ReleaseByteBuffer(qb422016) //line templates/http_stuff.qtpl:44 return qs422016 //line templates/http_stuff.qtpl:44 } //line templates/http_stuff.qtpl:46 func StreamHyphaListRowHTML(qw422016 *qt422016.Writer, hyphaName, binaryMime string, binaryPresent bool) { //line templates/http_stuff.qtpl:46 qw422016.N().S(` `) //line templates/http_stuff.qtpl:48 qw422016.E().S(hyphaName) //line templates/http_stuff.qtpl:48 qw422016.N().S(` `) //line templates/http_stuff.qtpl:49 if binaryPresent { //line templates/http_stuff.qtpl:49 qw422016.N().S(` `) //line templates/http_stuff.qtpl:50 qw422016.E().S(binaryMime) //line templates/http_stuff.qtpl:50 qw422016.N().S(` `) //line templates/http_stuff.qtpl:51 } else { //line templates/http_stuff.qtpl:51 qw422016.N().S(` `) //line templates/http_stuff.qtpl:53 } //line templates/http_stuff.qtpl:53 qw422016.N().S(` `) //line templates/http_stuff.qtpl:55 } //line templates/http_stuff.qtpl:55 func WriteHyphaListRowHTML(qq422016 qtio422016.Writer, hyphaName, binaryMime string, binaryPresent bool) { //line templates/http_stuff.qtpl:55 qw422016 := qt422016.AcquireWriter(qq422016) //line templates/http_stuff.qtpl:55 StreamHyphaListRowHTML(qw422016, hyphaName, binaryMime, binaryPresent) //line templates/http_stuff.qtpl:55 qt422016.ReleaseWriter(qw422016) //line templates/http_stuff.qtpl:55 } //line templates/http_stuff.qtpl:55 func HyphaListRowHTML(hyphaName, binaryMime string, binaryPresent bool) string { //line templates/http_stuff.qtpl:55 qb422016 := qt422016.AcquireByteBuffer() //line templates/http_stuff.qtpl:55 WriteHyphaListRowHTML(qb422016, hyphaName, binaryMime, binaryPresent) //line templates/http_stuff.qtpl:55 qs422016 := string(qb422016.B) //line templates/http_stuff.qtpl:55 qt422016.ReleaseByteBuffer(qb422016) //line templates/http_stuff.qtpl:55 return qs422016 //line templates/http_stuff.qtpl:55 } //line templates/http_stuff.qtpl:57 func StreamAboutHTML(qw422016 *qt422016.Writer) { //line templates/http_stuff.qtpl:57 qw422016.N().S(`

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

See /list for information about hyphae on this wiki.

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