[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 'mootools-1.2.js' %> |
---|
| 15 | <%= javascript_include_tag "scriptaculous/lib/prototype.js" %> |
---|
| 16 | <%= javascript_include_tag "scriptaculous/src/scriptaculous.js" %> |
---|
[4] | 17 | <%= javascript_include_tag "lightbox/lightbox.js" %> |
---|
[10] | 18 | <%= javascript_include_tag 'comboBox.js' %> |
---|
| 19 | <%= javascript_include_tag 'multi_selector.js' %> |
---|
[4] | 20 | |
---|
[1] | 21 | </head> |
---|
| 22 | <body> |
---|
[11] | 23 | <div id="Main"> |
---|
[6] | 24 | <!-- <div id="BorderLeft" style="float: left; width: 68px; "> |
---|
| 25 | <%= image_tag ( "block-test.png ") %> |
---|
[1] | 26 | </div> --> |
---|
| 27 | <div id="InnerMain" > |
---|
[6] | 28 | <div id="Header" style=" |
---|
[8] | 29 | /*background-image: url('/images/Header<%= ((rand(10) % 5) + 1).to_s %>.jpg');*/ |
---|
[11] | 30 | background-image: url('/images/Header1.png'); |
---|
[6] | 31 | "></div> |
---|
[1] | 32 | <div id="Sidebar"> |
---|
[8] | 33 | <h3><%= link_to "Bio", :controller => "Main", :action => "bio" %></h3> |
---|
[4] | 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 %> |
---|
[8] | 46 | <h3><%= link_to "Contact", :controller => "Main", :action => "contact" %></h3> |
---|
[1] | 47 | </div> <!-- end Sidebar --> |
---|
| 48 | <div id="Title"> |
---|
[11] | 49 | <a href="/">The Art of Engineering</a> |
---|
| 50 | <p>Computers, Art, and Everything in Between...</p> |
---|
[1] | 51 | </div> <!-- end Title --> |
---|
| 52 | |
---|
| 53 | <div id="Content"> |
---|
| 54 | |
---|
| 55 | <%= yield %> |
---|
| 56 | |
---|
| 57 | </div> <!-- end Content --> |
---|
| 58 | <div class="divclear"></div> |
---|
[11] | 59 | |
---|
| 60 | </div> <!-- end InnerMain--> |
---|
| 61 | <div id="Footer"> |
---|
[4] | 62 | <% if logged_in? %> |
---|
[10] | 63 | <p><span>[<%= link_to 'Logout', :controller => "account", :action => "logout" %>] | [<a href="">xhtml</a>] | [<a href="">css</a>]</span></p> |
---|
| 64 | <% else %> |
---|
| 65 | <p><span>[<a href="">xhtml</a>] | [<a href="">css</a>]</span></p> |
---|
[4] | 66 | <% end %> |
---|
[1] | 67 | </div> <!-- end Footer --> |
---|
| 68 | </div> <!-- end Main --> |
---|
| 69 | </body> |
---|
| 70 | </html> |
---|