diff options
author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-05 16:53:15 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2024-10-05 16:53:15 +0200 |
commit | 6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d (patch) | |
tree | 6b568c854674295941cc1b827b3017879e66ebe5 /templates/navbar.qtpl.go | |
parent | ada6a68b4f25c912705542a6b03aae7ffffb5e99 (diff) | |
download | cerrado-6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d.tar.gz cerrado-6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d.tar.bz2 cerrado-6e5062488fc3ecbf37c11e7d111bfe6ea3b5284d.zip |
feat: Remove config page
That page was created as playground and had some debug purpose. Now
that is not longer used and with introduction of sensible information
(hash and aes-key) that has to go.
Diffstat (limited to 'templates/navbar.qtpl.go')
-rw-r--r-- | templates/navbar.qtpl.go | 123 |
1 files changed, 59 insertions, 64 deletions
diff --git a/templates/navbar.qtpl.go b/templates/navbar.qtpl.go index 5a27bb4..ca3a320 100644 --- a/templates/navbar.qtpl.go +++ b/templates/navbar.qtpl.go @@ -92,157 +92,152 @@ func StreamNavbar(qw422016 *qt422016.Writer, s Selection) { `) //line templates/navbar.qtpl:35 qw422016.N().S(` - <a class="nav-link`) -//line templates/navbar.qtpl:36 - streaminsertIfEqual(qw422016, s, Config) -//line templates/navbar.qtpl:36 - qw422016.N().S(`" href="/config">config</a> </div> </nav> `) -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 } -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 func WriteNavbar(qq422016 qtio422016.Writer, s Selection) { -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 StreamNavbar(qw422016, s) -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 qt422016.ReleaseWriter(qw422016) -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 } -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 func Navbar(s Selection) string { -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 qb422016 := qt422016.AcquireByteBuffer() -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 WriteNavbar(qb422016, s) -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 qs422016 := string(qb422016.B) -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 qt422016.ReleaseByteBuffer(qb422016) -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 return qs422016 -//line templates/navbar.qtpl:39 +//line templates/navbar.qtpl:38 } -//line templates/navbar.qtpl:41 +//line templates/navbar.qtpl:40 func StreamGitItemNav(qw422016 *qt422016.Writer, name, ref string, s GitSelection) { -//line templates/navbar.qtpl:41 +//line templates/navbar.qtpl:40 qw422016.N().S(` <div class="row"> <h3 id="name">`) -//line templates/navbar.qtpl:43 +//line templates/navbar.qtpl:42 qw422016.E().S(name) -//line templates/navbar.qtpl:43 +//line templates/navbar.qtpl:42 qw422016.N().S(` `) -//line templates/navbar.qtpl:43 +//line templates/navbar.qtpl:42 if ref != "" && (s == Log || s == Tree) { -//line templates/navbar.qtpl:43 +//line templates/navbar.qtpl:42 qw422016.N().S(`@ `) -//line templates/navbar.qtpl:43 +//line templates/navbar.qtpl:42 qw422016.E().S(ref) -//line templates/navbar.qtpl:43 +//line templates/navbar.qtpl:42 } -//line templates/navbar.qtpl:43 +//line templates/navbar.qtpl:42 qw422016.N().S(`</h3> </div> <div class="row"> <ul class="nav"> <li class="nav-item"> <a class="nav-link`) -//line templates/navbar.qtpl:48 +//line templates/navbar.qtpl:47 streaminsertIfEqual(qw422016, s, Readme) -//line templates/navbar.qtpl:48 +//line templates/navbar.qtpl:47 qw422016.N().S(`" aria-current="page" href="/`) -//line templates/navbar.qtpl:48 +//line templates/navbar.qtpl:47 qw422016.E().S(name) -//line templates/navbar.qtpl:48 +//line templates/navbar.qtpl:47 qw422016.N().S(`/about/">about</a> </li> <li class="nav-item"> <a class="nav-link`) -//line templates/navbar.qtpl:51 +//line templates/navbar.qtpl:50 streaminsertIfEqual(qw422016, s, Summary) -//line templates/navbar.qtpl:51 +//line templates/navbar.qtpl:50 qw422016.N().S(`" aria-current="page" href="/`) -//line templates/navbar.qtpl:51 +//line templates/navbar.qtpl:50 qw422016.E().S(name) -//line templates/navbar.qtpl:51 +//line templates/navbar.qtpl:50 qw422016.N().S(`/">summary</a> </li> <li class="nav-item"> <a class="nav-link`) -//line templates/navbar.qtpl:54 +//line templates/navbar.qtpl:53 streaminsertIfEqual(qw422016, s, Refs) -//line templates/navbar.qtpl:54 +//line templates/navbar.qtpl:53 qw422016.N().S(`" aria-current="page" href="/`) -//line templates/navbar.qtpl:54 +//line templates/navbar.qtpl:53 qw422016.E().S(name) -//line templates/navbar.qtpl:54 +//line templates/navbar.qtpl:53 qw422016.N().S(`/refs">refs</a> </li> <li class="nav-item"> <a class="nav-link`) -//line templates/navbar.qtpl:57 +//line templates/navbar.qtpl:56 streaminsertIfEqual(qw422016, s, Log) -//line templates/navbar.qtpl:57 +//line templates/navbar.qtpl:56 qw422016.N().S(`" aria-current="page" href="/`) -//line templates/navbar.qtpl:57 +//line templates/navbar.qtpl:56 qw422016.E().S(name) -//line templates/navbar.qtpl:57 +//line templates/navbar.qtpl:56 qw422016.N().S(`/log/`) -//line templates/navbar.qtpl:57 +//line templates/navbar.qtpl:56 qw422016.E().S(ref) -//line templates/navbar.qtpl:57 +//line templates/navbar.qtpl:56 qw422016.N().S(`/">log</a> </li> <li class="nav-item"> <a class="nav-link`) -//line templates/navbar.qtpl:60 +//line templates/navbar.qtpl:59 streaminsertIfEqual(qw422016, s, Tree) -//line templates/navbar.qtpl:60 +//line templates/navbar.qtpl:59 qw422016.N().S(`" aria-current="page" href="/`) -//line templates/navbar.qtpl:60 +//line templates/navbar.qtpl:59 qw422016.E().S(name) -//line templates/navbar.qtpl:60 +//line templates/navbar.qtpl:59 qw422016.N().S(`/tree/`) -//line templates/navbar.qtpl:60 +//line templates/navbar.qtpl:59 qw422016.E().S(ref) -//line templates/navbar.qtpl:60 +//line templates/navbar.qtpl:59 qw422016.N().S(`/">tree</a> </li> </ul> </div> `) -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 } -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 func WriteGitItemNav(qq422016 qtio422016.Writer, name, ref string, s GitSelection) { -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 StreamGitItemNav(qw422016, name, ref, s) -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 qt422016.ReleaseWriter(qw422016) -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 } -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 func GitItemNav(name, ref string, s GitSelection) string { -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 qb422016 := qt422016.AcquireByteBuffer() -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 WriteGitItemNav(qb422016, name, ref, s) -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 qs422016 := string(qb422016.B) -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 qt422016.ReleaseByteBuffer(qb422016) -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 return qs422016 -//line templates/navbar.qtpl:64 +//line templates/navbar.qtpl:63 } |