83 lines
2.4 KiB
Plaintext
83 lines
2.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><%= full_title(yield(:title)) %></title>
|
|
|
|
<!--[if IE]>
|
|
<link rel="stylesheet" type="text/css" href="css/ie.css" media="screen, projection"/>
|
|
<![endif]-->
|
|
<link href='http://fonts.googleapis.com/css?family=Raleway:100,200,300,400,500,600,700' rel='stylesheet' type='text/css'>
|
|
<%= stylesheet_link_tag "web/web", media: "all" %>
|
|
<% if bugsnag? %>
|
|
<!-- THIS NEEDS TO BE IN FRONT OF ANY OTHER JAVASCRIPT INCLUDES ACCORDING TO BUGSNAG -->
|
|
<script src="//d2wy8f7a9ursnm.cloudfront.net/bugsnag-1.0.9.min.js" data-apikey="<%= Rails.application.config.bugsnag_key %>"></script>
|
|
<% end %>
|
|
<%= include_gon(:init => true) %>
|
|
<%= csrf_meta_tags %>
|
|
</head>
|
|
<body class="web">
|
|
<%= javascript_include_tag "web/web" %>
|
|
<div class="dialog-overlay op70" style="display:none; width:100%; height:100%; z-index:99;"></div>
|
|
|
|
<div class="wrapper">
|
|
|
|
<div class="logo-home">
|
|
<%= link_to root_path do %>
|
|
<%= image_tag("web/logo_home.png", :alt => "JamKazam logo", :size => "298x54") %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<% unless @hide_user_dropdown %>
|
|
<%= render "users/user_dropdown" %>
|
|
<% end %>
|
|
|
|
<br clear="all" /><br /><br />
|
|
</div>
|
|
|
|
<div class="landing-content">
|
|
<div class="wrapper">
|
|
<%= yield %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="wrapper">
|
|
<%= yield(:after_black_bar) %>
|
|
</div>
|
|
|
|
<div id="footer-container">
|
|
<%= render "clients/footer" %>
|
|
</div>
|
|
|
|
<%= render "clients/invitationDialog" %>
|
|
<%= render "users/signupDialog" %>
|
|
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
|
|
JK = JK || {};
|
|
|
|
<% if current_user %>
|
|
JK.currentUserId = '<%= current_user.id %>';
|
|
<% else %>
|
|
JK.currentUserId = null;
|
|
<% end %>
|
|
|
|
JK.app = JK.JamKazam();
|
|
JK.app.initialize({inClient: false, layoutOpts: {layoutFooter: false}});
|
|
|
|
var invitationDialog = new JK.InvitationDialog(JK.app);
|
|
invitationDialog.initialize();
|
|
|
|
var userDropdown = new JK.UserDropdown(JK.app);
|
|
userDropdown.initialize(invitationDialog);
|
|
|
|
var signupDialog = new JK.SignupDialog(JK.app);
|
|
signupDialog.initialize();
|
|
})
|
|
</script>
|
|
|
|
<%= render "shared/ga" %>
|
|
<!-- version info: <%= version %> -->
|
|
</body>
|
|
</html>
|