2011-03-27 22:56:15 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2014-02-17 18:05:39 +01:00
|
|
|
<head>
|
|
|
|
<title><%= @title.nil? ? (@menu.nil? ? 'ThingSpeak' : @menu.capitalize + ' - ThingSpeak') : @title + ' - ThingSpeak' %></title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<%= stylesheet_link_tag 'application' %>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
|
|
|
<script type='text/javascript' src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script>
|
|
|
|
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script>
|
|
|
|
<%= javascript_include_tag 'application' %>
|
|
|
|
|
|
|
|
<%= csrf_meta_tag %>
|
|
|
|
<% if Rails.env == 'production' %>
|
|
|
|
<%= render 'layouts/ga' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= yield :head %>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="wrap">
|
|
|
|
<%= render 'layouts/header' %>
|
|
|
|
<div class="container">
|
|
|
|
<%= yield %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= render 'layouts/footer' %>
|
|
|
|
|
|
|
|
</body>
|
2011-03-27 22:56:15 +02:00
|
|
|
</html>
|
2014-02-17 18:05:39 +01:00
|
|
|
|