dashboard.tmpl 1.4 KB

123456789101112131415161718192021222324252627282930313233
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div id="gogs-body-nav">
  4. <div class="container">
  5. <ul class="nav nav-pills pull-right">
  6. <li class="active"><a href="/">Feed</a></li>
  7. <li><a href="/issues/">Issues</a></li>
  8. <li><a href="/pulls/">Pull Requests</a></li>
  9. <li><a href="/stars/">Stars</a></li>
  10. </ul>
  11. <h3>News Feed</h3>
  12. </div>
  13. </div>
  14. <div id="gogs-body" class="container">
  15. <div id="gogs-feed-left" class="col-md-8">
  16. Website is still in the progress of building...please come back later! <strong>{{.SignedUserName}}</strong> is logged!
  17. </div>
  18. <div id="gogs-feed-right" class="col-md-4">
  19. <div class="panel panel-default repo-panel">
  20. <div class="panel-heading">Your Repositories
  21. <a class="btn btn-success pull-right btn-sm" href="/repo/create/"><i class="fa fa-plus-square"></i>New Repo</a>
  22. </div>
  23. <div class="panel-body">
  24. <ul class="list-group">{{range .MyRepos}}
  25. <li class="list-group-item"><i class="fa fa-book"></i><a href="/{{$.SignedUserName}}/{{.Name}}/">{{.Name}}</a>
  26. <span class="stars pull-right"><i class="fa fa-star"></i>{{.NumStars}}</span>
  27. </li>{{end}}
  28. </ul>
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. {{template "base/footer" .}}