5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 22:36:21 +00:00
panel/app/views/layouts/application.html.haml

32 lines
1.2 KiB
Text
Raw Normal View History

2018-01-29 18:09:30 +00:00
!!!
%html{ lang: I18n.locale, dir: t('dir') }
2018-01-29 18:09:30 +00:00
%head
%meta{ charset: 'UTF-8' }/
2019-07-26 00:08:37 +00:00
%meta{ content: 'text/html; charset=UTF-8',
'http-equiv': 'Content-Type' }/
%meta{ name: 'color-scheme', content: 'light' }/
%meta{ name: 'viewport',
content: 'width=device-width, initial-scale=1.0' }/
%meta{ name: 'referrer', content: 'same-origin' }/
2018-01-29 18:09:30 +00:00
%title Sutty
2019-07-26 00:08:37 +00:00
2021-02-02 21:52:54 +00:00
%script{ type: 'text/javascript', src: '/env.js' }
2018-01-29 18:09:30 +00:00
= csrf_meta_tags
2021-02-02 21:52:54 +00:00
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
= stylesheet_link_tag 'dark', rel: 'alternate stylesheet', media: 'all', 'data-turbolinks-track': 'reload', title: t('dark')
2024-03-26 15:28:53 +00:00
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload', defer: true
2021-02-02 21:52:54 +00:00
= stylesheet_pack_tag 'application', 'data-turbolinks-track': 'reload'
= favicon_link_tag 'sutty_cuadrada.png', rel: 'apple-touch-icon', type: 'image/png'
= render 'layouts/link_rel_alternate'
2019-10-02 17:37:15 +00:00
2019-09-11 19:29:05 +00:00
%body{ class: yield(:body) }
2019-07-26 00:08:37 +00:00
.container-fluid#sutty
2021-05-09 16:02:09 +00:00
= render 'layouts/breadcrumb'
= render 'layouts/flash'
2018-01-29 18:09:30 +00:00
= yield
- if flash[:js]
.js-flash.d-none{ data: flash[:js] }