Sha256: 45226edefc1058b9b2958584bfad1a135436360ef721a4a25dfcb55ddcf1d77e

Contents?: true

Size: 1.34 KB

Versions: 6

Compression:

Stored size: 1.34 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= Carload.page.title || 'Carload' %></title>
  <meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0'/>
  <%= stylesheet_link_tag    'carload/dashboard', media: 'all' %>
  <%= javascript_include_tag 'carload/dashboard' %>
  <%= csrf_meta_tags %>
</head>
<body>

  <div id='main-container'>
    <div id='top-nav-buttons' class='center'>
      <div class='btn-group' role='group'>
        <%= link_to t('carload.action.back_to_root'), (main_app.root_path rescue root_path), class: 'btn btn-default' %>
        <% Dashboard.models.keys.each do |model| %>
          <%= link_to t("activerecord.models.#{model}"), dashboard_index_path(model),
            class: "#{@model_name == model ? 'active' : ''} btn btn-default" %>
        <% end %>
      </div>
    </div>

    <div id='main-content'>
      <%= yield %>
    </div>

    <footer class='center'>
      <ul class='horizontal-clean-list'>
        <li><%= raw Carload.page.footer || t('carload.footer.message') %></li>
        <li>
          <ul class='horizontal-clean-list'>
            <li><%= link_to fa_icon('gears'), dashboard_show_config_path %></li>
            <li><%= link_to fa_icon('github'), 'https://github.com/dongli/carload' %></li>
          </ul>
        </li>
      </ul>
    </footer>
  </div>

</body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
carload-0.5.3 app/views/layouts/carload/dashboard.html.erb
carload-0.5.2 app/views/layouts/carload/dashboard.html.erb
carload-0.5.1 app/views/layouts/carload/dashboard.html.erb
carload-0.5.0 app/views/layouts/carload/dashboard.html.erb
carload-0.4.5 app/views/layouts/carload/dashboard.html.erb
carload-0.4.4 app/views/layouts/carload/dashboard.html.erb