public
Description: HomeMarks is a web based GUI to build HTML start pages.
Homepage: http://www.homemarks.com/
Clone URL: git://github.com/metaskills/homemarks.git
Click here to lend your support to: homemarks and make a donation at www.pledgie.com !
metaskills (author)
Fri May 16 14:42:59 -0700 2008
commit  9ade90a070de02789c47eca04e92ee77c2af1391
tree    2900a8ec22532179c6b666890e885382b3591050
parent  d4325eb06327c9d674ab92933f4f5d705615e83e
homemarks / app / views / layouts / site.html.erb
100644 60 lines (53 sloc) 2.267 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>HomeMarks - <%= yield(:title) || 'Simple Bookmark Start Page' %></title>
  <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
  <link rel="icon" type="image/png" href="/favicon.png" />
  <%= stylesheet_link_tag 'application', :media => 'all' %>
  <%= stylesheet_link_tag 'utility_styles', :media => 'all' %>
  <%= javascript_include_tag 'prototype', 'effects', 'dragdrop', 'builder', :cache => 'homemarks_vendor' %>
  <%= javascript_include_tag 'homemarks/utilities','homemarks/site','homemarks/modal', :cache => 'homemarks_site' %>
  <script type="text/javascript">
    document.observe('dom:loaded', function(){
      HmSite = new HomeMarksSite();
      HmModal = new HomeMarksModal();
    });
    Builder.dump();
  </script>
</head>
<body id="body">
  
  <div id="site_wrapper">
    
    <div id="site_masthead">
      <div id="site_links">
        <%= site_nav_for 'Home', :url => root_path %>
        <%= site_nav_for 'Help', :url => site_path('help') %>
        <% unless logged_in? %>
          <%= site_nav_for 'Login', :url => new_session_path %>
        <% else %>
          <%= site_nav_for 'My HomeMarks', :url => '#', :img => 'myhm' %>
          <%= site_nav_for 'Logout', :url => '#' %>
        <% end %>
      </div>
    </div>
    <div id="site_content">
      <div id="site_content_top"></div>
      <div id="site_content_area">
        <% [:good,:bad,:indif].each do |key| %>
          <div id="flash_<%= key %>" class="flash_message" style="display:<%= flash[key].blank? ? 'none' : 'block' %>;">
           <span><%= flash[key] %></span>
          </div>
        <% end %>
        <%= yield %>
      </div>
      <div id="site_content_bottom"></div>
      <div id="site_footer">
        <span><em>All information is private and shared with no one.</em></span><br />
        <span>HomeMarks is a service mark of Action Moniker, LLC. Copyright &copy; 2006-<%= Time.now.year %> Action Moniker, LLC.</span>
      </div>
    </div>
    
  </div>
  
  
</body>
</html>