Commit Graph

27 Commits

Author SHA1 Message Date
Paul Bottein 0f9c97aea0
Center login content for every screen size (#18943) 2023-12-07 13:45:05 +00:00
Bram Kragten 2e1fb9df66
Update design of login page (#18770) 2023-11-27 23:06:51 +01:00
Kendell R aa0419e783
Minify logos (#18542) 2023-11-07 13:39:38 +01:00
Paul Bottein d8c98d8f96
Move auth components from shadow DOM to light DOM (#18015) 2023-09-26 20:17:03 +02:00
Bram Kragten 5aaf0cd579
Update logo (#17964) 2023-09-26 15:33:40 +02:00
Bram Kragten 8695bbc490
Move globalThis polyfill to compatibility, add more compatibility (#16386) 2023-05-04 15:49:28 +02:00
Steve Repsher 4e1e76ccc2
Add module preload to demo page (#16274) 2023-04-24 11:27:40 +02:00
Steve Repsher aac28efd32
Streamline HTML generation and consolidate templates (#16117) 2023-04-20 11:10:12 +02:00
Bram Kragten f0d53aab7b
Fix ES5 build and fix polyfill of Intl.Locale (#15322) 2023-02-02 20:20:23 +01:00
rianadon d7732ee850
Improve accessibility on login page (#9731) 2021-11-08 10:29:34 +01:00
Bram Kragten 8141f78a92
Use ES5 build for Safari 12 and below (#9482) 2021-06-30 12:02:01 +02:00
Bram Kragten 5418474f64
Polyfill `globalThis` in latest build (#9352) 2021-06-03 22:50:33 +02:00
Bram Kragten dd4efe0f51
Apply dark style on init when `prefers-color-scheme: dark` (#8997) 2021-04-26 14:54:47 -07:00
Bram Kragten 89ecc8bd2f
Change preload to modulepreload (#8600) 2021-03-09 11:39:08 -08:00
Bram Kragten f6ff652ca4
Fix es5 build (#7319) 2020-10-14 22:20:39 +02:00
Joakim Sørensen 47e9531972
Use media query for darkmode on login and onboarding (#6625)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2020-08-24 18:29:16 +02:00
Paulus Schoutsen 67ac3b4ba3
Drop Custom Elements ES5 adapter (#6107) 2020-06-05 11:04:19 +02:00
Paulus Schoutsen aa9a354746
Preload (#6062) 2020-05-27 12:54:52 -07:00
Paulus Schoutsen 050cdf3783
Integrate compatibility into other entrypoints (#6029) 2020-05-25 19:36:22 +02:00
Paulus Schoutsen 7e281f66c2
Rollup (#5995) 2020-05-22 23:05:47 -07:00
Bram Kragten 0a92c28bac
Split up mdi icons (#4379) 2020-05-05 16:40:11 +02:00
Bram Kragten 4f70ec7dc2
Set correct lang attribute (#5479)
* Set correct lang attribute

* Update lit-localize-lite-mixin.ts

* Update translations-mixin.ts

* Remove lang=""

* Move logic out of mixin
2020-04-08 12:36:06 +02:00
Paulus Schoutsen 2929db5ba4
Fix fonts precaching (#3338)
* Fix font urls

* Don't zopfli nonexisting fonts
2019-07-10 08:18:04 -07:00
Tor Arne Vestbø a396a4e666 Pass credentials (cookies e.g.) when loading JavaScript assets (#3259)
The behavior of 'crossorigin' without a value is the same as
anonymous, which means user credentials such as cookies,
client-side SSL certificates or HTTP authentication will
not be passed on.

We want the preload links to work even when they are behind
a proxy that requires an authentication cookie, such as
Cloudflare Access (CF_Authorization), so we need to explicitly
send credentials with the "use-credentials" value.

ES modules are always fetched with CORS, with anonymous being
the default. Some browsers (Chromium) will realize that the
request is to the same origin, and send credentials anyways,
while others (Safari) will not, so we need to explicitly send
credentials to make sure they load in all cases.

See https://jakearchibald.com/2017/es-modules-in-browsers/
2019-06-10 13:41:59 -07:00
Paulus Schoutsen 6c41c7b1ab
Gulpify build pipeline (#3145)
* Gulpify build pipeline

* Update build frontend script

* Fixes

* Limit service worker to latest build

* Use shorthand

* Fix hassio build
2019-05-02 11:35:46 -07:00
Paulus Schoutsen 0c406335f5
Upgrade deps (#3038)
* Upgrade deps

* Revert workbox back to 3

* Fix var name
2019-04-02 12:14:10 -07:00
Paulus Schoutsen f443942e03
Authorize onboarding (#1603)
* Tweak onboarding + authorize

* Authorize/Onboarding pimp

* More tweaks

* Comments
2018-08-27 22:10:15 +02:00