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

46 lines
1.4 KiB
Plaintext
Raw Normal View History

2013-05-27 23:24:24 +00:00
doctype html
html[lang="en"]
head
meta[charset="utf-8"]
title = page_title
= csrf_meta_tags
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= javascript_include_tag "player"
- if Rails.env.development?
= javascript_include_tag "persona-include.js"
- else
= javascript_include_tag "https://login.persona.org/include.js"
2013-05-27 23:24:24 +00:00
= favicon_link_tag 'favicon.png'
= render :partial => 'layouts/ga'
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
header
.wrapper
2013-10-23 20:10:15 +00:00
a.logo href="/"
img src=image_path('logo-bar.png')
2013-05-27 23:24:24 +00:00
.navigation
= render :partial => 'layouts/navigation'
.divider-vertical
= render :partial => 'layouts/session_info'
2013-10-23 20:10:15 +00:00
2013-05-27 23:24:24 +00:00
- flash.each do |type, message|
p[class=type] = message
2013-10-23 20:10:15 +00:00
2013-05-27 23:24:24 +00:00
#content
= content_for?(:content) ? yield(:content) : yield
2013-10-23 20:10:15 +00:00
2013-05-27 23:24:24 +00:00
footer
.wrapper
2013-10-25 18:01:56 +00:00
ul.links
li = link_to 'About', docs_path(:about)
2013-10-26 20:50:54 +00:00
li = link_to 'Terms of Service', tos_path
2013-10-25 18:01:56 +00:00
li = link_to 'Privacy Policy', privacy_path
2013-05-27 23:24:24 +00:00
p.title
2013-10-06 11:02:37 +00:00
' Developed with passion by
2013-05-27 23:24:24 +00:00
= link_to 'Marcin Kulik', 'https://github.com/sickill'
2013-10-26 21:48:35 +00:00
img.avatar alt="Marcin" src="//gravatar.com/avatar/9cecfc695240b56e5d3c1a5dc3830967"