diff options
author | Kyle D <kdumontnu@gmail.com> | 2020-12-18 20:17:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 20:17:27 -0500 |
commit | 4cd94e3689b256b6578da3c35ad52872bcea634f (patch) | |
tree | 2ae79e1fdd9ab1a11f9d361daef719f1a60fb84f /templates | |
parent | e25e7b9598241947e83977b3ea6f8349cfdaa050 (diff) | |
download | gitea-4cd94e3689b256b6578da3c35ad52872bcea634f.tar.gz gitea-4cd94e3689b256b6578da3c35ad52872bcea634f.zip |
gitea png to logo (#13974)
* gitea png to logo.svg
* gitea safari svg to logo
* minify svgs
* Update english docs
* Update missing section on customizing logo
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/hook_new.tmpl | 2 | ||||
-rw-r--r-- | templates/base/head.tmpl | 6 | ||||
-rw-r--r-- | templates/base/head_navbar.tmpl | 2 | ||||
-rw-r--r-- | templates/home.tmpl | 2 | ||||
-rw-r--r-- | templates/org/settings/hook_new.tmpl | 2 | ||||
-rw-r--r-- | templates/pwa/manifest_json.tmpl | 8 | ||||
-rw-r--r-- | templates/repo/settings/webhook/list.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/webhook/new.tmpl | 2 |
8 files changed, 13 insertions, 13 deletions
diff --git a/templates/admin/hook_new.tmpl b/templates/admin/hook_new.tmpl index dabd568f93..c6f02ee20e 100644 --- a/templates/admin/hook_new.tmpl +++ b/templates/admin/hook_new.tmpl @@ -11,7 +11,7 @@ {{end}} <div class="ui right"> {{if eq .HookType "gitea"}} - <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gitea-sm.png"> + <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gitea.svg"> {{else if eq .HookType "gogs"}} <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gogs.ico"> {{else if eq .HookType "slack"}} diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 9536545041..7d35664c7b 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -60,8 +60,8 @@ </script> <link rel="icon" href="{{StaticUrlPrefix}}/img/favicon.svg" type="image/svg+xml"> <link rel="alternate icon" href="{{StaticUrlPrefix}}/img/favicon.png" type="image/png"> - <link rel="mask-icon" href="{{StaticUrlPrefix}}/img/gitea-safari.svg" color="#609926"> - <link rel="fluid-icon" href="{{StaticUrlPrefix}}/img/gitea-lg.png" title="{{AppName}}"> + <link rel="mask-icon" href="{{StaticUrlPrefix}}/img/logo-safari.svg" color="#609926"> + <link rel="fluid-icon" href="{{StaticUrlPrefix}}/img/logo-lg.png" title="{{AppName}}"> {{if .RequireSimpleMDE}} <link rel="stylesheet" href="{{StaticUrlPrefix}}/css/easymde.css?v={{MD5 AppVer}}"> {{end}} @@ -104,7 +104,7 @@ {{else}} <meta property="og:title" content="{{AppName}}"> <meta property="og:type" content="website" /> - <meta property="og:image" content="{{StaticUrlPrefix}}/img/gitea-lg.png" /> + <meta property="og:image" content="{{StaticUrlPrefix}}/img/logo-lg.png" /> <meta property="og:url" content="{{AppUrl}}" /> <meta property="og:description" content="{{MetaDescription}}"> {{end}} diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 979e4d5488..5ce07ff8c5 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -1,7 +1,7 @@ <div class="ui container" id="navbar"> <div class="item brand" style="justify-content: space-between;"> <a href="{{AppSubUrl}}/"> - <img class="ui mini image" src="{{StaticUrlPrefix}}/img/gitea-sm.png"> + <img class="ui mini image" src="{{StaticUrlPrefix}}/img/logo.svg"> </a> <div class="ui basic icon button mobile-only" id="navbar-expand-toggle"> <i class="sidebar icon"></i> diff --git a/templates/home.tmpl b/templates/home.tmpl index fe3954d0ee..d573aa3cc1 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -3,7 +3,7 @@ <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" /> + <img class="logo" src="{{StaticUrlPrefix}}/img/logo.svg" /> </div> <div class="hero"> <h1 class="ui icon header title"> diff --git a/templates/org/settings/hook_new.tmpl b/templates/org/settings/hook_new.tmpl index 2fdf2662d6..e3b4250679 100644 --- a/templates/org/settings/hook_new.tmpl +++ b/templates/org/settings/hook_new.tmpl @@ -10,7 +10,7 @@ {{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}} <div class="ui right"> {{if eq .HookType "gitea"}} - <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gitea-sm.png"> + <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gitea.svg"> {{else if eq .HookType "gogs"}} <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gogs.ico"> {{else if eq .HookType "slack"}} diff --git a/templates/pwa/manifest_json.tmpl b/templates/pwa/manifest_json.tmpl index b125690d5f..7eba1f45bb 100644 --- a/templates/pwa/manifest_json.tmpl +++ b/templates/pwa/manifest_json.tmpl @@ -3,22 +3,22 @@ "name": "Gitea - Git with a cup of tea", "icons": [ { - "src": "{{StaticUrlPrefix}}/img/gitea-lg.png", + "src": "{{StaticUrlPrefix}}/img/logo-lg.png", "type": "image/png", "sizes": "880x880" }, { - "src": "{{StaticUrlPrefix}}/img/gitea-sm.png", + "src": "{{StaticUrlPrefix}}/img/logo-sm.png", "type": "image/png", "sizes": "120x120" }, { - "src": "{{StaticUrlPrefix}}/img/gitea-512.png", + "src": "{{StaticUrlPrefix}}/img/logo-512.png", "type": "image/png", "sizes": "512x512" }, { - "src": "{{StaticUrlPrefix}}/img/gitea-192.png", + "src": "{{StaticUrlPrefix}}/img/logo-192.png", "type": "image/png", "sizes": "192x192" } diff --git a/templates/repo/settings/webhook/list.tmpl b/templates/repo/settings/webhook/list.tmpl index 02a3bcad66..5efd6d4a3c 100644 --- a/templates/repo/settings/webhook/list.tmpl +++ b/templates/repo/settings/webhook/list.tmpl @@ -6,7 +6,7 @@ <div class="ui blue tiny button">{{.i18n.Tr "repo.settings.add_webhook"}}</div> <div class="menu"> <a class="item" href="{{.BaseLink}}/gitea/new"> - <img width="20" height="20" src="{{StaticUrlPrefix}}/img/gitea-sm.png">Gitea + <img width="20" height="20" src="{{StaticUrlPrefix}}/img/gitea.svg">Gitea </a> <a class="item" href="{{.BaseLink}}/gogs/new"> <img width="20" height="20" src="{{StaticUrlPrefix}}/img/gogs.ico">Gogs diff --git a/templates/repo/settings/webhook/new.tmpl b/templates/repo/settings/webhook/new.tmpl index ac5d1886b2..51038389f0 100644 --- a/templates/repo/settings/webhook/new.tmpl +++ b/templates/repo/settings/webhook/new.tmpl @@ -8,7 +8,7 @@ {{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}} <div class="ui right"> {{if eq .HookType "gitea"}} - <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gitea-sm.png"> + <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gitea.svg"> {{else if eq .HookType "gogs"}} <img width="26" height="26" src="{{StaticUrlPrefix}}/img/gogs.ico"> {{else if eq .HookType "slack"}} |