thingspeak/app/views/layouts/_header.html.erb

24 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-05-09 02:01:41 +02:00
<head>
2014-10-13 19:41:58 +02:00
<title><%= @title.nil? ? (@menu.nil? ? 'ThingSpeak' : @menu.titleize + ' - ThingSpeak') : @title + ' - ThingSpeak' %></title>
2014-05-22 23:28:17 +02:00
<meta content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
2014-10-13 19:41:58 +02:00
<meta name="description" content="<%= "#{@title} on ThingSpeak: " if @title.present? %>Open source data platform and API for the Internet of Things.">
2014-05-22 23:28:17 +02:00
<meta name="keywords" content="iot, internet of things, iot platform, github, open source, internet of things platform, iobridge">
2014-05-09 02:01:41 +02:00
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootswatch/3.1.1/cerulean/bootstrap.min.css" />
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" media="screen" rel="stylesheet" />
2014-07-23 19:45:15 +02:00
<%= stylesheet_link_tag 'application', "data-turbolinks-track" => true %>
2014-05-09 02:01:41 +02:00
<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>
2014-07-23 19:45:15 +02:00
<%= javascript_include_tag 'application', "data-turbolinks-track" => true %>
2014-05-09 02:01:41 +02:00
<%= csrf_meta_tag %>
<% if Rails.env == 'production' %>
<%= render 'layouts/ga' %>
<% end %>
<%= yield :head %>
</head>
2011-03-27 22:56:15 +02:00