2014-02-17 16:38:50 -07:00
|
|
|
{{template "base/head" .}}
|
|
|
|
{{template "base/navbar" .}}
|
2014-03-25 04:44:37 -06:00
|
|
|
<div id="body" class="container">
|
2014-04-14 02:11:33 -06:00
|
|
|
{{if not .Repos}}
|
2014-03-28 06:39:35 -06:00
|
|
|
<h4>Hey there, welcome to the land of Gogs!</h4>
|
2014-04-20 00:54:26 -06:00
|
|
|
<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 06:39:35 -06:00
|
|
|
<img src="http://gowalker.org/public/gogs_demo.gif">
|
2014-04-14 02:11:33 -06:00
|
|
|
{{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">
|
2014-05-05 11:08:01 -06:00
|
|
|
{{range .Repos}}
|
2014-04-14 02:11:33 -06:00
|
|
|
<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>
|
2014-05-05 11:08:01 -06:00
|
|
|
{{end}}
|
2014-04-14 02:11:33 -06:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2014-02-17 16:38:50 -07:00
|
|
|
</div>
|
2014-03-25 13:54:46 -06:00
|
|
|
{{template "base/footer" .}}
|