2013-05-27 23:24:24 +00:00
|
|
|
doctype html
|
|
|
|
html[lang="en"]
|
|
|
|
head
|
|
|
|
meta[charset="utf-8"]
|
2013-11-17 15:49:46 +00:00
|
|
|
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"
|
2013-10-23 20:00:02 +00:00
|
|
|
- if Rails.env.development?
|
|
|
|
= javascript_include_tag "persona-include.js"
|
|
|
|
- else
|
|
|
|
= javascript_include_tag "https://login.persona.org/include.js"
|
2013-11-17 15:49:46 +00:00
|
|
|
= javascript_include_tag "application"
|
|
|
|
= javascript_include_tag "player"
|
2013-05-27 23:24:24 +00:00
|
|
|
= favicon_link_tag 'favicon.png'
|
2013-11-17 15:49:46 +00:00
|
|
|
= render 'layouts/ga'
|
2013-05-27 23:24:24 +00:00
|
|
|
script
|
2013-08-04 20:43:36 +00:00
|
|
|
| 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
|
2013-11-17 15:49:46 +00:00
|
|
|
= render 'layouts/header'
|
|
|
|
= render 'shared/flash'
|
|
|
|
.main = content_for?(:content) ? yield(:content) : yield
|
|
|
|
= render 'layouts/footer'
|