Sha256: 8274cfe4430d5e50302ae26b7fcd3572ffe9c9553b2aed704155cf672694f68f

Contents?: true

Size: 1.7 KB

Versions: 7

Compression:

Stored size: 1.7 KB

Contents

<!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" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>Padrino Admin</title>
  <%%= stylesheet_link_tag :base, "themes/<%= options[:theme] %>/style" %>
</head>
<body>
  <div id="container">
    <div id="header">
      <h1><%%= link_to "Padrino Admin", url(:base_index) %></h1>
      <div id="user-navigation">
        <ul class="wat-cf">
          <li><%%= link_to pat(:profile), url(:accounts, :edit, :id => current_account.id) %></li>
          <li><%%= button_to pat(:logout), url(:sessions, :destroy), :method => :delete, :class => :button_to %></li>
        </ul>
      </div>
      <div id="main-navigation">
        <ul class="wat-cf">
          <%% project_modules.each do |project_module| %>
            <li class="<%%= "active" if request.path_info =~ /^#{project_module.path}/ %>"><%%= link_to project_module.human_name, project_module.path("/admin") %></li>
          <%% end %>
        </ul>
      </div>
    </div>
    <div id="wrapper" class="wat-cf">
      <div class="flash">
        <%%= [:error, :warning, :notice].map { |type| flash_tag(type, :class => "message #{type}") }.join %>
      </div>
      <div id="main">
        <%%= yield %>
        <div id="footer">
          <div class="block">
            <p>Copyright &copy; <%%= Time.now.year %> Your Site - Powered by <a href="http://padrino.github.com" target="_blank">Padrino v.<%%= Padrino.version %>.</a></p>
          </div>
        </div>
      </div>
      <div id="sidebar">
        <%%= yield_content :sidebar %>
      </div>
    </div>
  </div>
</body>
</html>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
padrino-admin-0.10.1 lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt
padrino-admin-0.10.0 lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt
padrino-admin-0.9.29 lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt
padrino-admin-0.9.28 lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt
padrino-admin-0.9.27 lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt
padrino-admin-0.9.26 lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt
padrino-admin-0.9.25 lib/padrino-admin/generators/templates/erb/app/layouts/application.erb.tt