Browse Source

404 plus jolie

François 6 years ago
parent
commit
31d45e5981
4 changed files with 15 additions and 0 deletions
  1. 8 0
      app/Resources/TwigBundle/views/Exception/error404.html.twig
  2. 1 0
      assets/js/app.js
  3. 1 0
      package.json
  4. 5 0
      yarn.lock

+ 8 - 0
app/Resources/TwigBundle/views/Exception/error404.html.twig

@@ -0,0 +1,8 @@
+{% extends "base.html.twig" %}
+
+{% block title %}Erreur 404{% endblock %}
+{% block titre %}Page non trouvée{% endblock %}
+
+{% block body %}
+<p>La page que vous cherchez à joindre n'est pas disponible</p>
+{% endblock %}

+ 1 - 0
assets/js/app.js

@@ -6,6 +6,7 @@ import 'bootstrap';
 import 'font-awesome/css/font-awesome.css';
 import 'jquery-ui/themes/base/all.css';
 import 'jquery-ui/ui/widgets/autocomplete';
+import 'bootstrap-notify/bootstrap-notify';
 
 $(document).ready(function() {
     $(function() {

+ 1 - 0
package.json

@@ -2,6 +2,7 @@
   "devDependencies": {
     "@symfony/webpack-encore": "^0.20.1",
     "bootstrap": "^4.1.3",
+    "bootstrap-notify": "^3.1.3",
     "bootstrap-star-rating": "^4.0.4",
     "font-awesome": "^4.7.0",
     "jquery": "^3.3.1",

+ 5 - 0
yarn.lock

@@ -968,6 +968,11 @@ boolbase@~1.0.0:
   resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
   integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
 
+bootstrap-notify@^3.1.3:
+  version "3.1.3"
+  resolved "https://registry.yarnpkg.com/bootstrap-notify/-/bootstrap-notify-3.1.3.tgz#7e98b3a696cf452a7b56727f0b3316a90037c10b"
+  integrity sha1-fpizppbPRSp7VnJ/CzMWqQA3wQs=
+
 bootstrap-star-rating@^4.0.4:
   version "4.0.4"
   resolved "https://registry.yarnpkg.com/bootstrap-star-rating/-/bootstrap-star-rating-4.0.4.tgz#93c8dac195e47e2a8d4e084112fea9a4d9ca1d3f"