5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 03:51:41 +00:00
panel/app/views/layouts/application.html.haml

26 lines
943 B
Text
Raw Permalink 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 dark' }/
%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'
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
= stylesheet_pack_tag 'application', 'data-turbolinks-track': 'reload'
= favicon_link_tag 'sutty_cuadrada.png', rel: 'apple-touch-icon', type: 'image/png'
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
2018-01-29 18:09:30 +00:00
= yield
- if flash[:js]
.js-flash.d-none{ data: flash[:js] }