forked from sidekiq/sidekiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.erb
49 lines (44 loc) · 1.93 KB
/
layout.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!doctype html>
<html dir="<%= text_direction %>">
<head>
<title><%= environment_title_prefix %><%= Sidekiq::NAME %></title>
<meta charset="utf-8" />
<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" />
<% if rtl? %>
<link href="<%= root_path %>stylesheets/bootstrap-rtl.min.css" media="screen" rel="stylesheet" type="text/css"/>
<% end %>
<% if Sidekiq.options[:web_theme] %>>
<link href="<%= root_path %>stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
<% if Sidekiq.options[:web_theme] == 'dark' %>>
<link href="<%= root_path %>stylesheets/application-dark_base.css" media="screen" rel="stylesheet" type="text/css" />
<% end %>>
<% else %>>
<link href="<%= root_path %>stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
<link href="<%= root_path %>stylesheets/application-dark.css" media="screen" rel="stylesheet" type="text/css" />
<% end %>>
<% if rtl? %>
<link href="<%= root_path %>stylesheets/application-rtl.css" media="screen" rel="stylesheet" type="text/css" />
<% end %>
<link rel="shortcut icon" type="image/ico" href="<%= root_path %>images/favicon.ico" />
<script type="text/javascript" src="<%= root_path %>javascripts/application.js"></script>
<meta name="google" content="notranslate" />
<%= display_custom_head %>
</head>
<body class="admin" data-poll-path="<%= poll_path %>" data-locale="<%= locale %>">
<%= erb :_nav %>
<div id="page">
<div class="container">
<div class="row">
<div class="col-sm-12 summary_bar">
<%= erb :_summary %>
</div>
<div class="col-sm-12">
<%= yield %>
</div>
</div>
</div>
</div>
<%= erb :_footer %>
</body>
</html>