]> source.dussan.org Git - gitea.git/commit
Create Progressive Web App (#4730)
authorSohnyBohny <sohny.bean@streber24.de>
Tue, 27 Nov 2018 15:18:26 +0000 (16:18 +0100)
committertechknowlogick <hello@techknowlogick.com>
Tue, 27 Nov 2018 15:18:26 +0000 (10:18 -0500)
commit294904321cb6de535237a6a156d5c4ec462bc117
tree3b4c7bc1748a5b64de29d6efca37705b3071fc2b
parente09fe487734238708c2f9fc7c47dbb2132250400
Create Progressive Web App (#4730)

* Create manifest and serviceworker

* Create templates and add AppSubUrl

* Add JSRenderer

* fix ctx type

* Add JSRenderer to static.go

* Complete adding {{AppSubUrl}}

* Add more fonts to urlsToCache

* Add 512px and 192px icons

* Hardcode font MD5

* Default theme doesn't have a specific CSS file
Makefile
modules/templates/dynamic.go
modules/templates/static.go
public/img/gitea-192.png [new file with mode: 0644]
public/img/gitea-512.png [new file with mode: 0644]
routers/routes/routes.go
templates/base/head.tmpl
templates/pwa/manifest_json.tmpl [new file with mode: 0644]
templates/pwa/serviceworker_js.tmpl [new file with mode: 0644]