Sha256: 1e43c1babd3274d831bf7d3f351408821381b2da6a00444c84e851f66889c78e

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

<%
menu = [
  ['', 'Dashboard'],
  ['log', 'Logs'],
  ['job', 'Jobs'],
  ['loadstamp', 'Loadstamps']
]
%>
<html>
  <head>
    <meta charset="utf-8">
    <!-- Bootstrap Core CSS -->
      <link href="/stylesheets/bootstrap.min.css" rel="stylesheet">
    <!-- DataTables CSS -->
      <link href="/stylesheets/dataTables.bootstrap.css" rel="stylesheet">
    <!-- DataTables Responsive CSS -->
      <link href="/stylesheets/dataTables.responsive.css" rel="stylesheet">
    <!-- Custom CSS -->
      <link href="/stylesheets/sb-admin-2.css" rel="stylesheet">
    <!-- Custom Fonts -->
      <link href="/stylesheets/font-awesome.min.css" rel="stylesheet" type="text/css">   
  </head>
  <body>
    <div class="navbar navbar-default navbar-static-top">
      <div class = "row" style="margin:10px;">
        <a href= "/"><img height="50" src="/images/logo.png" /></a>
      </div>
      <div>
        <ul class="nav nav-tabs">
          <% menu.each do |item| %>
            <li role="presentation" class="<%= "/#{item[0]}" == @http_request_uri ? 'nav-item nav-link active' : 'nav-item nav-link' %>">
              <a href="<%= item[0] == '' ? '/' : item[0] %>" ><%= item[1] %></a>
            </li>
          <% end %>
        </ul>
      </div>
      <div class ="row" style="margin:10px;">
        <div class="col-md-1">
          <a href="#" class="btn btn-success btn-block active" id="start_script" role="button" aria-pressed="true">START</a>
        </div>
        <div class="col-md-1">
          <a href="#" class="btn btn-danger btn-block active" id="stop_script" role="button" aria-pressed="true">STOP</a>
        </div>
        <div class="col-md-2">
          <a onClick="javascript:void(0)" class="btn btn-warning btn-block active" id="refreshButton" role="button" aria-pressed="true">AUTO RELOAD OFF</a>
        </div>
      </div>
    </div>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
adminix-0.2 app/views/web/partials/header.html.erb