footer.tmpl 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {{/*
  2. <html>
  3. <body>
  4. <div>
  5. */}}
  6. </div>
  7. <footer>
  8. <div class="ui container">
  9. <div class="ui left">
  10. <!-- BEGIN notabug patch -->
  11. <!--
  12. © 2016 Gogs {{if (or .ShowFooterVersion .PageIsAdmin)}}{{.i18n.Tr "version"}}: {{AppVer}}{{end}} {{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>
  13. -->
  14. <a href="/tos">Terms of Service</a>
  15. &bull;
  16. <a href="/about">About us</a>
  17. &bull;
  18. <a href="/outages">Outages</a>
  19. &bull;
  20. <a href="{{AppSubUrl}}/hp/gogs/issues">Report a problem</a>
  21. &bull;
  22. <a href="/assets/librejs/librejs.html" data-jslicense="1">Javascript licenses</a>
  23. <!-- END notabug patch -->
  24. </div>
  25. <div class="ui right links">
  26. {{if .ShowFooterBranding}}
  27. <a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
  28. <a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i><span class="sr-only">Twitter</span></a>
  29. <a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i><span class="sr-only">Sina Weibo</span></a>
  30. {{end}}
  31. <div class="ui language bottom floating slide up dropdown link item">
  32. <i class="world icon"></i>
  33. <div class="text">{{.LangName}}</div>
  34. <div class="menu">
  35. {{range .AllLangs}}
  36. <a class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a>
  37. {{end}}
  38. </div>
  39. </div>
  40. <!-- BEGIN notabug patch
  41. <a target="_blank" href="http://gogs.io">{{.i18n.Tr "website"}}</a>
  42. END notabug patch -->
  43. {{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
  44. </div>
  45. </div>
  46. </footer>
  47. </body>
  48. <!-- Third-party libraries -->
  49. {{if .RequireHighlightJS}}
  50. <link rel="stylesheet" href="{{AppSubUrl}}/plugins/highlight-9.6.0/github.css">
  51. <script src="{{AppSubUrl}}/plugins/highlight-9.6.0/highlight.pack.js"></script>
  52. {{end}}
  53. {{if .RequireMinicolors}}
  54. <link rel="stylesheet" href="{{AppSubUrl}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.css">
  55. <script src="{{AppSubUrl}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.min.js"></script>
  56. {{end}}
  57. {{if .RequireDatetimepicker}}
  58. <link rel="stylesheet" href="{{AppSubUrl}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.css">
  59. <script src="{{AppSubUrl}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.js"></script>
  60. {{end}}
  61. {{if .RequireDropzone}}
  62. <link rel="stylesheet" href="{{AppSubUrl}}/plugins/dropzone-4.2.0/dropzone.css">
  63. <script src="{{AppSubUrl}}/plugins/dropzone-4.2.0/dropzone.js"></script>
  64. {{end}}
  65. <script src="{{AppSubUrl}}/js/libs/emojify-1.1.0.min.js"></script>
  66. <script src="{{AppSubUrl}}/js/libs/clipboard-1.5.9.min.js"></script>
  67. </html>