From e9098e00fb6339b759df5b0df2e086cef8a7ce83 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 7 Jun 2024 23:02:54 +0200 Subject: feat: Rework some pages --- templates/navbar.qtpl.go | 130 +++++++++++++++++++++++------------------------ 1 file changed, 64 insertions(+), 66 deletions(-) (limited to 'templates/navbar.qtpl.go') diff --git a/templates/navbar.qtpl.go b/templates/navbar.qtpl.go index a2989db..1eacd6a 100644 --- a/templates/navbar.qtpl.go +++ b/templates/navbar.qtpl.go @@ -89,162 +89,160 @@ func StreamNavbar(qw422016 *qt422016.Writer, s Selection) { `) //line navbar.qtpl:31 qw422016.N().S(` +`) +//line navbar.qtpl:35 + qw422016.N().S(` about - config `) -//line navbar.qtpl:36 +//line navbar.qtpl:39 } -//line navbar.qtpl:36 +//line navbar.qtpl:39 func WriteNavbar(qq422016 qtio422016.Writer, s Selection) { -//line navbar.qtpl:36 +//line navbar.qtpl:39 qw422016 := qt422016.AcquireWriter(qq422016) -//line navbar.qtpl:36 +//line navbar.qtpl:39 StreamNavbar(qw422016, s) -//line navbar.qtpl:36 +//line navbar.qtpl:39 qt422016.ReleaseWriter(qw422016) -//line navbar.qtpl:36 +//line navbar.qtpl:39 } -//line navbar.qtpl:36 +//line navbar.qtpl:39 func Navbar(s Selection) string { -//line navbar.qtpl:36 +//line navbar.qtpl:39 qb422016 := qt422016.AcquireByteBuffer() -//line navbar.qtpl:36 +//line navbar.qtpl:39 WriteNavbar(qb422016, s) -//line navbar.qtpl:36 +//line navbar.qtpl:39 qs422016 := string(qb422016.B) -//line navbar.qtpl:36 +//line navbar.qtpl:39 qt422016.ReleaseByteBuffer(qb422016) -//line navbar.qtpl:36 +//line navbar.qtpl:39 return qs422016 -//line navbar.qtpl:36 +//line navbar.qtpl:39 } -//line navbar.qtpl:38 +//line navbar.qtpl:41 func StreamGitItemNav(qw422016 *qt422016.Writer, name, ref string, s GitSelection) { -//line navbar.qtpl:38 +//line navbar.qtpl:41 qw422016.N().S(`

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

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