footer.tmpl 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. </div>
  2. <footer>
  3. <div class="ui container">
  4. <div class="ui left">
  5. © 2015 Gogs {{.i18n.Tr "version"}}: {{AppVer}} {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>
  6. </div>
  7. <div class="ui right links">
  8. {{if .ShowFooterBranding}}
  9. <a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
  10. <a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i><span class="sr-only">Twitter</span></a>
  11. <a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i><span class="sr-only">Sina Weibo</span></a>
  12. {{end}}
  13. <div class="ui language bottom pointing slide up dropdown link item">
  14. <i class="world icon"></i>
  15. <div class="text">{{.LangName}}</div>
  16. <div class="menu">
  17. {{range .AllLangs}}
  18. <a class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a>
  19. {{end}}
  20. </div>
  21. </div>
  22. <a target="_blank" href="http://gogs.io">{{.i18n.Tr "website"}}</a>
  23. <span class="version">{{GoVer}}</span>
  24. </div>
  25. </div>
  26. </footer>
  27. </body>
  28. <!-- Third-party libraries -->
  29. {{if .RequireHighlightJS}}
  30. <link rel="stylesheet" href="{{AppSubUrl}}/css/highlight-8.7/default.css">
  31. <script src="{{AppSubUrl}}/js/libs/highlight-8.7.pack.js"></script>
  32. {{end}}
  33. {{if .RequireMinicolors}}
  34. <link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.minicolors-2.1.12.css">
  35. <script src="{{AppSubUrl}}/js/libs/jquery.minicolors-2.1.12.min.js"></script>
  36. {{end}}
  37. {{if .RequireDatetimepicker}}
  38. <link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.datetimepicker-2.4.5.css">
  39. <script src="{{AppSubUrl}}/js/libs/jquery.datetimepicker-2.4.5.js"></script>
  40. {{end}}
  41. {{if .RequireDropzone}}
  42. <link rel="stylesheet" href="{{AppSubUrl}}/css/dropzone-4.0.1.css">
  43. <script src="{{AppSubUrl}}/js/libs/dropzone-4.0.1.js"></script>
  44. {{end}}
  45. <script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
  46. <script src="{{AppSubUrl}}/js/libs/clipboard-1.5.3.min.js"></script>
  47. </html>