diff options
| author | root <root@suspectdevices.com> | 2021-01-11 18:09:16 -0800 |
|---|---|---|
| committer | root <root@suspectdevices.com> | 2021-01-11 18:09:16 -0800 |
| commit | 7c95ff0b2187f4bbcc89e7db3761bbf0821274b6 (patch) | |
| tree | fe64f929c3793aa85dafacd27ced4e90470f2f8a /custom | |
| parent | 320f41d86c405783d93191842fbc3ec8029af03f (diff) | |
start making gitea less ugly
Diffstat (limited to 'custom')
| -rw-r--r-- | custom/public/img/avatar_default.png | bin | 0 -> 6226 bytes | |||
| -rw-r--r-- | custom/public/img/favicon.png | bin | 0 -> 4873 bytes | |||
| -rw-r--r-- | custom/public/img/favicon.svg | 1 | ||||
| -rw-r--r-- | custom/public/img/gitea-192.png | bin | 0 -> 5866 bytes | |||
| -rw-r--r-- | custom/public/img/gitea-512.png | bin | 0 -> 17709 bytes | |||
| -rw-r--r-- | custom/public/img/gitea-lg.png | bin | 0 -> 33868 bytes | |||
| -rw-r--r-- | custom/public/img/gitea-safari.svg | 1 | ||||
| -rw-r--r-- | custom/public/img/gitea-sm.png | bin | 0 -> 3694 bytes | |||
| -rw-r--r-- | custom/public/img/svg/gitea-gitea.svg | 1 | ||||
| -rw-r--r-- | custom/templates/home.tmpl | 53 |
10 files changed, 56 insertions, 0 deletions
diff --git a/custom/public/img/avatar_default.png b/custom/public/img/avatar_default.png Binary files differnew file mode 100644 index 0000000..346edb4 --- /dev/null +++ b/custom/public/img/avatar_default.png diff --git a/custom/public/img/favicon.png b/custom/public/img/favicon.png Binary files differnew file mode 100644 index 0000000..5ad5af2 --- /dev/null +++ b/custom/public/img/favicon.png diff --git a/custom/public/img/favicon.svg b/custom/public/img/favicon.svg new file mode 100644 index 0000000..88dae53 --- /dev/null +++ b/custom/public/img/favicon.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 135.467 135.467" width="32" height="32"><path d="M27.71 33.618c-9.547-.028-22.34 6.798-21.632 23.904C7.184 84.25 31.535 86.73 41.27 86.945c1.068 5.013 12.522 22.305 21.002 23.216h37.152c22.278-1.668 38.961-75.756 26.594-76.038-46.782 2.477-49.996 2.138-88.6 0-2.495-.027-5.972-.495-9.708-.505zm2.491 9.458C31.553 56.77 33.757 64.78 38.22 77.02c-11.382-1.505-21.07-5.225-22.851-19.11-.951-7.411 2.39-15.168 14.833-14.834z" fill="#609926" stroke="#428f29"/><g fill="#fff"><rect width="34.762" height="34.762" x="87.509" y="18.292" transform="rotate(25.915)" ry="5.483"/><path d="M79.805 57.36l3.241 1.609V35.256h-3.263z"/></g><g class="detail-remove"><circle transform="rotate(-19.796)" r="3.475" cy="90.078" cx="49.065" fill="#609926"/><circle transform="rotate(-19.796)" r="3.475" cy="102.105" cx="36.81" fill="#609926"/><circle transform="rotate(-19.796)" r="3.475" cy="111.439" cx="46.484" fill="#609926"/><path fill="#609926" d="M79.54 58.936l2.402 1.172L69.98 84.605l-2.402-1.172z"/><path d="M76.558 68.116c12.976 6.396 13.013 4.102 4.891 20.908" fill="none" stroke="#609926" stroke-width="2.68"/></g></svg>
\ No newline at end of file diff --git a/custom/public/img/gitea-192.png b/custom/public/img/gitea-192.png Binary files differnew file mode 100644 index 0000000..05bf6d6 --- /dev/null +++ b/custom/public/img/gitea-192.png diff --git a/custom/public/img/gitea-512.png b/custom/public/img/gitea-512.png Binary files differnew file mode 100644 index 0000000..7b32fb3 --- /dev/null +++ b/custom/public/img/gitea-512.png diff --git a/custom/public/img/gitea-lg.png b/custom/public/img/gitea-lg.png Binary files differnew file mode 100644 index 0000000..e50c6cf --- /dev/null +++ b/custom/public/img/gitea-lg.png diff --git a/custom/public/img/gitea-safari.svg b/custom/public/img/gitea-safari.svg new file mode 100644 index 0000000..cc0e7c7 --- /dev/null +++ b/custom/public/img/gitea-safari.svg @@ -0,0 +1 @@ +<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m83.046 35.842c10.395-.091 22.52-.636 42.972-1.719 12.367.282-4.316 74.37-26.594 76.038h-37.152c-8.48-.911-19.934-18.203-21.002-23.216-9.735-.215-34.086-2.695-35.192-29.423-.707-17.106 12.085-23.932 21.632-23.904 3.736.01 7.213.478 9.708.505 19.935 1.104 30.433 1.729 42.366 1.733l.021 21.503 3.241 1.61zm18.936 34.047-31.267-15.193-15.192 31.267 31.267 15.192zm-71.781-26.813c-12.443-.333-15.784 7.423-14.833 14.834 1.782 13.885 11.469 17.605 22.851 19.11-4.462-12.24-6.666-20.251-8.018-33.944z" transform="matrix(.128847 0 0 .128847 -.779534 -1.26275)"/><g transform="matrix(.128847 0 0 .128847 -.779534 -1.26275)"><g transform="matrix(.940904 -.338674 .338674 .940904 0 0)"><circle cx="49.065" cy="90.078" r="3.475"/><circle cx="36.81" cy="102.105" r="3.475"/><circle cx="46.484" cy="111.439" r="3.475"/></g><path d="m97.333 18.062h2.673v27.261h-2.673z" transform="matrix(.898609 .43875 -.447723 .916987 .406685 -.832937)"/><path d="m76.558 68.116c12.976 6.396 13.013 4.102 4.891 20.908" fill="none" stroke="#000" stroke-width="2.68"/></g></svg>
\ No newline at end of file diff --git a/custom/public/img/gitea-sm.png b/custom/public/img/gitea-sm.png Binary files differnew file mode 100644 index 0000000..0ae375c --- /dev/null +++ b/custom/public/img/gitea-sm.png diff --git a/custom/public/img/svg/gitea-gitea.svg b/custom/public/img/svg/gitea-gitea.svg new file mode 100644 index 0000000..7ccd797 --- /dev/null +++ b/custom/public/img/svg/gitea-gitea.svg @@ -0,0 +1 @@ +<svg viewBox="0 0 135.467 135.467" class="svg gitea-gitea" width="16" height="16" aria-hidden="true"><path d="M27.707 33.619c-9.547-.028-22.338 6.797-21.63 23.903C7.183 84.25 31.532 86.734 41.267 86.95c1.068 5.013 12.521 22.298 21.001 23.209h37.158c22.278-1.668 38.957-75.753 26.59-76.035-20.713 1.097-32.485 1.556-42.97 1.637v23.21l-3.24-1.613-.026-21.53c-11.886-.01-22.487-.603-42.358-1.704-2.495-.027-5.98-.494-9.715-.504zm2.497 9.459c1.352 13.694 3.557 21.7 8.02 33.94-11.382-1.504-21.072-5.222-22.853-19.107-.951-7.411 2.39-15.167 14.833-14.833zm43.334 13.469a5.477 5.477 0 012.108.545l3.878 1.885-2.778 5.689a3.475 3.475 0 00-1.249.198 3.475 3.475 0 00-2.091 4.449 3.475 3.475 0 00.57 1.017l-4.787 9.798a3.475 3.475 0 00-1.15.206 3.475 3.475 0 00-2.091 4.449 3.475 3.475 0 004.44 2.091 3.475 3.475 0 002.1-4.448 3.475 3.475 0 00-.819-1.273l4.663-9.558a3.475 3.475 0 001.514-.19 3.475 3.475 0 001.24-.778c4.537 2.193 5.7 2.866 6.308 3.671.114.151.249.417.298.588.153.527.042 1.51-.281 2.455-.384 1.123-2.275 5.239-3.754 8.302a3.475 3.475 0 00-1.356.198 3.475 3.475 0 00-2.092 4.448 3.475 3.475 0 004.449 2.092 3.475 3.475 0 002.092-4.448 3.475 3.475 0 00-.72-1.174c2.773-5.883 3.781-8.196 4.143-9.749.13-.561.154-.777.157-1.537.003-.776-.011-.935-.124-1.299-.35-1.126-1.165-2.139-2.415-3.01-.942-.655-2.119-1.26-5.515-2.86-.044-.02-.087-.045-.132-.066a3.475 3.475 0 00-.198-1.273 3.475 3.475 0 00-.753-1.216l2.729-5.606 15.13 7.35a5.466 5.466 0 012.53 7.326L89.19 96.226a5.476 5.476 0 01-7.334 2.53L60.457 88.363a5.479 5.479 0 01-2.538-7.334L68.321 59.63a5.472 5.472 0 015.217-3.084z" fill="#609926" stroke="#428f29" stroke-width=".999" paint-order="markers fill stroke"/></svg>
\ No newline at end of file diff --git a/custom/templates/home.tmpl b/custom/templates/home.tmpl new file mode 100644 index 0000000..721bb50 --- /dev/null +++ b/custom/templates/home.tmpl @@ -0,0 +1,53 @@ +{{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="{{StaticUrlPrefix}}/img/gitea-lg.png" /> + </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" .}} |
