Install gitea with systemd
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.

footer.tmpl 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {{/*
  2. <html>
  3. <body>
  4. <div>
  5. */}}
  6. {{template "custom/body_inner_post" .}}
  7. </div>
  8. {{template "custom/body_outer_post" .}}
  9. <footer>
  10. <div class="ui container">
  11. <div class="ui left">
  12. &copy;&nbsp;AJ ONeal, founder of <a target="_blank" href="https://ppl.family">ppl :)</a>
  13. and <a target="_blank" href="https://dapliefounder.com">Daplie</a><a target="_blank" href="https://dap-lies.com">.</a>
  14. </div>
  15. <div class="ui right">
  16. {{if .ShowFooterBranding}}
  17. <a target="_blank" rel="noopener" href="https://github.com/go-gitea/gitea"><i class="fa fa-github-square"></i><span class="sr-only">GitHub</span></a>
  18. {{end}}
  19. <div class="ui language bottom floating slide up dropdown link item">
  20. <i class="world icon"></i>
  21. <div class="text">{{.LangName}}</div>
  22. <div class="menu">
  23. {{range .AllLangs}}
  24. <a class="item {{if eq $.Lang .Lang}}active selected{{end}}" href="{{if eq $.Lang .Lang}}#{{else}}{{$.Link}}?lang={{.Lang}}{{end}}">{{.Name}}</a>
  25. {{end}}
  26. </div>
  27. </div>
  28. | Powered by <a target="_blank" rel="noopener" href="https://gitea.io">Gitea</a> {{if (or .ShowFooterVersion .PageIsAdmin)}}: v{{AppVer}}{{end}}
  29. | {{if (or .ShowFooterVersion .PageIsAdmin)}}<span class="version">{{GoVer}}</span>{{end}}
  30. | {{if ShowFooterTemplateLoadTime}}{{.i18n.Tr "page"}}: <strong>{{LoadTimes .PageStartTime}}</strong> {{.i18n.Tr "template"}}: <strong>{{call .TmplLoadTimes}}</strong>{{end}}
  31. | <a href="{{AppSubUrl}}/api/swagger">API</a>
  32. </div>
  33. </div>
  34. </footer>
  35. <script src="{{AppSubUrl}}/vendor/plugins/jquery/jquery.min.js"></script>
  36. <script src="{{AppSubUrl}}/vendor/plugins/jquery.areyousure/jquery.are-you-sure.js"></script>
  37. {{if .RequireSimpleMDE}}
  38. <script src="{{AppSubUrl}}/vendor/plugins/simplemde/simplemde.min.js"></script>
  39. <script src="{{AppSubUrl}}/vendor/plugins/codemirror/addon/mode/loadmode.js"></script>
  40. <script src="{{AppSubUrl}}/vendor/plugins/codemirror/mode/meta.js"></script>
  41. <script>
  42. CodeMirror.modeURL = "{{AppSubUrl}}/vendor/plugins/codemirror/mode/%N/%N.js";
  43. </script>
  44. {{end}}
  45. {{if .RequireGitGraph}}
  46. <!-- graph -->
  47. <script src="{{AppSubUrl}}/vendor/plugins/gitgraph/gitgraph.js"></script>
  48. <script src="{{AppSubUrl}}/js/draw.js"></script>
  49. {{end}}
  50. <!-- Third-party libraries -->
  51. {{if .RequireHighlightJS}}
  52. <script src="{{AppSubUrl}}/vendor/plugins/highlight/highlight.pack.js"></script>
  53. {{end}}
  54. {{if .RequireMinicolors}}
  55. <script src="{{AppSubUrl}}/vendor/plugins/jquery.minicolors/jquery.minicolors.min.js"></script>
  56. {{end}}
  57. {{if .RequireDatetimepicker}}
  58. <script src="{{AppSubUrl}}/vendor/plugins/jquery.datetimepicker/jquery.datetimepicker.js"></script>
  59. {{end}}
  60. {{if .RequireDropzone}}
  61. <script src="{{AppSubUrl}}/vendor/plugins/dropzone/dropzone.js"></script>
  62. {{end}}
  63. {{if .RequireTribute}}
  64. <script src="{{AppSubUrl}}/vendor/plugins/tribute/tribute.min.js"></script>
  65. {{if .Assignees}}
  66. <script>
  67. var issuesTribute = new Tribute({
  68. values: [
  69. {{ range .Assignees }}
  70. {key: '{{.Name}} {{.FullName}}', value: '{{.Name}}',
  71. name: '{{.Name}}', fullname: '{{.FullName}}', avatar: '{{.RelAvatarLink}}'},
  72. {{ end }}
  73. ],
  74. noMatchTemplate: function () { return null },
  75. menuItemTemplate: function (item) {
  76. var user = item.original;
  77. var itemStr = '<img src="' + user.avatar + '"/><span class="name">' + user.name + '</span>';
  78. if (user.fullname && user.fullname != '') {
  79. itemStr += '<span class="fullname">' + user.fullname + '</span>';
  80. }
  81. return itemStr;
  82. }
  83. })
  84. issuesTribute.attach(document.getElementById('content'))
  85. </script>
  86. {{end}}
  87. {{end}}
  88. <script src="{{AppSubUrl}}/vendor/plugins/autolink/autolink.js"></script>
  89. <script src="{{AppSubUrl}}/vendor/plugins/emojify/emojify.min.js"></script>
  90. <script src="{{AppSubUrl}}/vendor/plugins/clipboard/clipboard.min.js"></script>
  91. <script src="{{AppSubUrl}}/vendor/plugins/vue/vue.min.js"></script>
  92. <!-- JavaScript -->
  93. <script src="{{AppSubUrl}}/vendor/plugins/semantic/semantic.min.js"></script>
  94. <script src="{{AppSubUrl}}/js/index.js?v={{MD5 AppVer}}"></script>
  95. {{template "custom/footer" .}}
  96. </body>
  97. </html>