diff --git a/public/html/application/fragment/settings.html b/public/html/application/fragment/settings.html index 1a1f4e7..1f55ba8 100644 --- a/public/html/application/fragment/settings.html +++ b/public/html/application/fragment/settings.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/public/js/app.js b/public/js/app.js index f30f242..c1b24fb 100755 --- a/public/js/app.js +++ b/public/js/app.js @@ -6900,6 +6900,16 @@ class ChooseThemeDialog extends Dialog { } } +class ImpressumSite extends WordRotatorBaseSite{ + constructor(siteManager) { + super(siteManager, "html/application/impressum.html", "impressum"); + } +} + +InitPromise.addPromise(app => { + app.addDeepLink("impressum", ImpressumSite); +}); + class WordRotatorSettingFragment extends LocalStorageSettingsFragment { constructor(site) { super(site, "html/application/fragment/settings.html"); @@ -6953,6 +6963,12 @@ class WordRotatorSettingFragment extends LocalStorageSettingsFragment { this.findBy("#privacy-policy-button").addEventListener("click", () => { this.getSite().startSite(PrivacyPolicySite); }); + this.findBy("#contact-button").addEventListener("click", () => { + this.getSite().startSite(ContactSite); + }); + this.findBy("#impressum-button").addEventListener("click", () => { + this.getSite().startSite(ImpressumSite); + }); InstallManager.setCanInstallListener(() => { let installButton = this.findBy("#install-button"); diff --git a/src/module/Application/pwa/html/application/fragment/settings.html b/src/module/Application/pwa/html/application/fragment/settings.html index e463381..19fcb11 100644 --- a/src/module/Application/pwa/html/application/fragment/settings.html +++ b/src/module/Application/pwa/html/application/fragment/settings.html @@ -25,7 +25,7 @@ - +
@@ -39,6 +39,10 @@
+
+ + +