Sha256: 2f002c5b7cccd61e3581ab335d7687c7d06f1d08ae6e27ac58934d63396fa121

Contents?: true

Size: 1.37 KB

Versions: 5

Compression:

Stored size: 1.37 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title>TAILOG</title>
  <script type="text/javascript" src="javascripts/jquery.js"></script>
  <script type="text/javascript" src="javascripts/jquery.form.js"></script>
  <script type="text/javascript" src="javascripts/jquery.highlight.js"></script>
  <script type="text/javascript" src="javascripts/ansi_up.js"></script>
  <link rel="stylesheet" type="text/css" href="stylesheets/bootstrap.css">
  <link rel="stylesheet" type="text/css" href="stylesheets/application.css">
</head>
<body>

  <div class="container">

    <!-- Static navbar -->
    <% path_info = request.path_info %>
    <nav class="navbar navbar-default">
      <div class="container-fluid">
        <div class="navbar-header">
          <a class="navbar-brand">TAILOG</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav">
            <li<%= ' class="active"' if path_info == "/logs" %>><a href="logs">Logs</a></li>
            <li<%= ' class="active"' if path_info == "/env" %>><a href="env">Env</a></li>
            <li<%= ' class="active"' if path_info == "/script" %>><a href="script">Script</a></li>
          </ul>
          <ul class="nav navbar-nav navbar-right">
          </ul>
        </div><!--/.nav-collapse -->
      </div><!--/.container-fluid -->
    </nav>

    <%= yield %>

  </div> <!-- /container -->
</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tailog-0.5.0 app/views/layout.erb
tailog-0.4.8 app/views/layout.erb
tailog-0.4.7 app/views/layout.erb
tailog-0.4.6 app/views/layout.erb
tailog-0.4.5 app/views/layout.erb