Last active
December 17, 2015 00:09
-
-
Save petehuang/5518381 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Directory</title> | |
<%= stylesheet_link_tag "application", :media => "all" %> | |
<%= javascript_include_tag "application" %> | |
<%= csrf_meta_tags %> | |
</head> | |
<body> | |
<header class="navbar navbar-fixed-top navbar-inverse"> | |
<div class="navbar-inner"> | |
<div class="container"> | |
<%= link_to 'Directory', root_path, id: "logo" %> | |
</div> | |
</div> | |
</header> | |
<p class='notice'><%= notice %></p> | |
<p class='alert'><%= alert %></p> | |
<%= yield %> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "bootstrap"; | |
body { | |
padding-top: 60px; | |
} | |
#logo { | |
float: left; | |
font-family: Helvetica; | |
font-size: 1.7em; | |
color: #fff; | |
font-weight: bold; | |
text-transform: lowercase; | |
padding-top: 9px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if user_signed_in? %> | |
Signed in as <%= current_user.email %>. Not you? | |
<%= link_to "Sign out", destroy_user_session_path, method: :delete %> | |
<% else %> | |
<%= link_to "Sign up", new_user_registration_path %> or | |
<%= link_to "Sign in", new_user_session_path %> | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Directory</title> | |
<link href="/assets/application.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<link href="/assets/confirmations.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<link href="/assets/custom.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<link href="/assets/registrations.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<link href="/assets/static_pages.css?body=1" media="all" rel="stylesheet" type="text/css" /> | |
<script src="/assets/jquery.js?body=1" type="text/javascript"></script> | |
<script src="/assets/jquery_ujs.js?body=1" type="text/javascript"></script> | |
<script src="/assets/confirmations.js?body=1" type="text/javascript"></script> | |
<script src="/assets/registrations.js?body=1" type="text/javascript"></script> | |
<script src="/assets/static_pages.js?body=1" type="text/javascript"></script> | |
<script src="/assets/application.js?body=1" type="text/javascript"></script> | |
<meta content="authenticity_token" name="csrf-param" /> | |
<meta content="5w/MTxTblXvu7fjEZ++vhgwRIrn14GD+55G2/agL/70=" name="csrf-token" /> | |
</head> | |
<body> | |
<header class="navbar navbar-fixed-top navbar-inverse"> | |
<div class="navbar-inner"> | |
<div class="container"> | |
<a href="/" id="logo">Directory</a> | |
</div> | |
</div> | |
</header> | |
<div class="notice"></div> | |
<div class="alert"></div> | |
<a href="/users/sign_up">Sign up</a> or | |
<a href="/users/sign_in">Sign in</a> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment