From 18aa098f50e2a2c7db01dd4d04dde460fd40f5d5 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 7 Jun 2024 14:02:25 +0200 Subject: feat: Add blob endpoint --- templates/navbar.qtpl.go | 134 +++++++++++++++++++++++------------------------ 1 file changed, 66 insertions(+), 68 deletions(-) (limited to 'templates/navbar.qtpl.go') diff --git a/templates/navbar.qtpl.go b/templates/navbar.qtpl.go index cddc6a6..a2989db 100644 --- a/templates/navbar.qtpl.go +++ b/templates/navbar.qtpl.go @@ -86,167 +86,165 @@ func StreamNavbar(qw422016 *qt422016.Writer, s Selection) { streaminsertIfEqual(qw422016, s, Git) //line navbar.qtpl:27 qw422016.N().S(`" href="/">git +`) +//line navbar.qtpl:31 + qw422016.N().S(` list - about config `) -//line navbar.qtpl:33 +//line navbar.qtpl:36 } -//line navbar.qtpl:33 +//line navbar.qtpl:36 func WriteNavbar(qq422016 qtio422016.Writer, s Selection) { -//line navbar.qtpl:33 +//line navbar.qtpl:36 qw422016 := qt422016.AcquireWriter(qq422016) -//line navbar.qtpl:33 +//line navbar.qtpl:36 StreamNavbar(qw422016, s) -//line navbar.qtpl:33 +//line navbar.qtpl:36 qt422016.ReleaseWriter(qw422016) -//line navbar.qtpl:33 +//line navbar.qtpl:36 } -//line navbar.qtpl:33 +//line navbar.qtpl:36 func Navbar(s Selection) string { -//line navbar.qtpl:33 +//line navbar.qtpl:36 qb422016 := qt422016.AcquireByteBuffer() -//line navbar.qtpl:33 +//line navbar.qtpl:36 WriteNavbar(qb422016, s) -//line navbar.qtpl:33 +//line navbar.qtpl:36 qs422016 := string(qb422016.B) -//line navbar.qtpl:33 +//line navbar.qtpl:36 qt422016.ReleaseByteBuffer(qb422016) -//line navbar.qtpl:33 +//line navbar.qtpl:36 return qs422016 -//line navbar.qtpl:33 +//line navbar.qtpl:36 } -//line navbar.qtpl:35 +//line navbar.qtpl:38 func StreamGitItemNav(qw422016 *qt422016.Writer, name, ref string, s GitSelection) { -//line navbar.qtpl:35 +//line navbar.qtpl:38 qw422016.N().S(`

`) -//line navbar.qtpl:37 +//line navbar.qtpl:40 qw422016.E().S(name) -//line navbar.qtpl:37 +//line navbar.qtpl:40 qw422016.N().S(` `) -//line navbar.qtpl:37 +//line navbar.qtpl:40 if ref != "" && (s == Log || s == Tree) { -//line navbar.qtpl:37 +//line navbar.qtpl:40 qw422016.N().S(`@ `) -//line navbar.qtpl:37 +//line navbar.qtpl:40 qw422016.E().S(ref) -//line navbar.qtpl:37 +//line navbar.qtpl:40 } -//line navbar.qtpl:37 +//line navbar.qtpl:40 qw422016.N().S(`

`) -//line navbar.qtpl:58 +//line navbar.qtpl:61 } -//line navbar.qtpl:58 +//line navbar.qtpl:61 func WriteGitItemNav(qq422016 qtio422016.Writer, name, ref string, s GitSelection) { -//line navbar.qtpl:58 +//line navbar.qtpl:61 qw422016 := qt422016.AcquireWriter(qq422016) -//line navbar.qtpl:58 +//line navbar.qtpl:61 StreamGitItemNav(qw422016, name, ref, s) -//line navbar.qtpl:58 +//line navbar.qtpl:61 qt422016.ReleaseWriter(qw422016) -//line navbar.qtpl:58 +//line navbar.qtpl:61 } -//line navbar.qtpl:58 +//line navbar.qtpl:61 func GitItemNav(name, ref string, s GitSelection) string { -//line navbar.qtpl:58 +//line navbar.qtpl:61 qb422016 := qt422016.AcquireByteBuffer() -//line navbar.qtpl:58 +//line navbar.qtpl:61 WriteGitItemNav(qb422016, name, ref, s) -//line navbar.qtpl:58 +//line navbar.qtpl:61 qs422016 := string(qb422016.B) -//line navbar.qtpl:58 +//line navbar.qtpl:61 qt422016.ReleaseByteBuffer(qb422016) -//line navbar.qtpl:58 +//line navbar.qtpl:61 return qs422016 -//line navbar.qtpl:58 +//line navbar.qtpl:61 } -- cgit v1.2.3