Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

477 update 404 page #368

Merged
merged 2 commits into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/bg/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/cs/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/de/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/el/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/en/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/es/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>Esta página no existe o no es visible en este momento.</p>
<a href="/">Ir a la home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/fr/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>Cette page n'existe plus ou n'est pas accessible en ce moment.</p>
<a href="/">Retour à l'accueil</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">Cette page n'existe plus ou n'est pas accessible en ce moment.</p>
<a href="/" class="btn btn-primary">Retour à l'accueil</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/hu/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/it/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/ja/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/lt/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/nl/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>De opgevraagde pagina bestaat niet of is niet beschikbaar op dit ogenblik.</p>
<a href="/">Ga naar home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">De opgevraagde pagina bestaat niet of is niet beschikbaar op dit ogenblik.</p>
<a href="/" class="btn btn-primary">Ga naar home</a>
</div>
</div>
9 changes: 7 additions & 2 deletions src/Backend/Modules/Pages/Installer/Data/pl/404.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
<iframe src="http://notfound-static.fwebservices.be/404/index.html" width="100%" height="650" frameborder="0"></iframe>
<p>Ta strona nie istnieje lub nie jest dostępna w tym momencie. Zobacz mapę witryny:</p>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">Ta strona nie istnieje lub nie jest dostępna w tym momencie.</p>
<a href="/" class="btn btn-primary">Wróć do strony głównej</a>
</div>
</div>
9 changes: 7 additions & 2 deletions src/Backend/Modules/Pages/Installer/Data/pt/404.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
<iframe src="http://notfound-static.fwebservices.be/404/index.html" width="100%" height="650" frameborder="0"></iframe>
<p>Esta página não existe ou não se encontra neste momento visível. Visite o mapa do site:</p>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">Esta página não existe ou não se encontra neste momento visível.</p>
<a href="/" class="btn btn-primary">Vá para a página inicial</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/ro/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/ru/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>Страница не существует или сейчас не доступна.</p>
<a href="/">Главная</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">Страница не существует или сейчас не доступна.</p>
<a href="/" class="btn btn-primary">Главная</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/sv/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/tr/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/uk/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
10 changes: 6 additions & 4 deletions src/Backend/Modules/Pages/Installer/Data/zh/404.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<div id="error">
<p>This page doesn't exist or is not accessible at this time.</p>
<a href="/">Go to home</a>
<h2>404</h2>
<div class="row justify-content-center text-center" id="error">
<div class="col-auto">
<h1 class="mb-4">404</h1>
<p class="mb-5">This page doesn't exist or is not accessible at this time.</p>
<a href="/" class="btn btn-primary">Go to home</a>
</div>
</div>
1 change: 0 additions & 1 deletion src/Backend/Modules/Pages/Installer/Installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@ private function configureFrontendPages(): void
],
null,
['html' => __DIR__ . '/Data/' . $language . '/404.txt'],
['extra_id' => $this->getExtraId('sitemap')],
['extra_id' => $this->getExtraId('search_form'), 'position' => 'top']
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#error {
@include media-breakpoint-up(lg) {
h1 {
font-size: 4.5rem;
}
}
}
1 change: 1 addition & 0 deletions src/Frontend/Themes/Bootstrap/src/Layout/Sass/screen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

// Components
@import 'components/cookiebar';
@import 'components/error';
@import 'components/footer';
@import 'components/forms';
@import 'components/privacyConsentDialog';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
</div>

<div class="container">
<img src="{{ THEME_URL }}/apple-touch-icon-180.png" class="mb-3">
{% for block in positions.main %}
{% if block.html %}
{{ block.html|raw }}
Expand All @@ -16,4 +15,3 @@
</div>

{% endblock %}

Loading