github.com/kyleu/dbaudit@v0.0.2-0.20240321155047-ff2f2c940496/views/components/ExpandCollapse.html.go (about) 1 // Code generated by qtc from "ExpandCollapse.html". DO NOT EDIT. 2 // See https://github.com/valyala/quicktemplate for details. 3 4 // <!-- Content managed by Project Forge, see [projectforge.md] for details. --> 5 6 //line views/components/ExpandCollapse.html:2 7 package components 8 9 //line views/components/ExpandCollapse.html:2 10 import "github.com/kyleu/dbaudit/app/controller/cutil" 11 12 //line views/components/ExpandCollapse.html:4 13 import ( 14 qtio422016 "io" 15 16 qt422016 "github.com/valyala/quicktemplate" 17 ) 18 19 //line views/components/ExpandCollapse.html:4 20 var ( 21 _ = qtio422016.Copy 22 _ = qt422016.AcquireByteBuffer 23 ) 24 25 //line views/components/ExpandCollapse.html:4 26 func StreamExpandCollapse(qw422016 *qt422016.Writer, indent int, ps *cutil.PageState) { 27 //line views/components/ExpandCollapse.html:5 28 StreamIndent(qw422016, true, indent) 29 //line views/components/ExpandCollapse.html:6 30 StreamSVGRef(qw422016, `right`, 15, 15, `expand-collapse`, ps) 31 //line views/components/ExpandCollapse.html:7 32 } 33 34 //line views/components/ExpandCollapse.html:7 35 func WriteExpandCollapse(qq422016 qtio422016.Writer, indent int, ps *cutil.PageState) { 36 //line views/components/ExpandCollapse.html:7 37 qw422016 := qt422016.AcquireWriter(qq422016) 38 //line views/components/ExpandCollapse.html:7 39 StreamExpandCollapse(qw422016, indent, ps) 40 //line views/components/ExpandCollapse.html:7 41 qt422016.ReleaseWriter(qw422016) 42 //line views/components/ExpandCollapse.html:7 43 } 44 45 //line views/components/ExpandCollapse.html:7 46 func ExpandCollapse(indent int, ps *cutil.PageState) string { 47 //line views/components/ExpandCollapse.html:7 48 qb422016 := qt422016.AcquireByteBuffer() 49 //line views/components/ExpandCollapse.html:7 50 WriteExpandCollapse(qb422016, indent, ps) 51 //line views/components/ExpandCollapse.html:7 52 qs422016 := string(qb422016.B) 53 //line views/components/ExpandCollapse.html:7 54 qt422016.ReleaseByteBuffer(qb422016) 55 //line views/components/ExpandCollapse.html:7 56 return qs422016 57 //line views/components/ExpandCollapse.html:7 58 }