// Code generated by qtc from "components.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. // CommonHeader writes common header for /targets-like pages //line lib/htmlcomponents/components.qtpl:4 package htmlcomponents //line lib/htmlcomponents/components.qtpl:4 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) //line lib/htmlcomponents/components.qtpl:4 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) //line lib/htmlcomponents/components.qtpl:4 func StreamCommonHeader(qw422016 *qt422016.Writer) { //line lib/htmlcomponents/components.qtpl:4 qw422016.N().S(``) //line lib/htmlcomponents/components.qtpl:9 } //line lib/htmlcomponents/components.qtpl:9 func WriteCommonHeader(qq422016 qtio422016.Writer) { //line lib/htmlcomponents/components.qtpl:9 qw422016 := qt422016.AcquireWriter(qq422016) //line lib/htmlcomponents/components.qtpl:9 StreamCommonHeader(qw422016) //line lib/htmlcomponents/components.qtpl:9 qt422016.ReleaseWriter(qw422016) //line lib/htmlcomponents/components.qtpl:9 } //line lib/htmlcomponents/components.qtpl:9 func CommonHeader() string { //line lib/htmlcomponents/components.qtpl:9 qb422016 := qt422016.AcquireByteBuffer() //line lib/htmlcomponents/components.qtpl:9 WriteCommonHeader(qb422016) //line lib/htmlcomponents/components.qtpl:9 qs422016 := string(qb422016.B) //line lib/htmlcomponents/components.qtpl:9 qt422016.ReleaseByteBuffer(qb422016) //line lib/htmlcomponents/components.qtpl:9 return qs422016 //line lib/htmlcomponents/components.qtpl:9 } // Navbar writes navigation bar for /targets-like pages //line lib/htmlcomponents/components.qtpl:12 func StreamNavbar(qw422016 *qt422016.Writer) { //line lib/htmlcomponents/components.qtpl:12 qw422016.N().S(``) //line lib/htmlcomponents/components.qtpl:21 } //line lib/htmlcomponents/components.qtpl:21 func WriteNavbar(qq422016 qtio422016.Writer) { //line lib/htmlcomponents/components.qtpl:21 qw422016 := qt422016.AcquireWriter(qq422016) //line lib/htmlcomponents/components.qtpl:21 StreamNavbar(qw422016) //line lib/htmlcomponents/components.qtpl:21 qt422016.ReleaseWriter(qw422016) //line lib/htmlcomponents/components.qtpl:21 } //line lib/htmlcomponents/components.qtpl:21 func Navbar() string { //line lib/htmlcomponents/components.qtpl:21 qb422016 := qt422016.AcquireByteBuffer() //line lib/htmlcomponents/components.qtpl:21 WriteNavbar(qb422016) //line lib/htmlcomponents/components.qtpl:21 qs422016 := string(qb422016.B) //line lib/htmlcomponents/components.qtpl:21 qt422016.ReleaseByteBuffer(qb422016) //line lib/htmlcomponents/components.qtpl:21 return qs422016 //line lib/htmlcomponents/components.qtpl:21 } // ErrorNotification writes the given err as error notification //line lib/htmlcomponents/components.qtpl:24 func StreamErrorNotification(qw422016 *qt422016.Writer, err error) { //line lib/htmlcomponents/components.qtpl:24 qw422016.N().S(``) //line lib/htmlcomponents/components.qtpl:32 } //line lib/htmlcomponents/components.qtpl:32 func WriteErrorNotification(qq422016 qtio422016.Writer, err error) { //line lib/htmlcomponents/components.qtpl:32 qw422016 := qt422016.AcquireWriter(qq422016) //line lib/htmlcomponents/components.qtpl:32 StreamErrorNotification(qw422016, err) //line lib/htmlcomponents/components.qtpl:32 qt422016.ReleaseWriter(qw422016) //line lib/htmlcomponents/components.qtpl:32 } //line lib/htmlcomponents/components.qtpl:32 func ErrorNotification(err error) string { //line lib/htmlcomponents/components.qtpl:32 qb422016 := qt422016.AcquireByteBuffer() //line lib/htmlcomponents/components.qtpl:32 WriteErrorNotification(qb422016, err) //line lib/htmlcomponents/components.qtpl:32 qs422016 := string(qb422016.B) //line lib/htmlcomponents/components.qtpl:32 qt422016.ReleaseByteBuffer(qb422016) //line lib/htmlcomponents/components.qtpl:32 return qs422016 //line lib/htmlcomponents/components.qtpl:32 }