diff --git a/server/web/pages/template/html.go b/server/web/pages/template/html.go index 59795d5..3fe0aa1 100644 --- a/server/web/pages/template/html.go +++ b/server/web/pages/template/html.go @@ -45,6 +45,10 @@ var Indexhtml []byte var Mstile150x150png []byte +//go:embed pages/safari-pinned-tab.svg +var Safaripinnedtabsvg []byte + + //go:embed pages/site.webmanifest var Sitewebmanifest []byte diff --git a/server/web/pages/template/pages/android-chrome-192x192.png b/server/web/pages/template/pages/android-chrome-192x192.png index 9484a4b..1413b6b 100644 Binary files a/server/web/pages/template/pages/android-chrome-192x192.png and b/server/web/pages/template/pages/android-chrome-192x192.png differ diff --git a/server/web/pages/template/pages/android-chrome-512x512.png b/server/web/pages/template/pages/android-chrome-512x512.png index c3ee373..92c5b37 100644 Binary files a/server/web/pages/template/pages/android-chrome-512x512.png and b/server/web/pages/template/pages/android-chrome-512x512.png differ diff --git a/server/web/pages/template/pages/apple-touch-icon.png b/server/web/pages/template/pages/apple-touch-icon.png index 74a7b4a..0374171 100644 Binary files a/server/web/pages/template/pages/apple-touch-icon.png and b/server/web/pages/template/pages/apple-touch-icon.png differ diff --git a/server/web/pages/template/pages/browserconfig.xml b/server/web/pages/template/pages/browserconfig.xml index b3930d0..eeb397f 100644 --- a/server/web/pages/template/pages/browserconfig.xml +++ b/server/web/pages/template/pages/browserconfig.xml @@ -3,7 +3,7 @@ - #da532c + #00a300 diff --git a/server/web/pages/template/pages/favicon-16x16.png b/server/web/pages/template/pages/favicon-16x16.png index 7ca89f3..2893ee6 100644 Binary files a/server/web/pages/template/pages/favicon-16x16.png and b/server/web/pages/template/pages/favicon-16x16.png differ diff --git a/server/web/pages/template/pages/favicon-32x32.png b/server/web/pages/template/pages/favicon-32x32.png index 365368f..7a5af4d 100644 Binary files a/server/web/pages/template/pages/favicon-32x32.png and b/server/web/pages/template/pages/favicon-32x32.png differ diff --git a/server/web/pages/template/pages/favicon.ico b/server/web/pages/template/pages/favicon.ico index b234d84..a1f8856 100644 Binary files a/server/web/pages/template/pages/favicon.ico and b/server/web/pages/template/pages/favicon.ico differ diff --git a/server/web/pages/template/pages/index.html b/server/web/pages/template/pages/index.html index d37abf5..dd69ef8 100644 --- a/server/web/pages/template/pages/index.html +++ b/server/web/pages/template/pages/index.html @@ -1 +1 @@ -TorrServer
\ No newline at end of file +TorrServer
\ No newline at end of file diff --git a/server/web/pages/template/pages/mstile-150x150.png b/server/web/pages/template/pages/mstile-150x150.png index 62d0ca6..1f8d08b 100644 Binary files a/server/web/pages/template/pages/mstile-150x150.png and b/server/web/pages/template/pages/mstile-150x150.png differ diff --git a/server/web/pages/template/pages/safari-pinned-tab.svg b/server/web/pages/template/pages/safari-pinned-tab.svg new file mode 100644 index 0000000..19db416 --- /dev/null +++ b/server/web/pages/template/pages/safari-pinned-tab.svg @@ -0,0 +1,343 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/server/web/pages/template/pages/site.webmanifest b/server/web/pages/template/pages/site.webmanifest index 52b6bb1..b20abb7 100644 --- a/server/web/pages/template/pages/site.webmanifest +++ b/server/web/pages/template/pages/site.webmanifest @@ -1,19 +1,19 @@ { - "name": "", - "short_name": "", - "icons": [ - { - "src": "/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} \ No newline at end of file + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +} diff --git a/server/web/pages/template/route.go b/server/web/pages/template/route.go index 369dbc3..1889f01 100644 --- a/server/web/pages/template/route.go +++ b/server/web/pages/template/route.go @@ -9,93 +9,98 @@ func RouteWebPages(route *gin.RouterGroup) { c.Data(200, "text/html; charset=utf-8", Indexhtml) }) + route.GET("/safari-pinned-tab.svg", func(c *gin.Context) { + c.Data(200, "image/svg+xml", Safaripinnedtabsvg) + }) + + route.GET("/site.webmanifest", func(c *gin.Context) { c.Data(200, "application/manifest+json", Sitewebmanifest) }) - route.GET("/asset-manifest.json", func(c *gin.Context) { - c.Data(200, "application/json", Assetmanifestjson) - }) - - - route.GET("/android-chrome-512x512.png", func(c *gin.Context) { - c.Data(200, "image/png", Androidchrome512x512png) - }) - - - route.GET("/favicon.ico", func(c *gin.Context) { - c.Data(200, "image/vnd.microsoft.icon", Faviconico) - }) - - - route.GET("/index.html", func(c *gin.Context) { - c.Data(200, "text/html; charset=utf-8", Indexhtml) - }) - - - route.GET("/mstile-150x150.png", func(c *gin.Context) { - c.Data(200, "image/png", Mstile150x150png) - }) - - - route.GET("/static/js/2.d5f08679.chunk.js", func(c *gin.Context) { - c.Data(200, "text/javascript; charset=utf-8", Staticjs2d5f08679chunkjs) - }) - - - route.GET("/static/js/2.d5f08679.chunk.js.LICENSE.txt", func(c *gin.Context) { - c.Data(200, "text/plain; charset=utf-8", Staticjs2d5f08679chunkjsLICENSEtxt) - }) - - - route.GET("/android-chrome-192x192.png", func(c *gin.Context) { - c.Data(200, "image/png", Androidchrome192x192png) - }) - - - route.GET("/browserconfig.xml", func(c *gin.Context) { - c.Data(200, "text/xml; charset=utf-8", Browserconfigxml) - }) - - - route.GET("/static/js/main.d1c06468.chunk.js", func(c *gin.Context) { - c.Data(200, "text/javascript; charset=utf-8", Staticjsmaind1c06468chunkjs) - }) - - - route.GET("/static/js/runtime-main.33603a80.js", func(c *gin.Context) { - c.Data(200, "text/javascript; charset=utf-8", Staticjsruntimemain33603a80js) - }) - - - route.GET("/static/js/runtime-main.33603a80.js.map", func(c *gin.Context) { - c.Data(200, "application/json", Staticjsruntimemain33603a80jsmap) - }) - - - route.GET("/apple-touch-icon.png", func(c *gin.Context) { - c.Data(200, "image/png", Appletouchiconpng) - }) - - - route.GET("/favicon-32x32.png", func(c *gin.Context) { - c.Data(200, "image/png", Favicon32x32png) - }) - - route.GET("/static/js/2.d5f08679.chunk.js.map", func(c *gin.Context) { c.Data(200, "application/json", Staticjs2d5f08679chunkjsmap) }) + route.GET("/static/js/main.d1c06468.chunk.js", func(c *gin.Context) { + c.Data(200, "text/javascript; charset=utf-8", Staticjsmaind1c06468chunkjs) + }) + + + route.GET("/android-chrome-192x192.png", func(c *gin.Context) { + c.Data(200, "image/png", Androidchrome192x192png) + }) + + + route.GET("/android-chrome-512x512.png", func(c *gin.Context) { + c.Data(200, "image/png", Androidchrome512x512png) + }) + + + route.GET("/apple-touch-icon.png", func(c *gin.Context) { + c.Data(200, "image/png", Appletouchiconpng) + }) + + + route.GET("/favicon.ico", func(c *gin.Context) { + c.Data(200, "image/vnd.microsoft.icon", Faviconico) + }) + + route.GET("/static/js/main.d1c06468.chunk.js.map", func(c *gin.Context) { c.Data(200, "application/json", Staticjsmaind1c06468chunkjsmap) }) + route.GET("/static/js/runtime-main.33603a80.js.map", func(c *gin.Context) { + c.Data(200, "application/json", Staticjsruntimemain33603a80jsmap) + }) + + + route.GET("/mstile-150x150.png", func(c *gin.Context) { + c.Data(200, "image/png", Mstile150x150png) + }) + + + route.GET("/static/js/2.d5f08679.chunk.js.LICENSE.txt", func(c *gin.Context) { + c.Data(200, "text/plain; charset=utf-8", Staticjs2d5f08679chunkjsLICENSEtxt) + }) + + + route.GET("/static/js/runtime-main.33603a80.js", func(c *gin.Context) { + c.Data(200, "text/javascript; charset=utf-8", Staticjsruntimemain33603a80js) + }) + + + route.GET("/asset-manifest.json", func(c *gin.Context) { + c.Data(200, "application/json", Assetmanifestjson) + }) + + + route.GET("/browserconfig.xml", func(c *gin.Context) { + c.Data(200, "text/xml; charset=utf-8", Browserconfigxml) + }) + + route.GET("/favicon-16x16.png", func(c *gin.Context) { c.Data(200, "image/png", Favicon16x16png) }) + + route.GET("/index.html", func(c *gin.Context) { + c.Data(200, "text/html; charset=utf-8", Indexhtml) + }) + + + route.GET("/favicon-32x32.png", func(c *gin.Context) { + c.Data(200, "image/png", Favicon32x32png) + }) + + + route.GET("/static/js/2.d5f08679.chunk.js", func(c *gin.Context) { + c.Data(200, "text/javascript; charset=utf-8", Staticjs2d5f08679chunkjs) + }) + } \ No newline at end of file diff --git a/web/public/android-chrome-192x192.png b/web/public/android-chrome-192x192.png index 9484a4b..1413b6b 100644 Binary files a/web/public/android-chrome-192x192.png and b/web/public/android-chrome-192x192.png differ diff --git a/web/public/android-chrome-512x512.png b/web/public/android-chrome-512x512.png index c3ee373..92c5b37 100644 Binary files a/web/public/android-chrome-512x512.png and b/web/public/android-chrome-512x512.png differ diff --git a/web/public/apple-touch-icon.png b/web/public/apple-touch-icon.png index 74a7b4a..0374171 100644 Binary files a/web/public/apple-touch-icon.png and b/web/public/apple-touch-icon.png differ diff --git a/web/public/browserconfig.xml b/web/public/browserconfig.xml index b3930d0..eeb397f 100644 --- a/web/public/browserconfig.xml +++ b/web/public/browserconfig.xml @@ -3,7 +3,7 @@ - #da532c + #00a300 diff --git a/web/public/favicon-16x16.png b/web/public/favicon-16x16.png index 7ca89f3..2893ee6 100644 Binary files a/web/public/favicon-16x16.png and b/web/public/favicon-16x16.png differ diff --git a/web/public/favicon-32x32.png b/web/public/favicon-32x32.png index 365368f..7a5af4d 100644 Binary files a/web/public/favicon-32x32.png and b/web/public/favicon-32x32.png differ diff --git a/web/public/favicon.ico b/web/public/favicon.ico index b234d84..a1f8856 100644 Binary files a/web/public/favicon.ico and b/web/public/favicon.ico differ diff --git a/web/public/index.html b/web/public/index.html index 441d7a8..ed33358 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -3,14 +3,14 @@ - - - + - + + + diff --git a/web/public/mstile-150x150.png b/web/public/mstile-150x150.png index 62d0ca6..1f8d08b 100644 Binary files a/web/public/mstile-150x150.png and b/web/public/mstile-150x150.png differ diff --git a/web/public/safari-pinned-tab.svg b/web/public/safari-pinned-tab.svg new file mode 100644 index 0000000..19db416 --- /dev/null +++ b/web/public/safari-pinned-tab.svg @@ -0,0 +1,343 @@ + + + + +Created by potrace 1.14, written by Peter Selinger 2001-2017 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/web/public/site.webmanifest b/web/public/site.webmanifest index 52b6bb1..b20abb7 100644 --- a/web/public/site.webmanifest +++ b/web/public/site.webmanifest @@ -1,19 +1,19 @@ { - "name": "", - "short_name": "", - "icons": [ - { - "src": "/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} \ No newline at end of file + "name": "", + "short_name": "", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "display": "standalone" +}