// 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:8 } //line lib/htmlcomponents/components.qtpl:8 func WriteCommonHeader(qq422016 qtio422016.Writer) { //line lib/htmlcomponents/components.qtpl:8 qw422016 := qt422016.AcquireWriter(qq422016) //line lib/htmlcomponents/components.qtpl:8 StreamCommonHeader(qw422016) //line lib/htmlcomponents/components.qtpl:8 qt422016.ReleaseWriter(qw422016) //line lib/htmlcomponents/components.qtpl:8 } //line lib/htmlcomponents/components.qtpl:8 func CommonHeader() string { //line lib/htmlcomponents/components.qtpl:8 qb422016 := qt422016.AcquireByteBuffer() //line lib/htmlcomponents/components.qtpl:8 WriteCommonHeader(qb422016) //line lib/htmlcomponents/components.qtpl:8 qs422016 := string(qb422016.B) //line lib/htmlcomponents/components.qtpl:8 qt422016.ReleaseByteBuffer(qb422016) //line lib/htmlcomponents/components.qtpl:8 return qs422016 //line lib/htmlcomponents/components.qtpl:8 } // Navbar writes navigation bar for /targets-like pages //line lib/htmlcomponents/components.qtpl:11 func StreamNavbar(qw422016 *qt422016.Writer) { //line lib/htmlcomponents/components.qtpl:11 qw422016.N().S(``) //line lib/htmlcomponents/components.qtpl:20 } //line lib/htmlcomponents/components.qtpl:20 func WriteNavbar(qq422016 qtio422016.Writer) { //line lib/htmlcomponents/components.qtpl:20 qw422016 := qt422016.AcquireWriter(qq422016) //line lib/htmlcomponents/components.qtpl:20 StreamNavbar(qw422016) //line lib/htmlcomponents/components.qtpl:20 qt422016.ReleaseWriter(qw422016) //line lib/htmlcomponents/components.qtpl:20 } //line lib/htmlcomponents/components.qtpl:20 func Navbar() string { //line lib/htmlcomponents/components.qtpl:20 qb422016 := qt422016.AcquireByteBuffer() //line lib/htmlcomponents/components.qtpl:20 WriteNavbar(qb422016) //line lib/htmlcomponents/components.qtpl:20 qs422016 := string(qb422016.B) //line lib/htmlcomponents/components.qtpl:20 qt422016.ReleaseByteBuffer(qb422016) //line lib/htmlcomponents/components.qtpl:20 return qs422016 //line lib/htmlcomponents/components.qtpl:20 } // ErrorNotification writes the given err as error notification //line lib/htmlcomponents/components.qtpl:23 func StreamErrorNotification(qw422016 *qt422016.Writer, err error) { //line lib/htmlcomponents/components.qtpl:23 qw422016.N().S(``) //line lib/htmlcomponents/components.qtpl:31 } //line lib/htmlcomponents/components.qtpl:31 func WriteErrorNotification(qq422016 qtio422016.Writer, err error) { //line lib/htmlcomponents/components.qtpl:31 qw422016 := qt422016.AcquireWriter(qq422016) //line lib/htmlcomponents/components.qtpl:31 StreamErrorNotification(qw422016, err) //line lib/htmlcomponents/components.qtpl:31 qt422016.ReleaseWriter(qw422016) //line lib/htmlcomponents/components.qtpl:31 } //line lib/htmlcomponents/components.qtpl:31 func ErrorNotification(err error) string { //line lib/htmlcomponents/components.qtpl:31 qb422016 := qt422016.AcquireByteBuffer() //line lib/htmlcomponents/components.qtpl:31 WriteErrorNotification(qb422016, err) //line lib/htmlcomponents/components.qtpl:31 qs422016 := string(qb422016.B) //line lib/htmlcomponents/components.qtpl:31 qt422016.ReleaseByteBuffer(qb422016) //line lib/htmlcomponents/components.qtpl:31 return qs422016 //line lib/htmlcomponents/components.qtpl:31 }