asciinema.org/app/views/layouts/application.html.erb
2012-03-10 14:55:37 +01:00

88 lines
2.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ascii.io</title>
<%= airbrake_javascript_notifier %>
<%= csrf_meta_tags %>
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
<![endif]-->
<!-- Le styles -->
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
<%= render :partial => 'layouts/current_user_js' %>
<%= render :partial => 'layouts/ga' %>
<!-- Le fav and touch icons -->
<link href="images/favicon.ico" rel="shortcut icon">
<link href="images/apple-touch-icon.png" rel="apple-touch-icon">
<link href="images/apple-touch-icon-72x72.png" rel="apple-touch-icon" sizes="72x72">
<link href="images/apple-touch-icon-114x114.png" rel="apple-touch-icon" sizes="114x114">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-target=".nav-collapse" data-toggle="collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="/">ascii.io</a>
<div class="container-fluid nav-collapse">
<%= render :partial => 'layouts/navigation' %>
<%= render :partial => 'layouts/session_info' %>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container-fluid">
<% flash.each do |type, message| %>
<div class="alert alert-<%= type == :alert ? 'error' : 'success' %>">
<a class="close" data-dismiss="alert">×</a>
<%= message %>
</div>
<% end %>
<div class="row-fluid">
<%# <div class="span3"> %>
<%# <div class="well sidebar-nav"> %>
<%# <ul class="nav nav-list"> %>
<%# <li class="nav-header">Sidebar</li> %>
<%# <li><%= link_to "Link1", "/path1" %1></li> %>
<%# <li><%= link_to "Link2", "/path2" %1></li> %>
<%# <li><%= link_to "Link3", "/path3" %1></li> %>
<%# </ul> %>
<%# </div><!--/.well --> %>
<%# </div><!--/span--> %>
<div class="span12">
<%= yield %>
</div>
</div><!--/row-->
<footer>
<p>Created by <%= link_to 'Marcin Kulik', 'https://github.com/sickill' %></p>
</footer>
</div> <!-- /container -->
</body>
</html>