From 4534dffb865eb1a50bfbc291a5c3798183081caf Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 26 May 2024 20:33:37 +0200 Subject: feat: Add actual git listing implementation --- templates/gitlist.qtpl.go | 89 +++++++++++++++++++++++++---------------------- 1 file changed, 48 insertions(+), 41 deletions(-) (limited to 'templates/gitlist.qtpl.go') diff --git a/templates/gitlist.qtpl.go b/templates/gitlist.qtpl.go index b02eead..d16b8d5 100644 --- a/templates/gitlist.qtpl.go +++ b/templates/gitlist.qtpl.go @@ -76,100 +76,107 @@ func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer) { for _, r := range c { //line gitlist.qtpl:16 qw422016.N().S(` -
+ `) -//line gitlist.qtpl:28 +//line gitlist.qtpl:31 } -//line gitlist.qtpl:28 +//line gitlist.qtpl:31 qw422016.N().S(`
`) -//line gitlist.qtpl:30 +//line gitlist.qtpl:33 } -//line gitlist.qtpl:30 +//line gitlist.qtpl:33 qw422016.N().S(` `) -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 } -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 func (p *GitListPage) WriteContent(qq422016 qtio422016.Writer) { -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 qw422016 := qt422016.AcquireWriter(qq422016) -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 p.StreamContent(qw422016) -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 qt422016.ReleaseWriter(qw422016) -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 } -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 func (p *GitListPage) Content() string { -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 qb422016 := qt422016.AcquireByteBuffer() -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 p.WriteContent(qb422016) -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 qs422016 := string(qb422016.B) -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 qt422016.ReleaseByteBuffer(qb422016) -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 return qs422016 -//line gitlist.qtpl:31 +//line gitlist.qtpl:34 } -//line gitlist.qtpl:33 +//line gitlist.qtpl:36 func (p *GitListPage) StreamScript(qw422016 *qt422016.Writer) { -//line gitlist.qtpl:33 +//line gitlist.qtpl:36 qw422016.N().S(` `) -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 } -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 func (p *GitListPage) WriteScript(qq422016 qtio422016.Writer) { -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 qw422016 := qt422016.AcquireWriter(qq422016) -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 p.StreamScript(qw422016) -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 qt422016.ReleaseWriter(qw422016) -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 } -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 func (p *GitListPage) Script() string { -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 qb422016 := qt422016.AcquireByteBuffer() -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 p.WriteScript(qb422016) -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 qs422016 := string(qb422016.B) -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 qt422016.ReleaseByteBuffer(qb422016) -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 return qs422016 -//line gitlist.qtpl:34 +//line gitlist.qtpl:37 } -- cgit v1.2.3