/
layout.erb
38 lines (33 loc) · 1.11 KB
/
layout.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html>
<head>
<title>lpm.io - The Gazebo </title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css">
<%= css :app %>
</head>
<body>
<%= styled_flash %>
<div class="site-wrapper">
<div class="site-wrapper-inner">
<div class="cover-container">
<%= yield %>
<!-- <div class="mastfoot">
<div class="inner">
<p>Cover template for <a href="http://getbootstrap.com">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p>
</div>
</div> -->
</div>
</div>
</div>
<script type="text/javascript">
window.state = window.state || {}
window.state.csrf = "<%= csrf_token %>"
</script> <%# TODO find better way to embed this in JS files %>
<%= js :app %>
<script>
<%= if calendar? then "initCalendar();" else "initRequirements();" end %>
</script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
</body>
</html>