Skip to content

Commit

Permalink
update gitea customisation
Browse files Browse the repository at this point in the history
  • Loading branch information
DO1JLR committed Jun 3, 2021
1 parent 5849b28 commit 5f9b58a
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 2 deletions.
Empty file.
3 changes: 3 additions & 0 deletions files/backwesen.de/gitea_footer/extra_links_footer.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<a class="item" href="https://c3woc.de/">Waffeln</a>
<a class="item" href="https://c3woc.de/datenschutz/">Datenschutz</a>
<a class="item" href="https://c3woc.de/impressum/">Impressum</a>
53 changes: 53 additions & 0 deletions files/backwesen.de/gitea_home/home.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{{template "base/head" .}}
<div class="page-content home">
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<div>
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg"/>
</div>
<div class="hero">
<h1 class="ui icon header title">
{{AppName}}
</h1>
<h2>{{.i18n.Tr "startpage.app_desc"}}</h2>
</div>
</div>
</div>
<div class="ui stackable middle very relaxed page grid">
<div class="eight wide center column">
<h1 class="hero ui icon header">
{{svg "octicon-flame"}} {{.i18n.Tr "startpage.install"}}
</h1>
<p class="large">
{{.i18n.Tr "startpage.install_desc" | Str2html}}
</p>
</div>
<div class="eight wide center column">
<h1 class="hero ui icon header">
{{svg "octicon-device-desktop"}} {{.i18n.Tr "startpage.platform"}}
</h1>
<p class="large">
{{.i18n.Tr "startpage.platform_desc" | Str2html}}
</p>
</div>
</div>
<div class="ui stackable middle very relaxed page grid">
<div class="eight wide center column">
<h1 class="hero ui icon header">
{{svg "octicon-rocket"}} {{.i18n.Tr "startpage.lightweight"}}
</h1>
<p class="large">
{{.i18n.Tr "startpage.lightweight_desc" | Str2html}}
</p>
</div>
<div class="eight wide center column">
<h1 class="hero ui icon header">
{{svg "octicon-code"}} {{.i18n.Tr "startpage.license"}}
</h1>
<p class="large">
{{.i18n.Tr "startpage.license_desc" | Str2html}}
</p>
</div>
</div>
</div>
{{template "base/footer" .}}
2 changes: 1 addition & 1 deletion host_vars/web01.l3d.space/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ gitea_extra_config: |
SHOW_FOOTER_VERSION = false
SHOW_FOOTER_TEMPLATE_LOAD_TIME = false
gitea_customize_logo: true

gitea_customize_footer: true

# gitea secrets
gitea_disable_git_hooks: "{{ _gitea_disable_git_hooks }}"
Expand Down

0 comments on commit 5f9b58a

Please sign in to comment.