bench-forgejo/templates/home.tmpl

28 lines
1.1 KiB
Cheetah
Raw Normal View History

2014-02-18 05:08:50 +05:30
{{template "base/head" .}}
{{template "base/navbar" .}}
2014-03-25 16:14:37 +05:30
<div id="body" class="container">
2014-04-14 13:41:33 +05:30
{{if not .Repos}}
2014-03-28 18:09:35 +05:30
<h4>Hey there, welcome to the land of Gogs!</h4>
<p>If you just got your Gogs server running, go to the <a href="/install">install</a> guide page, which will guide you through your initial setup.</p>
2014-03-28 18:09:35 +05:30
<img src="http://gowalker.org/public/gogs_demo.gif">
2014-04-14 13:41:33 +05:30
{{else}}
<h4>Hey there, welcome to the land of Gogs!</h4>
<h5>Here are some recent updated repositories:</h5>
<div class="tab-pane active">
<ul class="list-unstyled repo-list">
{{range .Repos}}
<li>
<div class="meta pull-right"><!-- <i class="fa fa-star"></i> {{.NumStars}} --> <i class="fa fa-code-fork"></i> {{.NumForks}}</div>
<h4>
<a href="/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
</h4>
<p class="desc">{{.Description}}</p>
<div class="info">Last updated {{.Updated|TimeSince}}</div>
</li>
{{end}}
</ul>
</div>
{{end}}
2014-02-18 05:08:50 +05:30
</div>
2014-03-26 01:24:46 +05:30
{{template "base/footer" .}}