diff options
Diffstat (limited to 'templates/gitlist.qtpl.go')
-rw-r--r-- | templates/gitlist.qtpl.go | 174 |
1 files changed, 87 insertions, 87 deletions
diff --git a/templates/gitlist.qtpl.go b/templates/gitlist.qtpl.go index f38c404..e2644d0 100644 --- a/templates/gitlist.qtpl.go +++ b/templates/gitlist.qtpl.go @@ -1,228 +1,228 @@ // Code generated by qtc from "gitlist.qtpl". DO NOT EDIT. // See https://github.com/valyala/quicktemplate for details. -//line gitlist.qtpl:1 +//line templates/gitlist.qtpl:1 package templates -//line gitlist.qtpl:1 +//line templates/gitlist.qtpl:1 import "git.gabrielgio.me/cerrado/pkg/service" -//line gitlist.qtpl:3 +//line templates/gitlist.qtpl:3 import ( qtio422016 "io" qt422016 "github.com/valyala/quicktemplate" ) -//line gitlist.qtpl:3 +//line templates/gitlist.qtpl:3 var ( _ = qtio422016.Copy _ = qt422016.AcquireByteBuffer ) -//line gitlist.qtpl:4 +//line templates/gitlist.qtpl:4 type GitListPage struct { Respositories []*service.Repository About []byte } -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 func (p *GitListPage) StreamTitle(qw422016 *qt422016.Writer) { -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 qw422016.N().S(`Git | List`) -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 } -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 func (p *GitListPage) WriteTitle(qq422016 qtio422016.Writer) { -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 qw422016 := qt422016.AcquireWriter(qq422016) -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 p.StreamTitle(qw422016) -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 qt422016.ReleaseWriter(qw422016) -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 } -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 func (p *GitListPage) Title() string { -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 qb422016 := qt422016.AcquireByteBuffer() -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 p.WriteTitle(qb422016) -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 qs422016 := string(qb422016.B) -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 qt422016.ReleaseByteBuffer(qb422016) -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 return qs422016 -//line gitlist.qtpl:10 +//line templates/gitlist.qtpl:10 } -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 func (p *GitListPage) StreamNavbar(qw422016 *qt422016.Writer) { -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 StreamNavbar(qw422016, Git) -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 } -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 func (p *GitListPage) WriteNavbar(qq422016 qtio422016.Writer) { -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 qw422016 := qt422016.AcquireWriter(qq422016) -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 p.StreamNavbar(qw422016) -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 qt422016.ReleaseWriter(qw422016) -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 } -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 func (p *GitListPage) Navbar() string { -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 qb422016 := qt422016.AcquireByteBuffer() -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 p.WriteNavbar(qb422016) -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 qs422016 := string(qb422016.B) -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 qt422016.ReleaseByteBuffer(qb422016) -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 return qs422016 -//line gitlist.qtpl:12 +//line templates/gitlist.qtpl:12 } -//line gitlist.qtpl:14 +//line templates/gitlist.qtpl:14 func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer) { -//line gitlist.qtpl:14 +//line templates/gitlist.qtpl:14 qw422016.N().S(` <div class="row"> <div class="col-md-6 order-last order-md-first"> <div class="event-list"> `) -//line gitlist.qtpl:18 +//line templates/gitlist.qtpl:18 for _, r := range p.Respositories { -//line gitlist.qtpl:18 +//line templates/gitlist.qtpl:18 qw422016.N().S(` <div class="event"> <h4> <a href="/`) -//line gitlist.qtpl:21 +//line templates/gitlist.qtpl:21 qw422016.E().S(r.Name) -//line gitlist.qtpl:21 +//line templates/gitlist.qtpl:21 qw422016.N().S(`/">`) -//line gitlist.qtpl:21 +//line templates/gitlist.qtpl:21 qw422016.E().S(r.Name) -//line gitlist.qtpl:21 +//line templates/gitlist.qtpl:21 qw422016.N().S(`</a> </h4> </hr> <p>`) -//line gitlist.qtpl:24 +//line templates/gitlist.qtpl:24 qw422016.E().S(r.Description) -//line gitlist.qtpl:24 +//line templates/gitlist.qtpl:24 qw422016.N().S(`</p> <p> <a href="/`) -//line gitlist.qtpl:26 +//line templates/gitlist.qtpl:26 qw422016.E().S(r.Name) -//line gitlist.qtpl:26 +//line templates/gitlist.qtpl:26 qw422016.N().S(`/log/`) -//line gitlist.qtpl:26 +//line templates/gitlist.qtpl:26 qw422016.E().S(r.Ref) -//line gitlist.qtpl:26 +//line templates/gitlist.qtpl:26 qw422016.N().S(`/">log</a> <a href="/`) -//line gitlist.qtpl:27 +//line templates/gitlist.qtpl:27 qw422016.E().S(r.Name) -//line gitlist.qtpl:27 +//line templates/gitlist.qtpl:27 qw422016.N().S(`/tree/`) -//line gitlist.qtpl:27 +//line templates/gitlist.qtpl:27 qw422016.E().S(r.Ref) -//line gitlist.qtpl:27 +//line templates/gitlist.qtpl:27 qw422016.N().S(`/">tree</a> <a href="/`) -//line gitlist.qtpl:28 +//line templates/gitlist.qtpl:28 qw422016.E().S(r.Name) -//line gitlist.qtpl:28 +//line templates/gitlist.qtpl:28 qw422016.N().S(`/refs/">refs</a> </p> </div> `) -//line gitlist.qtpl:31 +//line templates/gitlist.qtpl:31 } -//line gitlist.qtpl:31 +//line templates/gitlist.qtpl:31 qw422016.N().S(` </div> </div> <div id="about" class="col-md-4 order-first order-md-last"> `) -//line gitlist.qtpl:35 +//line templates/gitlist.qtpl:35 qw422016.N().Z(p.About) -//line gitlist.qtpl:35 +//line templates/gitlist.qtpl:35 qw422016.N().S(` </div> </div> `) -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 } -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 func (p *GitListPage) WriteContent(qq422016 qtio422016.Writer) { -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 qw422016 := qt422016.AcquireWriter(qq422016) -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 p.StreamContent(qw422016) -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 qt422016.ReleaseWriter(qw422016) -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 } -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 func (p *GitListPage) Content() string { -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 qb422016 := qt422016.AcquireByteBuffer() -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 p.WriteContent(qb422016) -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 qs422016 := string(qb422016.B) -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 qt422016.ReleaseByteBuffer(qb422016) -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 return qs422016 -//line gitlist.qtpl:38 +//line templates/gitlist.qtpl:38 } -//line gitlist.qtpl:40 +//line templates/gitlist.qtpl:40 func (p *GitListPage) StreamScript(qw422016 *qt422016.Writer) { -//line gitlist.qtpl:40 +//line templates/gitlist.qtpl:40 qw422016.N().S(` `) -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 } -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 func (p *GitListPage) WriteScript(qq422016 qtio422016.Writer) { -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 qw422016 := qt422016.AcquireWriter(qq422016) -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 p.StreamScript(qw422016) -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 qt422016.ReleaseWriter(qw422016) -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 } -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 func (p *GitListPage) Script() string { -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 qb422016 := qt422016.AcquireByteBuffer() -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 p.WriteScript(qb422016) -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 qs422016 := string(qb422016.B) -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 qt422016.ReleaseByteBuffer(qb422016) -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 return qs422016 -//line gitlist.qtpl:41 +//line templates/gitlist.qtpl:41 } |