From 5845a8685b1696cd510a3362d1f174568d3a9221 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sat, 15 Feb 2025 21:22:24 +0100 Subject: feat: Remove under development warning The project is good shape now that there is not need to the warning. --- scss/main.scss | 4 ---- templates/commit.qtpl | 2 +- templates/commit.qtpl.go | 6 ++--- templates/gitlist.qtpl | 3 --- templates/gitlist.qtpl.go | 59 ++++++++++++++++++++++------------------------- 5 files changed, 32 insertions(+), 42 deletions(-) diff --git a/scss/main.scss b/scss/main.scss index 51b7df7..a6c973f 100644 --- a/scss/main.scss +++ b/scss/main.scss @@ -29,10 +29,6 @@ $navbar-nav-link-padding-x: $spacer; @import "bootstrap/scss/_buttons.scss"; @import "tree.scss"; -// TODO remove once is not needed -$alert-border-radius: 0; -@import "bootstrap/scss/_alert.scss"; - // overwrite to reduce the ammount of css generated by loading all utilities $utilities: ( "order": (responsive: true, diff --git a/templates/commit.qtpl b/templates/commit.qtpl index adc6f2a..b58b238 100644 --- a/templates/commit.qtpl +++ b/templates/commit.qtpl @@ -7,8 +7,8 @@
{%s c.Commit().Hash.String()[0:8] %}{%s c.Commit().Author.Name %} - — {% if c.HasReference() %} + — {% for _, r := range c.References() %} {% if r.Name().IsBranch() %} {%s r.Name().Short() %} diff --git a/templates/commit.qtpl.go b/templates/commit.qtpl.go index fda993d..5017880 100644 --- a/templates/commit.qtpl.go +++ b/templates/commit.qtpl.go @@ -60,12 +60,12 @@ func StreamCommit(qw422016 *qt422016.Writer, name string, c *git.CommitReference qw422016.E().S(c.Commit().Author.Name) //line templates/commit.qtpl:9 qw422016.N().S(` - — `) -//line templates/commit.qtpl:11 +//line templates/commit.qtpl:10 if c.HasReference() { -//line templates/commit.qtpl:11 +//line templates/commit.qtpl:10 qw422016.N().S(` + — `) //line templates/commit.qtpl:12 for _, r := range c.References() { diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl index e62e68a..9756eb7 100644 --- a/templates/gitlist.qtpl +++ b/templates/gitlist.qtpl @@ -56,9 +56,6 @@ type GitListPage struct {
{%z= p.About %} -
{% endfunc %} diff --git a/templates/gitlist.qtpl.go b/templates/gitlist.qtpl.go index d2b28d9..97b570b 100644 --- a/templates/gitlist.qtpl.go +++ b/templates/gitlist.qtpl.go @@ -225,71 +225,68 @@ func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer, ctx context.Conte qw422016.N().Z(p.About) //line templates/gitlist.qtpl:58 qw422016.N().S(` - `) -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 } -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 func (p *GitListPage) WriteContent(qq422016 qtio422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 p.StreamContent(qw422016, ctx) -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 qt422016.ReleaseWriter(qw422016) -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 } -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 func (p *GitListPage) Content(ctx context.Context) string { -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 qb422016 := qt422016.AcquireByteBuffer() -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 p.WriteContent(qb422016, ctx) -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 qs422016 := string(qb422016.B) -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 qt422016.ReleaseByteBuffer(qb422016) -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 return qs422016 -//line templates/gitlist.qtpl:64 +//line templates/gitlist.qtpl:61 } -//line templates/gitlist.qtpl:66 +//line templates/gitlist.qtpl:63 func (p *GitListPage) StreamScript(qw422016 *qt422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:66 +//line templates/gitlist.qtpl:63 qw422016.N().S(` `) -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 } -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 func (p *GitListPage) WriteScript(qq422016 qtio422016.Writer, ctx context.Context) { -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 qw422016 := qt422016.AcquireWriter(qq422016) -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 p.StreamScript(qw422016, ctx) -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 qt422016.ReleaseWriter(qw422016) -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 } -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 func (p *GitListPage) Script(ctx context.Context) string { -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 qb422016 := qt422016.AcquireByteBuffer() -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 p.WriteScript(qb422016, ctx) -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 qs422016 := string(qb422016.B) -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 qt422016.ReleaseByteBuffer(qb422016) -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 return qs422016 -//line templates/gitlist.qtpl:67 +//line templates/gitlist.qtpl:64 } -- cgit v1.2.3