asciinema.org/app/views/layouts/application.html.slim

25 lines
832 B
Plaintext
Raw Normal View History

2013-05-27 23:24:24 +00:00
doctype html
html[lang="en"]
head
meta[charset="utf-8"]
meta[name="viewport" content="width=device-width, initial-scale=1.0"]
2013-05-27 23:24:24 +00:00
title = page_title
= csrf_meta_tags
= stylesheet_link_tag "application", :media => "all"
- if Rails.env.development?
= javascript_include_tag "persona-include.js"
- else
= javascript_include_tag "https://login.persona.org/include.js"
= javascript_include_tag "application"
= javascript_include_tag "player"
2013-05-27 23:24:24 +00:00
= favicon_link_tag 'favicon.png'
= render 'layouts/ga'
2013-05-27 23:24:24 +00:00
script
| window.mainWorkerPath = '#{javascript_path "main_worker"}';
2013-10-19 16:25:30 +00:00
| window.browserIdUser = #{browser_id_user};
2013-05-27 23:24:24 +00:00
body
= render 'layouts/header'
= render 'shared/flash'
.main = content_for?(:content) ? yield(:content) : yield
= render 'layouts/footer'