diff --git a/pb_hooks/settings.pb.js b/pb_hooks/settings.pb.js new file mode 100644 index 0000000..3ee295f --- /dev/null +++ b/pb_hooks/settings.pb.js @@ -0,0 +1,6 @@ +/// Pretty URL for the account settings editor: /settings → the static page. +/// The page itself (pb_public/settings.html) is a login → decrypt → edit → +/// re-encrypt flow for the client-encrypted addon_config; everything happens in +/// the browser against the normal collection API, so there's no server logic +/// here beyond this redirect. +routerAdd("GET", "/settings", (e) => e.redirect(302, "/settings.html")) diff --git a/pb_public/settings.html b/pb_public/settings.html new file mode 100644 index 0000000..948e6f1 --- /dev/null +++ b/pb_public/settings.html @@ -0,0 +1,315 @@ + + + + + + +Amber — nastavení účtu + + + +
+

Nastavení účtu

+

Přihlas se a uprav zdroje filmů a seriálů — + změny se do aplikace propíšou samy.

+ + +
+ + + + + +
+ + + + +
+ +

Heslo se použije jen ve tvém prohlížeči k dešifrování a opětovnému + zašifrování nastavení — na server se heslo ani klíč nikdy neposílají.

+
+ + + +