footer.tmpl 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. &bull;
  24. <a href="/fingerprints">SSH Fingerprints</a>
  25. <!-- END notabug patch -->
  26. </div>
  27. <div class="ui right links">
  28. {{if .ShowFooterBranding}}
  29. <a target="_blank" href="https://github.com/gogits/gogs"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
  30. <a target="_blank" href="https://twitter.com/gogitservice"><i class="fa fa-twitter"></i><span class="sr-only">Twitter</span></a>
  31. <a target="_blank" href="http://weibo.com/gogschina"><i class="fa fa-weibo"></i><span class="sr-only">Sina Weibo</span></a>
  32. {{end}}
  33. <div class="ui language bottom floating slide up dropdown link item">
  34. <i class="world icon"></i>
  35. <div class="text">{{.LangName}}</div>
  36. <div class="menu">
  37. {{range .AllLangs}}
  38. <a class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a>
  39. {{end}}
  40. </div>
  41. </div>
  42. <!-- BEGIN notabug patch
  43. <a target="_blank" href="http://gogs.io">{{.i18n.Tr "website"}}</a>
  44. END notabug patch -->
  45. {{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
  46. </div>
  47. </div>
  48. </footer>
  49. </body>
  50. <!-- Third-party libraries -->
  51. {{if .RequireHighlightJS}}
  52. <link rel="stylesheet" href="{{AppSubURL}}/plugins/highlight-9.6.0/github.css">
  53. <script src="{{AppSubURL}}/plugins/highlight-9.6.0/highlight.pack.js"></script>
  54. {{end}}
  55. {{if .RequireMinicolors}}
  56. <link rel="stylesheet" href="{{AppSubURL}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.css">
  57. <script src="{{AppSubURL}}/plugins/jquery.minicolors-2.2.3/jquery.minicolors.min.js"></script>
  58. {{end}}
  59. {{if .RequireDatetimepicker}}
  60. <link rel="stylesheet" href="{{AppSubURL}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.css">
  61. <script src="{{AppSubURL}}/plugins/jquery.datetimepicker-2.4.5/jquery.datetimepicker.js"></script>
  62. {{end}}
  63. {{if .RequireDropzone}}
  64. <link rel="stylesheet" href="{{AppSubURL}}/plugins/dropzone-4.2.0/dropzone.css">
  65. <script src="{{AppSubURL}}/plugins/dropzone-4.2.0/dropzone.js"></script>
  66. {{end}}
  67. <script src="{{AppSubURL}}/js/libs/emojify-1.1.0.min.js"></script>
  68. <script src="{{AppSubURL}}/js/libs/clipboard-1.5.9.min.js"></script>
  69. </html>