error.html.haml 783 B

1234567891011121314151617
  1. !!!
  2. %html{ lang: I18n.locale }
  3. %head
  4. %meta{ content: 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type' }/
  5. %meta{ charset: 'utf-8' }/
  6. %title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ')
  7. %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
  8. = stylesheet_pack_tag 'common', media: 'all'
  9. = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
  10. = javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
  11. = javascript_pack_tag 'error', integrity: true, crossorigin: 'anonymous'
  12. %body.error
  13. .dialog
  14. .dialog__illustration
  15. %img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
  16. .dialog__message
  17. %h1= yield :content