Skip to content

Commit

Permalink
RUNNING SINATRA APPPPPPPPP
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffhogan committed Oct 27, 2011
1 parent 3a0ff31 commit d3296b0
Show file tree
Hide file tree
Showing 26 changed files with 735 additions and 13 deletions.
581 changes: 581 additions & 0 deletions public/css/global.css

Large diffs are not rendered by default.

Binary file added public/images/CSI_Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/VGP_Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/fb_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/headerSwoosh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/myaicampus_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/navBar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/red_abstract.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/repeating_skyline copy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/repeating_skyline.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/rss_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/sm_arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/texture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/thumbs/JulieWilliamson.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/thumbs/LaurieTorelli.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/thumbs/TafflynWilliams.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/thumbs/ianromanick.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/thumbs/jeff_abramson.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/thumbs/smallKeldBangsberg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/thumbs/smallMarkHeller.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/twitter_button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions views/footer.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- ## FOOTER ##-->
<footer>

<div id="skyline"></div>

<ul id="footerLinks">
<a href=""><li>A to Z Index</li></a>
<a href=""><li>The Art Institutes</li></a>
<a href=""><li>Education Management Corporation</li></a>
<a href=""><li>Accreditation and Licensing</li></a>
<a href=""><li>Privacy Policy</li></a>
</ul>
<ul id="copyright">
<li>The Art Institute of Portland</li>
<li>1122 N.W. Davis Street, Portland, OR 97209-2911</li>
<li>1.503.228.6528 • 1.888.228.6528</li>
<li>©2011 by The Art Institute of Portland</li>
</ul>

</footer>
</div> <!--! end of #container -->
97 changes: 97 additions & 0 deletions views/header.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">

<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<title>Art Institute of Portland</title>

<!-- Mobile viewport optimized: j.mp/bplateviewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="favicon.ico">

<!-- CSS: implied media="all" -->
<link rel="stylesheet" href="css/global.css" />

<!-- All JavaScript at the bottom, except for Modernizr which enables HTML5 elements & feature detects -->
<script src="js/libs/modernizr-1.7.min.js"></script>

</head>

<body>

<!-- ## GLOBAL CONTAINER ## -->
<div id="container">

<!-- ## HEADER ## -->
<header>
<!-- ## GLOBAL LOGO & SWOOSH ## -->
<hgroup id="headerSwoosh">

<div id="logo">
<a href="index.html"><img src="images/logo.png" alt="AiPD Logo" /></a>
</div>

<!-- ## GLOBAL SOCIAL & MYAiCAMPUS BUTTONS ## -->
<ul id="social">
<a href="#"><li id="myAiCampus"></li></a>
<a href="#"><li id="twitter"></li></a>
<a href="#"><li id="facebook"></li></a>
<a href="#"><li id="rss"></li></a>
</ul>

<!-- ## GLOBAL SEARCH ## -->
<form id="search" name="search">
<input type="text" id="search_field" name="search_field" placeholder="" />
<input type="submit" id="submit" value="search" />
</form>

<!-- ## HEADER NAV ## -->
<nav id="mainNav"><ul>
<li class="active"> <a href="#">About AiPD</a>

<!-- ## SUBNAV FOR ABOUT AiPD ## -->
<ul class="subnav">
<li> <a href="#">Sub-link</a></li>

</ul>
</li>

<li> <a href="#">Departments</a>

<!-- ## SUBNAV FOR DEDPARTMENTS ## -->
<ul class="subnav" >
<li> <a href="VGP.html">Visual and Game Programming</a></li>

</ul>
</li>

<li> <a href="#">Student Services</a>

<!-- ## SUBNAV FOR STUDENT SERVICES ## -->
<ul class="subnav">
<li> <a href="CareerServices.html">Career Services</a></li>

</ul>
</li>

<li> <a href="#">Calendar</a>

</li>

<li> <a href="#">People Directory</a>

</li>

