module-and-template-store/app/views/layouts/application.html.erb

66 lines
2.3 KiB
Plaintext
Raw Normal View History

</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2013-12-25 10:39:05 +00:00
<html>
<head>
<title>RulingOrbit - Template &#38; Module Store</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Average+Sans' rel='stylesheet' type='text/css'>
<%= csrf_meta_tags %>
<style>
h1, h2, h3{
font-family: 'Arvo', serif;
}
</style>
</head>
<body>
<!-- Wrap all page content here
-->
<div id="wrap">
<!-- Fixed navbar
-->
<div class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle" data-target=".navbar-collapse" data-toggle="collapse" type="button">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/"><%= image_tag 'orbit-logo.png', :height => 19, :width => 19%>rbit Store</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active">
<%= link_to "Home", root_path %>
</li>
<li>
<%= link_to "Templates", templates_path %>
</li>
<li>
<%= link_to "Modules", extensions_path %>
</li>
</ul>
<ul class="nav navbar-nav pull-right">
<% if user_signed_in? %>
<li>
<%= link_to "#{current_user.email}" %>
</li>
<li class="active">
<%= link_to "Logout", destroy_user_session_path, :method => :delete %>
</li>
<% end %>
</ul>
</div>
<!-- /.nav-collapse
-->
</div>
</div>
<div class="container">
<%= yield %>
</div>
</div>
</body>
2013-12-25 10:39:05 +00:00
</html>