applied changes
This commit is contained in:
commit
7f021b3cef
21
LICENSE
Normal file
21
LICENSE
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
Copyright (c) 2022 The Forgejo Authors
|
||||||
|
Copyright (c) 2016 The Gitea Authors
|
||||||
|
Copyright (c) 2015 The Gogs Authors
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
5
README.md
Normal file
5
README.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Changes (v1.20.3-0)
|
||||||
|
|
||||||
|
- Footer has no unecessary information -> uses a heart now
|
||||||
|
- Home now only shows the logo and a little notice that this site uses Forgejo
|
||||||
|
- Added Privacy Policy (using `/data/data/privacy.md`)
|
18
templates/base/footer_content.tmpl
Normal file
18
templates/base/footer_content.tmpl
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
<footer class="page-footer" role="group" aria-label="{{.locale.Tr "aria.footer"}}">
|
||||||
|
<div class="left-links" role="contentinfo" aria-label="{{.locale.Tr "aria.footer.software"}}">
|
||||||
|
<span>♥</span>
|
||||||
|
</div>
|
||||||
|
<div class="right-links" role="group" aria-label="{{.locale.Tr "aria.footer.links"}}">
|
||||||
|
<div class="ui dropdown upward language">
|
||||||
|
<span class="flex-text-inline">{{svg "octicon-globe" 14}} {{.locale.LangName}}</span>
|
||||||
|
<div class="menu language-menu">
|
||||||
|
{{range .AllLangs}}
|
||||||
|
<a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq $.locale.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a href="{{AssetUrlPrefix}}/js/licenses.txt">{{.locale.Tr "licenses"}}</a>
|
||||||
|
{{if .EnableSwagger}}<a href="{{AppSubUrl}}/api/swagger">API</a>{{end}}
|
||||||
|
{{template "custom/extra_links_footer" .}}
|
||||||
|
</div>
|
||||||
|
</footer>
|
0
templates/custom/body_inner_post.tmpl
Normal file
0
templates/custom/body_inner_post.tmpl
Normal file
0
templates/custom/body_inner_pre.tmpl
Normal file
0
templates/custom/body_inner_pre.tmpl
Normal file
0
templates/custom/body_outer_post.tmpl
Normal file
0
templates/custom/body_outer_post.tmpl
Normal file
0
templates/custom/body_outer_pre.tmpl
Normal file
0
templates/custom/body_outer_pre.tmpl
Normal file
0
templates/custom/extra_links.tmpl
Normal file
0
templates/custom/extra_links.tmpl
Normal file
1
templates/custom/extra_links_footer.tmpl
Normal file
1
templates/custom/extra_links_footer.tmpl
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<a href="/data/data/src/privacy.md">Privacy Policy</a>
|
0
templates/custom/extra_tabs.tmpl
Normal file
0
templates/custom/extra_tabs.tmpl
Normal file
0
templates/custom/footer.tmpl
Normal file
0
templates/custom/footer.tmpl
Normal file
0
templates/custom/header.tmpl
Normal file
0
templates/custom/header.tmpl
Normal file
14
templates/home.tmpl
Normal file
14
templates/home.tmpl
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{{template "base/head" .}}
|
||||||
|
<div role="main" aria-label="{{if .IsSigned}}{{.locale.Tr "dashboard"}}{{else}}{{.locale.Tr "home"}}{{end}}" class="page-content home">
|
||||||
|
<div class="gt-mb-5 gt-px-5">
|
||||||
|
<div class="center">
|
||||||
|
<div class="hero">
|
||||||
|
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{.locale.Tr "logo"}}">
|
||||||
|
<p style="font-size: 12px;">
|
||||||
|
Powered by <a href="https://forgejo.org/">Forgejo</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{{template "base/footer" .}}
|
Loading…
Reference in a new issue