mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
ed485e47e4
* Unminify rickshaw graph CSS so we can maintain it * Initial BiDi support for the Web UI BiDi means the web app can serve both LTR and RTL languages at the same time. 1. Bootstrap-RTL overrides Bootstrap 3.3 styles for RTL clients 2. Application CSS was preprocessed thru rtlcss and then hand-trimmed to contain only RTL-specific directives. 3. Dashboard was tweaked to hardcode LTR for footer and polling gadget * Vendor bootstrap-rtl.css * Various RTL style fixes, need to flip all pull-* elements * Upgrade Rickshaw to latest, remove dupe CSS * Add Arabic language (credit to Milena Novakova) Add Hebrew placeholder Added dir attribute to html tag * changes * Clean up HTTP header generation, add Content-Language response header * Use correct locale for hebrew
40 lines
1.4 KiB
Text
40 lines
1.4 KiB
Text
<!doctype html>
|
|
<html dir="<%= text_direction %>">
|
|
<head>
|
|
<title><%= environment_title_prefix %><%= Sidekiq::NAME %></title>
|
|
<meta charset="utf8" />
|
|
<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 %>
|
|
|
|
<link href="<%= root_path %>stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
|
|
<% 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>
|