Sha256: 2d0c78f72d6e86ecc52beb398a7c43c35f35863605d0272c2b7e73fc9d130c8a

Contents?: true

Size: 1.33 KB

Versions: 5

Compression:

Stored size: 1.33 KB

Contents

<!-- .btn-navbar is used as the toggle for collapsed navbar content -->
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav1">
  <span class="icon-bar"></span>
  <span class="icon-bar"></span>
  <span class="icon-bar"></span>
</a>
<a class="btn btn-navbar" style="padding: 5px 11px 2px 11px;" data-toggle="collapse" data-target=".nav2">
  <span class="icon-cog icon-white"></span>
</a>
<!-- menu -->
<div id='current_tab' data-controller='<%=controller_name.gsub(/_.*/,"s")%>' data-settings='<%= class_for_setting_page %>'> </div>

<% if User.current -%>
  <% cache("tabs_and_title_records-#{User.current.id}") do %>
    <div class="nav-collapse collapse nav1">
      <ul class="nav" id="menu">
      <%= render "home/org_switcher" %>
      <%= menu 'dashboard', _('Dashboard') %>
      <%= menu 'hosts', _('Hosts') %>
      <%= menu 'reports', _('Reports'), hash_for_reports_path.merge(:search => 'eventful = true') %>
      <%= menu 'facts' , _('Facts'), hash_for_fact_values_path %>
      <%= menu 'audits', _('Audits'), hash_for_audits_path %>
      <%= menu 'statistics', _('Statistics') %>
      <%= menu 'trends', _('Trends'), hash_for_trends_path %>
    </ul>
  </div>
  <div class="nav-collapse collapse nav2">
    <ul class="nav pull-right" id="menu2">
      <%= render "home/settings" -%>
    </ul>
  </div>
  <% end -%>
<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/home/_topbar.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/home/_topbar.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/home/_topbar.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/home/_topbar.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/home/_topbar.html.erb