You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.1 KiB

10 years ago
10 years ago
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div id="body" class="container">
  4. {{if not .Repos}}
  5. <h4>Hey there, welcome to the land of Gogs!</h4>
  6. <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>
  7. <img src="http://gowalker.org/public/gogs_demo.gif">
  8. {{else}}
  9. <h4>Hey there, welcome to the land of Gogs!</h4>
  10. <h5>Here are some recent updated repositories:</h5>
  11. <div class="tab-pane active">
  12. <ul class="list-unstyled repo-list">
  13. {{range .Repos}}
  14. <li>
  15. <div class="meta pull-right"><!-- <i class="fa fa-star"></i> {{.NumStars}} --> <i class="fa fa-code-fork"></i> {{.NumForks}}</div>
  16. <h4>
  17. <a href="/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a>
  18. </h4>
  19. <p class="desc">{{.Description}}</p>
  20. <div class="info">Last updated {{.Updated|TimeSince}}</div>
  21. </li>
  22. {{end}}
  23. </ul>
  24. </div>
  25. {{end}}
  26. </div>
  27. {{template "base/footer" .}}