summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-04-23 11:14:44 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-04-23 11:14:44 -0400
commitca5e4c1f42103df8cb16ab91029f4eacc203d76a (patch)
treedc30cfff9bd5b37e821eb168d4919eae5d630b47
parent059acc4cb02c12e26da41f4bcedfa96559136029 (diff)
"fix" lib/template.erb
-rw-r--r--lib/template.erb112
1 files changed, 66 insertions, 46 deletions
diff --git a/lib/template.erb b/lib/template.erb
index 40ea8c4..92f636c 100644
--- a/lib/template.erb
+++ b/lib/template.erb
@@ -1,15 +1,15 @@
<!DOCTYPE html>
<html lang="en">
-
-<head>
-
+ <head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
- <title>McCutcheon Robotics</title>
+ <!-- the meta tags must come first -->
+
+ <title><%= @title %></title>
<!-- Bootstrap Core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
@@ -28,53 +28,73 @@
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
-<style>
-
-body {
- padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
-}
+ <style>
+ body {
+ padding-top: 70px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
+ }
-.img-center {
- margin: 0 auto;
-}
-#Team {
- text-align: center;
-}
-</style>
-</head>
+ .img-center {
+ margin: 0 auto;
+ }
+ #Team {
+ text-align: center;
+ }
+ </style>
+ </head>
-<body>
+ <body>
<!-- Navigation -->
- <nav class="navbar navbar-default navbar-custom navbar-fixed-top">
+ <header>
+ <nav class="navbar navbar-default navbar-custom navbar-fixed-top">
<div class="container-fluid">
- <!-- Brand and toggle get grouped for better mobile display -->
- <div class="navbar-header page-scroll">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
- <span class="sr-only">Toggle navigation</span>
- Menu <i class="fa fa-bars"></i>
- </button>
- <a class="navbar-brand" href="index.html">Team 4272</a>
- </div>
+ <!-- Brand and toggle get grouped for better mobile display -->
+ <div class="navbar-header page-scroll">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
+ <span class="sr-only">Toggle navigation</span>
+ Menu <i class="fa fa-bars"></i>
+ </button>
+ <a class="navbar-brand" href="index.html">Team 4272</a>
+ </div>
- <!-- Collect the nav links, forms, and other content for toggling -->
- <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
- <ul class="nav navbar-nav navbar-right">
- <li>
- <a href="index.html">Home</a>
- </li>
- <li>
- <a href="about.html">About</a>
- </li>
- <li>
- <a href="post.html">Sponsorships</a>
- </li>
- <li>
- <a href="contact.html">Contact</a>
- </li>
- </ul>
- </div>
- <!-- /.navbar-collapse -->
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
+ <ul class="nav navbar-nav navbar-right">
+ <li>
+ <a href="index.html">Home</a>
+ </li>
+ <li>
+ <a href="about.html">About</a>
+ </li>
+ <li>
+ <a href="post.html">Sponsorships</a>
+ </li>
+ <li>
+ <a href="contact.html">Contact</a>
+ </li>
+ </ul>
+ </div>
+ <!-- /.navbar-collapse -->
</div>
<!-- /.container -->
- </nav> \ No newline at end of file
+ </nav>
+ </header>
+ <article>
+ <%= @body %>
+ </article>
+ <footer>
+ <div>
+ <h3>Sponsors</h3>
+ <ul>
+ <li><a href="http://mhs.tsc.k12.in.us/">McCutcheon High School</a></li>
+ <li><a href="http://www.purduefirst.org/">Purdue FIRST Program</a></li>
+ <li><a href="http://cfglaf.org/">Community Foundation of greater Lafayette</a></li>
+ </ul>
+ </div>
+ <div>
+ <h3>About</h3>
+ <a href="https://git.team4272.com/www.git">Website Source Code</a>
+ </div>
+ </footer>
+ </body>
+</html>