</ul></nav>
</hgroup>
</header>
38 changes: 25 additions & 13 deletions views/index.erb
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
<!doctype html>
<html>
<!-- ## CONTENT SECTION ## -->
<div id="main" role="main">
<div id="main_slideshow" class="content_splash">

</div>
<section>
<div class="row">
<h1>News <span>&amp;</span> Events</h1>
<div class="news">
<h2>Dates and Stuff</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse venenatis blandit dui nec ullamcorper. Proin scelerisque pellentesque lacus, et convallis turpis vestibulum aliquet. Cras sit amet ligula urna, pharetra dignissim magna. Proin tristique blandit risus, at ornare nisl tristique sed. Mauris risus nunc, consequat eget rutrum et, porta in lorem. Cras porta, leo vitae eleifend consectetur, sapien ipsum venenatis massa, a accumsan magna justo quis mauris. Suspendisse molestie feugiat convallis. Vestibulum vel tellus volutpat ante laoreet rutrum. Quisque semper nulla nec augue tempus imperdiet. Duis posuere turpis non justo rutrum volutpat. Vestibulum quis neque leo. Quisque vitae dolor eget sapien dictum convallis. </p>

<p>Ut rutrum, mi a euismod lacinia, mi dolor laoreet mi, vel pellentesque ante libero at nulla. Vivamus id velit sit amet lorem commodo molestie. Suspendisse molestie volutpat ante id volutpat. Aliquam in tempus sem. Praesent faucibus nulla aliquet erat tempor sit amet ornare metus imperdiet. Nam porttitor mollis laoreet. Suspendisse potenti. Nam at augue metus. Mauris congue vulputate vulputate. Mauris varius nibh sit amet sapien ultricies ut aliquet ante condimentum. Aliquam nisi eros, aliquam eget placerat non, rutrum eget purus.</p>
</div>
<div class="news">
<h2>Dates and Stuff</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse venenatis blandit dui nec ullamcorper. Proin scelerisque pellentesque lacus, et convallis turpis vestibulum aliquet. Cras sit amet ligula urna, pharetra dignissim magna. Proin tristique blandit risus, at ornare nisl tristique sed. Mauris risus nunc, consequat eget rutrum et, porta in lorem. Cras porta, leo vitae eleifend consectetur, sapien ipsum venenatis massa, a accumsan magna justo quis mauris. Suspendisse molestie feugiat convallis. Vestibulum vel tellus volutpat ante laoreet rutrum. Quisque semper nulla nec augue tempus imperdiet. Duis posuere turpis non justo rutrum volutpat. Vestibulum quis neque leo. Quisque vitae dolor eget sapien dictum convallis. </p>
</div>
<div class="news">
<h2>Dates and Stuff</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse venenatis blandit dui nec ullamcorper. Proin scelerisque pellentesque lacus, et convallis turpis vestibulum aliquet. Cras sit amet ligula urna, pharetra dignissim magna. Proin tristique blandit risus, at ornare nisl tristique sed. Mauris risus nunc, consequat eget rutrum et, porta in lorem. Cras porta, leo vitae eleifend consectetur, sapien ipsum venenatis massa, a accumsan magna justo quis mauris. Suspendisse molestie feugiat convallis. Vestibulum vel tellus volutpat ante laoreet rutrum. Quisque semper nulla nec augue tempus imperdiet. Duis posuere turpis non justo rutrum volutpat. Vestibulum quis neque leo. Quisque vitae dolor eget sapien dictum convallis. </p>
</div>
</div>
</section>

<head>

<title>Don't get excited, this is a test DOM for <%= @title %></title>
</head>

<body>

<h1>Hello Group!</h1>

</body>
</html>
</div>
11 changes: 11 additions & 0 deletions views/layout.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<%= erb :header %>
<%= yield %>
<%= erb :footer %>
</body>

</html>

0 comments on commit d3296b0

Please sign in to comment.