Adds home page changes to gitea
Diff
docker/gitea.tf | 13 +++++++++++++
docker/conf/gitea/extra_links.tmpl | 7 +++++++
docker/conf/gitea/home.tmpl | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 54 insertions(+), 2 deletions(-)
@@ -33,6 +33,9 @@
host_path = "${docker_volume.gitea_volume.mountpoint}"
}
upload {
content = "${file("${path.module}/conf/gitea/public/img/gitea-lg.png")}"
file = "/data/gitea/public/img/gitea-lg.png"
@@ -51,14 +54,20 @@
upload {
content = "${file("${path.module}/conf/humans.txt")}"
file = "/data/gitea/public/humans.txt"
}
upload {
content = "${file("${path.module}/conf/gitea/extra_links.tmpl")}"
file = "/data/gitea/templates/custom/extra_links.tmpl"
}
upload {
content = "${data.template_file.gitea-config-file.rendered}"
file = "/data/gitea/conf/app.ini"
}
memory = 256
restart = "unless-stopped"
@@ -1,0 +1,7 @@
<a class="item" href="https://captnemo.in/contact/">
Contact
</a>
<a class="item" href="https://status.captnemo.in/">
Status
</a>
@@ -1,0 +1,36 @@
{{template "base/head" .}}
<div class="home">
<div class="ui stackable middle very relaxed page grid">
<div class="sixteen wide center aligned centered column">
<div>
<img class="logo" src="{{AppSubUrl}}/img/gitea-lg.png" />
</div>
<div class="hero">
<h1 class="ui icon header title">
Nemo's Code
</h1>
<h2>under-the-tv code hosting service</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">
<i class="octicon octicon-rocket"></i>
Run by friends
</h1>
<p class="large">
This service is run by <a href="https://captnemo.in">Nemo</a>
</p>
</div>
<div class="eight wide center column">
<h1 class="hero ui icon header">
<i class="octicon octicon-flame"></i> Uptime not guaranteed
</h1>
<p class="large">
Run for fun and not profit.
</p>
</div>
</div>
</div>
{{template "base/footer" .}}