1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/web/views/layout.erb

54 lines
1.7 KiB
Text
Raw Normal View History

2013-08-21 18:38:52 -04:00
<!doctype html>
<html>
<head>
<title><%= Sidekiq::NAME %></title>
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link href="<%= root_path %>stylesheets/bootstrap.css" media="screen" rel="stylesheet" type="text/css" />
<link href="<%= root_path %>stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%= root_path %>javascripts/application.js"></script>
<script type="text/javascript" src="<%= root_path %>javascripts/locales/jquery.timeago.<%= locale %>.js"></script>
</head>
<body class="admin">
<div class="navbar navbar-fixed-top">
<%= erb :_nav %>
</div>
<div id="page">
<div class="container">
<div class="row">
<div class="span12 summary_bar">
<%= erb :_summary %>
</div>
<div class="span12">
<%= yield %>
</div>
</div>
</div>
</div>
<div class="navbar navbar-fixed-bottom navbar-inverse">
<div class="navbar-inner">
<div class="container">
<ul class="nav">
<li>
<p class="navbar-text" style="color:white;">Sidekiq v<%= Sidekiq::VERSION %></p>
</li>
<li>
<p class="navbar-text">Redis: <%= location %></p>
</li>
<li>
<p class="navbar-text"><%= t('Time') %>: <%= Time.now.utc.strftime('%H:%M:%S UTC') %></p>
</li>
<% if namespace %>
<li>
<p class="navbar-text"><%= t('Namespace') %>: <%= namespace %></p>
</li>
<% end %>
</ul>
</div>
</div>
</div>
</body>
</html>