Change StaticUrlPrefix to AssetUrlPrefix
- to make it run in Gitea 1.18.5 - Also remove a lot of stuff and keep the page minimal.
This commit is contained in:
parent
3683636ba8
commit
119d2c99c2
|
@ -1,57 +1,20 @@
|
||||||
{{template "base/head" .}}
|
{{template "base/head" .}}
|
||||||
<div id="home" class="home">
|
<div class="page-content home">
|
||||||
<div style="margin:auto; width:100%; position: fixed; padding-top:14px">
|
<div style="margin:auto; width:100%; position: fixed; padding-top:14px">
|
||||||
<canvas id="c"></canvas>
|
<canvas id="c"></canvas>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui stackable middle very relaxed page grid">
|
<div class="ui stackable middle very relaxed page grid">
|
||||||
<div class="sixteen wide center aligned centered column">
|
<div class="sixteen wide center aligned centered column">
|
||||||
<div>
|
<div>
|
||||||
<img class="logo" width="200" height="200" src="{{StaticUrlPrefix}}/img/logo.svg" />
|
<img class="logo" width="180" height="180" src="{{AssetUrlPrefix}}/img/logo.svg"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="hero">
|
<div class="hero">
|
||||||
<h1 class="ui icon header title">
|
<h1 class="ui icon header title">
|
||||||
{{AppName}}
|
<pre>{{AppName}}</pre>
|
||||||
</h1>
|
</h1>
|
||||||
<h2>{{.i18n.Tr "startpage.app_desc"}}</h2>
|
<h3>{{.locale.Tr "startpage.app_desc"}}</h3>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</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" 16}} {{.i18n.Tr "startpage.install"}}
|
|
||||||
</h1>
|
|
||||||
<p class="large">
|
|
||||||
{{.i18n.Tr "startpage.install_desc" | Str2html}}
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="eight wide center column">
|
<script src="{{AssetUrlPrefix}}/js/theme-matrix.js"></script>
|
||||||
<h1 class="hero ui icon header">
|
|
||||||
{{svg "octicon-device-desktop" 16}} {{.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" 16}} {{.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" 16}} {{.i18n.Tr "startpage.license"}}
|
|
||||||
</h1>
|
|
||||||
<p class="large">
|
|
||||||
{{.i18n.Tr "startpage.license_desc" | Str2html}}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="{{StaticUrlPrefix}}/js/theme-matrix.js"></script>
|
|
||||||
{{template "base/footer" .}}
|
|
||||||
|
|
Loading…
Reference in New Issue