Sha256: 9ef5833e059675981329b811bde60b3dd751ffcfef9e5ff8b89c56459d68a4d7

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title>Firewall</title>
  <%= stylesheet_link_tag    "firewall/application", media: "all" %>
  <%= javascript_include_tag "firewall/application" %>
  <%= csrf_meta_tags %>
</head>
<body>

  <div class="navbar">
    <div class="container">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="<%= url_for :controller => 'dashboard', :action => 'index' %>">Rails Firewall</a>
      <div class="nav-collapse collapse navbar-responsive-collapse">
        <ul class="nav navbar-nav">
          <li class="<%= current_page?(:controller => 'dashboard', :action => 'index') ? "active" : ""  %>"><a href="<%= url_for :controller => 'dashboard', :action => 'index' %>">Dashboard</a></li>
          <li class="<%= current_page?(:controller => 'url_protections', :action => 'index') ? "active" : ""  %>"><a href="<%= url_for :controller => 'url_protections', :action => 'index' %>">URL Protection</a></li>
          <li class="<%= current_page?(:controller => 'custom_rules', :action => 'index') ? "active" : ""  %>"><a href="<%= url_for :controller => 'custom_rules', :action => 'index' %>">Custom Rules</a></li>
          <li class="<%= current_page?(:controller => 'dashboard', :action => 'help') ? "active" : ""  %>"><a href="<%= url_for :controller => 'dashboard', :action => 'help' %>">Help</a></li>
        </ul>
      </div><!-- /.nav-collapse -->
    </div><!-- /.container -->
  </div>

  <%= yield %>

</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
firewall-0.0.3 app/views/layouts/firewall/application.html.erb