Sha256: df409abe9409a424194cdb99d243d9125e9b73ea0a9b74b4ab9d572bd40b486c

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%=name%></title>
  <%%= stylesheet_link_tag "web-app-theme/base", "web-app-theme/themes/default/style", "web-app-theme/override", :cache => true %>
  <%%= javascript_include_tag :all, :cache => true %>
  <%%= csrf_meta_tag %>
</head>
<body>
  <div id="container">
    <div id="header">
      <h1><%%=link_to "<%=name%>", root_path %></h1>
      <div id="user-navigation">
        <ul class="wat-cf">
          <li><a href="#"><%%= t("web-app-theme.profile", :default => "Profile") %></a></li>
          <li><a href="#"><%%= t("web-app-theme.settings", :default => "Settings") %></a></li>
          <li><a href="/logout" class="logout"><%%= t("web-app-theme.logout", :default => "Logout") %></a></li>
        </ul>
      </div>
      <div id="main-navigation">
        <ul class="wat-cf">
          <li class="first active"><a href="#"><%%= t("web-app-theme.home", :default => "Home") %></a></li>
        </ul>
      </div>
    </div>    
    <div id="wrapper" class="wat-cf">
      <div class="flash">
        <%% flash.each do |type, message| -%>
          <div class="message <%%= type %>">
            <p><%%= message %></p>
          </div>
        <%% end -%>
      </div>
      <div id="main">
        <%%= yield %>
        <div id="footer">
          <div class="block">
            <p>Copyright &copy; <%%= Time.now.year %> <%=name%></p>
          </div>      
        </div>
      </div>
      <div id="sidebar">
        <%%= yield :sidebar %>
      </div>
    </div>    
  </div>
  <%%=render :partial => 'shared/js'%>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
echo_base-0.2.1 lib/templates/app/views/layouts/application.html.erb.tt