diff --git a/branding/app/assets/images/bug.svg b/branding/app/assets/images/bug.svg new file mode 100644 index 00000000..a26b7cab --- /dev/null +++ b/branding/app/assets/images/bug.svg @@ -0,0 +1,19 @@ + + + + + + \ No newline at end of file diff --git a/branding/app/assets/locales/en/common b/branding/app/assets/locales/en/common index 9dc4b231..d9c74963 100644 --- a/branding/app/assets/locales/en/common +++ b/branding/app/assets/locales/en/common @@ -41,5 +41,10 @@ "index.footer.about-inbo.title": "About INBO", "index.footer.about-inbo.content": "INBO is the independent research institute of the Flemish government that underpins and evaluates biodiversity policy and management through applied scientific research, data and knowledge disclosure.", "index.footer.about-inbo.about-us": "About us", - "index.footer.about-inbo.contact-us": "Contact us" + "index.footer.about-inbo.contact-us": "Contact us", + "footer.bug-modal.title": "The Flemish Biodiversity Portal development website", + "footer.bug-modal.intro": "Feel free to look and click around!\nBut, be aware that this is a test and development website and is not yet ready for official, public use.", + "footer.bug-modal.contact-us": "If you have any questions or feedback, please contact us at ", + "footer.bug-modal.report-bug": "In case you spot any bugs or issues, you are strongly encouraged to report them on ", + "footer.bug-modal.github-page": "our public Github page" } \ No newline at end of file diff --git a/branding/app/assets/locales/nl/common b/branding/app/assets/locales/nl/common index c2d04991..4cfd0bba 100644 --- a/branding/app/assets/locales/nl/common +++ b/branding/app/assets/locales/nl/common @@ -40,5 +40,10 @@ "index.footer.about-inbo.title": "Over INBO", "index.footer.about-inbo.content": "Het INBO is het onafhankelijk onderzoeksinstituut van de Vlaamse overheid dat via toegepast wetenschappelijk onderzoek, data- en kennisontsluiting het biodiversiteitsbeleid en -beheer onderbouwt en evalueert.", "index.footer.about-inbo.about-us": "Over ons", - "index.footer.about-inbo.contact-us": "Contacteer ons" + "index.footer.about-inbo.contact-us": "Contacteer ons", + "footer.bug-modal.title": "Vlaams Biodiversiteitsportaal development website", + "footer.bug-modal.intro": "Kijk en klik gerust rond!\nMaar, besef dat dit een ontwikkeling- en test-website is en dus nog niet klaar voor normaal, publiek, gebruik.", + "footer.bug-modal.contact-us": "Indien je vragen of feedback hebt, contacteer ons dan via ", + "footer.bug-modal.report-bug": "Moest je problemen ervaren of een bug zien, wordt je sterk aangemoedigd deze te rapporteren op ", + "footer.bug-modal.github-page": "onze publieke Github pagina" } \ No newline at end of file diff --git a/branding/app/themes/vlaanderen/assets/banner.html b/branding/app/themes/vlaanderen/assets/banner.html index c74219ab..2202bdc4 100644 --- a/branding/app/themes/vlaanderen/assets/banner.html +++ b/branding/app/themes/vlaanderen/assets/banner.html @@ -63,7 +63,6 @@ - + + diff --git a/branding/app/themes/vlaanderen/assets/footer.html b/branding/app/themes/vlaanderen/assets/footer.html index b07b6053..81c2e368 100644 --- a/branding/app/themes/vlaanderen/assets/footer.html +++ b/branding/app/themes/vlaanderen/assets/footer.html @@ -2,18 +2,18 @@ \ No newline at end of file + function focusScroll() { + // Allow to move with PgUp/Down the main contain without having to focus manually + $("#content-wrapper").trigger("focus"); + } + + + + diff --git a/branding/app/themes/vlaanderen/assets/indexBody.html b/branding/app/themes/vlaanderen/assets/indexBody.html index 5832f130..c0acd205 100644 --- a/branding/app/themes/vlaanderen/assets/indexBody.html +++ b/branding/app/themes/vlaanderen/assets/indexBody.html @@ -1,137 +1,141 @@ - -
-
-
-
-
-
diff --git a/branding/app/themes/vlaanderen/css/bug-modal.css b/branding/app/themes/vlaanderen/css/bug-modal.css new file mode 100644 index 00000000..af247420 --- /dev/null +++ b/branding/app/themes/vlaanderen/css/bug-modal.css @@ -0,0 +1,40 @@ +.banner-bug-modal { + display: inline-block; + margin-top: 0.8em; + margin-left: 0.5em; + margin-right: 5em !important; +} + +.footer-bug-modal { + text-align: right; + margin-left: auto !important; + margin-right: 0; +} + +.bug-modal-button { + margin-left: auto; + margin-right: 0; + display: block; + height: 2em; + width: 2em; +} + +.bug-icon { + fill: #a83d7a; + height: 2em; + width: 2em; +} + +.bug-icon:hover { + fill: rgb(53, 97, 150); +} + +.bug-modal-header { + padding-top: 1.5em; + padding-left: 2em; +} + +.bug-modal-content { + white-space: pre-line; + padding: 2em; +} \ No newline at end of file diff --git a/branding/app/themes/vlaanderen/css/footer.css b/branding/app/themes/vlaanderen/css/footer.css index 0e20e685..6d3de258 100644 --- a/branding/app/themes/vlaanderen/css/footer.css +++ b/branding/app/themes/vlaanderen/css/footer.css @@ -24,4 +24,4 @@ body { #main { padding-bottom: 1em; -} \ No newline at end of file +}