about summary refs log tree commit diff
path: root/app/views/layouts/error.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-02-15 23:33:25 +0100
committerGitHub <noreply@github.com>2019-02-15 23:33:25 +0100
commit80388a3ffe654f5aec0dc94ce9976b4e9fe257ae (patch)
tree4c9dc7e634b590224c1e2d26a191e3751486a5e0 /app/views/layouts/error.html.haml
parent71e28ba39993d6eb3c5966e20214214c9d81b173 (diff)
Change error graphic to hover-to-play (#10055)
Fix #6060
Diffstat (limited to 'app/views/layouts/error.html.haml')
-rw-r--r--app/views/layouts/error.html.haml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index 37359b89b..25c85abf9 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -7,8 +7,11 @@
     %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
     = stylesheet_pack_tag 'common', media: 'all'
     = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
+    = javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
+    = javascript_pack_tag 'error', integrity: true, crossorigin: 'anonymous'
   %body.error
     .dialog
-      %img{ alt: Setting.default_settings['site_title'], src: '/oops.gif' }/
-      %div
+      .dialog__illustration
+        %img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
+      .dialog__message
         %h1= yield :content