mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-02 21:24:25 +00:00
Added styling
This commit is contained in:
12
app/views/layouts/_footer.html.erb
Normal file
12
app/views/layouts/_footer.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<footer class="footer">
|
||||
<small>
|
||||
App made by Cody Wimer
|
||||
</small>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><%= link_to "About", '#' %></li>
|
||||
<li><%= link_to "Contact", '#' %></li>
|
||||
<li><a href="http://news.railstutorial.org/">News</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</footer>
|
||||
13
app/views/layouts/_header.html.erb
Normal file
13
app/views/layouts/_header.html.erb
Normal file
@@ -0,0 +1,13 @@
|
||||
<header class="navbar navbar-fixed-top navbar-inverse">
|
||||
<div class="navbar-inner">
|
||||
<div class="container">
|
||||
<%= link_to "CCHS Wrestling", root_path, id: "logo" %>
|
||||
<nav>
|
||||
<ul class="nav pull-right">
|
||||
<li><%= link_to "Home", root_path %></li>
|
||||
<li><%= link_to "Help", '#' %></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
3
app/views/layouts/_shim.html.erb
Normal file
3
app/views/layouts/_shim.html.erb
Normal file
@@ -0,0 +1,3 @@
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
@@ -1,14 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Wrestling</title>
|
||||
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
|
||||
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<head>
|
||||
<title>Comet Wrestling</title>
|
||||
<%= stylesheet_link_tag "application", media: "all" %>
|
||||
<%= javascript_include_tag "application" %>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= render 'layouts/shim' %>
|
||||
</head>
|
||||
<body>
|
||||
<%= render 'layouts/header' %>
|
||||
<div class="container">
|
||||
<% flash.each do |key, value| %>
|
||||
<div class="alert alert-<%= key %>"><%= value %></div>
|
||||
<% end %>
|
||||
<%= yield %>
|
||||
<%= render 'layouts/footer' %>
|
||||
<%= debug(params) if Rails.env.development? %>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
2
app/views/static_pages/index.html.erb
Normal file
2
app/views/static_pages/index.html.erb
Normal file
@@ -0,0 +1,2 @@
|
||||
<h1>CCHS Wrestling</h1>
|
||||
<h3>1st Annual Comet Classic</h3>
|
||||
Reference in New Issue
Block a user