aboutsummaryrefslogtreecommitdiff
path: root/templates/gitlist.qtpl.go
diff options
context:
space:
mode:
Diffstat (limited to 'templates/gitlist.qtpl.go')
-rw-r--r--templates/gitlist.qtpl.go115
1 files changed, 74 insertions, 41 deletions
diff --git a/templates/gitlist.qtpl.go b/templates/gitlist.qtpl.go
index 89d1d71..5438729 100644
--- a/templates/gitlist.qtpl.go
+++ b/templates/gitlist.qtpl.go
@@ -59,111 +59,144 @@ func (p *GitListPage) Title() string {
}
//line gitlist.qtpl:11
-func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer) {
+func (p *GitListPage) StreamNavbar(qw422016 *qt422016.Writer) {
+//line gitlist.qtpl:11
+ StreamNavbar(qw422016, Git)
+//line gitlist.qtpl:11
+}
+
+//line gitlist.qtpl:11
+func (p *GitListPage) WriteNavbar(qq422016 qtio422016.Writer) {
+//line gitlist.qtpl:11
+ qw422016 := qt422016.AcquireWriter(qq422016)
+//line gitlist.qtpl:11
+ p.StreamNavbar(qw422016)
+//line gitlist.qtpl:11
+ qt422016.ReleaseWriter(qw422016)
+//line gitlist.qtpl:11
+}
+
+//line gitlist.qtpl:11
+func (p *GitListPage) Navbar() string {
+//line gitlist.qtpl:11
+ qb422016 := qt422016.AcquireByteBuffer()
+//line gitlist.qtpl:11
+ p.WriteNavbar(qb422016)
+//line gitlist.qtpl:11
+ qs422016 := string(qb422016.B)
+//line gitlist.qtpl:11
+ qt422016.ReleaseByteBuffer(qb422016)
+//line gitlist.qtpl:11
+ return qs422016
//line gitlist.qtpl:11
+}
+
+//line gitlist.qtpl:13
+func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer) {
+//line gitlist.qtpl:13
qw422016.N().S(`
<div class="row">
<div class="col-md-8 offset-md-2">
<div class="event-list">
`)
-//line gitlist.qtpl:15
+//line gitlist.qtpl:17
for _, r := range p.Respositories {
-//line gitlist.qtpl:15
+//line gitlist.qtpl:17
qw422016.N().S(`
<div class="event">
<h4>
<a href="/`)
-//line gitlist.qtpl:18
+//line gitlist.qtpl:20
qw422016.E().S(r.Name)
-//line gitlist.qtpl:18
+//line gitlist.qtpl:20
qw422016.N().S(`">`)
-//line gitlist.qtpl:18
+//line gitlist.qtpl:20
qw422016.E().S(r.Name)
-//line gitlist.qtpl:18
+//line gitlist.qtpl:20
qw422016.N().S(`</a>
</h4>
</hr>
<p>`)
-//line gitlist.qtpl:21
+//line gitlist.qtpl:23
qw422016.E().S(r.LastCommitMessage)
-//line gitlist.qtpl:21
+//line gitlist.qtpl:23
qw422016.N().S(`</p>
<p><small>`)
-//line gitlist.qtpl:22
+//line gitlist.qtpl:24
qw422016.E().S(r.LastCommitDate)
-//line gitlist.qtpl:22
+//line gitlist.qtpl:24
qw422016.N().S(`</small></p>
</div>
`)
-//line gitlist.qtpl:24
+//line gitlist.qtpl:26
}
-//line gitlist.qtpl:24
+//line gitlist.qtpl:26
qw422016.N().S(`
</div>
`)
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
}
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
func (p *GitListPage) WriteContent(qq422016 qtio422016.Writer) {
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
qw422016 := qt422016.AcquireWriter(qq422016)
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
p.StreamContent(qw422016)
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
qt422016.ReleaseWriter(qw422016)
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
}
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
func (p *GitListPage) Content() string {
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
qb422016 := qt422016.AcquireByteBuffer()
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
p.WriteContent(qb422016)
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
qs422016 := string(qb422016.B)
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
qt422016.ReleaseByteBuffer(qb422016)
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
return qs422016
-//line gitlist.qtpl:26
+//line gitlist.qtpl:28
}
// </div>
// </div>
//
-//line gitlist.qtpl:30
+//line gitlist.qtpl:32
func (p *GitListPage) StreamScript(qw422016 *qt422016.Writer) {
-//line gitlist.qtpl:30
+//line gitlist.qtpl:32
qw422016.N().S(`
`)
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
}
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
func (p *GitListPage) WriteScript(qq422016 qtio422016.Writer) {
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
qw422016 := qt422016.AcquireWriter(qq422016)
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
p.StreamScript(qw422016)
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
qt422016.ReleaseWriter(qw422016)
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
}
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
func (p *GitListPage) Script() string {
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
qb422016 := qt422016.AcquireByteBuffer()
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
p.WriteScript(qb422016)
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
qs422016 := string(qb422016.B)
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
qt422016.ReleaseByteBuffer(qb422016)
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
return qs422016
-//line gitlist.qtpl:31
+//line gitlist.qtpl:33
}