[1] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
---|
| 6 | <title>The Art of Engineering</title> |
---|
| 7 | <%= stylesheet_link_tag 'style' %> |
---|
| 8 | <%= stylesheet_link_tag 'scaffold' %> |
---|
| 9 | <%= stylesheet_link_tag 'MultiUpload' %> |
---|
[4] | 10 | <%= stylesheet_link_tag 'lightbox' %> |
---|
| 11 | |
---|
| 12 | <%= javascript_include_tag 'controls' %> |
---|
| 13 | <%= javascript_include_tag 'application' %> |
---|
[1] | 14 | <%= javascript_include_tag 'comboBox.js' %> |
---|
| 15 | <%= javascript_include_tag 'multi_selector.js' %> |
---|
| 16 | <%= javascript_include_tag 'mootools-1.2.js' %> |
---|
| 17 | <%= javascript_include_tag "scriptaculous/lib/prototype.js" %> |
---|
| 18 | <%= javascript_include_tag "scriptaculous/src/scriptaculous.js" %> |
---|
[4] | 19 | <%= javascript_include_tag "lightbox/lightbox.js" %> |
---|
| 20 | |
---|
[1] | 21 | </head> |
---|
| 22 | <body> |
---|
| 23 | |
---|
| 24 | <div id="Main"> |
---|
[6] | 25 | <!-- <div id="BorderLeft" style="float: left; width: 68px; "> |
---|
| 26 | <%= image_tag ( "block-test.png ") %> |
---|
[1] | 27 | </div> --> |
---|
| 28 | <div id="InnerMain" > |
---|
[6] | 29 | <div id="Header" style=" |
---|
| 30 | background-image: url('../images/Header<%= (rand(100) % 6).to_s %>.jpg'); |
---|
| 31 | "></div> |
---|
[1] | 32 | <div id="Sidebar"> |
---|
[4] | 33 | <h3><a href="/bio.htm">Bio</a></h3> |
---|
| 34 | <h3><a href="/Artwork/">Art</a></h3> |
---|
| 35 | <% if @sidebar == "Artwork" %> |
---|
| 36 | <% for gallery in @galleries %> |
---|
[6] | 37 | <span>» <%= link_to gallery.sTitle, :action => "show", :params => {:id => gallery.id} %></a></span><br/> |
---|
[4] | 38 | <% end %> |
---|
| 39 | <% end %> |
---|
| 40 | <h3><a href="/Engineering/">Engineering</a></h3> |
---|
| 41 | <% if @sidebar == "Engineering" %> |
---|
| 42 | <% for gallery in @galleries %> |
---|
[6] | 43 | <span>» <a href="#<%= gallery.sTitle.to_s + "_" + gallery.id.to_s %>"><%= gallery.sTitle %></span><br/> |
---|
[4] | 44 | <% end %> |
---|
| 45 | <% end %> |
---|
| 46 | <h3><a href="/contact.htm">Contact</a></h3> |
---|
[1] | 47 | </div> <!-- end Sidebar --> |
---|
| 48 | <div id="Title"> |
---|
[6] | 49 | <h1><a href="/">The Art of Engineering</a><h1> |
---|
| 50 | <p>Computers, Art, and Everything in Between...</> |
---|
[1] | 51 | </div> <!-- end Title --> |
---|
| 52 | |
---|
| 53 | <div id="Content"> |
---|
| 54 | |
---|
| 55 | <%= yield %> |
---|
| 56 | |
---|
| 57 | </div> <!-- end Content --> |
---|
| 58 | <div class="divclear"></div> |
---|
| 59 | <div id="Footer"> |
---|
[4] | 60 | <% if logged_in? %> |
---|
| 61 | <span>[<%= link_to 'Logout', :controller => "account", :action => "logout" %>] | </span> |
---|
| 62 | <% end %> |
---|
[6] | 63 | <p><span>[<a href="">xhtml</a>] | [<a href="">css</a>]</span></p> |
---|
[1] | 64 | </div> <!-- end Footer --> |
---|
| 65 | </div> <!-- end InnerMain--> |
---|
| 66 | </div> <!-- end Main --> |
---|
| 67 | </body> |
---|
| 68 | </html> |
---|