mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
UI heading polish via @mobilutz, closes #4866
This commit is contained in:
parent
86b8fe55df
commit
da15276b77
3 changed files with 16 additions and 8 deletions
|
@ -400,7 +400,7 @@ img.smallogo {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.redis-wrapper {
|
.stats-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="table_container">
|
<div class="stats-wrapper">
|
||||||
<div class="stats-container">
|
<div class="stats-container">
|
||||||
<div class="stat">
|
<div class="stat">
|
||||||
<h3><%= s = processes.size; number_with_delimiter(s) %></h3>
|
<h3><%= s = processes.size; number_with_delimiter(s) %></h3>
|
||||||
|
|
|
@ -20,22 +20,30 @@
|
||||||
<div id="realtime-legend"></div>
|
<div id="realtime-legend"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row chart">
|
<div class="row header">
|
||||||
<h5>
|
<div class="col-sm-4 pull-left flip">
|
||||||
<span class="history-heading"><%= t('History') %></span>
|
<h3><%= t('History') %></h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row chart">
|
||||||
|
<div>
|
||||||
<a href="<%= root_path %>?days=7" class="history-graph <%= "active" if params[:days] == "7" %>"><%= t('OneWeek') %></a>
|
<a href="<%= root_path %>?days=7" class="history-graph <%= "active" if params[:days] == "7" %>"><%= t('OneWeek') %></a>
|
||||||
<a href="<%= root_path %>" class="history-graph <%= "active" if params[:days].nil? || params[:days] == "30" %>"><%= t('OneMonth') %></a>
|
<a href="<%= root_path %>" class="history-graph <%= "active" if params[:days].nil? || params[:days] == "30" %>"><%= t('OneMonth') %></a>
|
||||||
<a href="<%= root_path %>?days=90" class="history-graph <%= "active" if params[:days] == "90" %>"><%= t('ThreeMonths') %></a>
|
<a href="<%= root_path %>?days=90" class="history-graph <%= "active" if params[:days] == "90" %>"><%= t('ThreeMonths') %></a>
|
||||||
<a href="<%= root_path %>?days=180" class="history-graph <%= "active" if params[:days] == "180" %>"><%= t('SixMonths') %></a>
|
<a href="<%= root_path %>?days=180" class="history-graph <%= "active" if params[:days] == "180" %>"><%= t('SixMonths') %></a>
|
||||||
</h5>
|
</div>
|
||||||
|
|
||||||
<div id="history" data-processed-label="<%= t('Processed') %>" data-failed-label="<%= t('Failed') %>" data-processed="<%= h Sidekiq.dump_json(@processed_history) %>" data-failed="<%= h Sidekiq.dump_json(@failed_history) %>" data-update-url="<%= root_path %>stats"></div>
|
<div id="history" data-processed-label="<%= t('Processed') %>" data-failed-label="<%= t('Failed') %>" data-processed="<%= h Sidekiq.dump_json(@processed_history) %>" data-failed="<%= h Sidekiq.dump_json(@failed_history) %>" data-update-url="<%= root_path %>stats"></div>
|
||||||
<div id="history-legend"></div>
|
<div id="history-legend"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
<h5>Redis</h5>
|
<div class="row header">
|
||||||
<div class="redis-wrapper">
|
<div class="col-sm-4 pull-left flip">
|
||||||
|
<h3>Redis</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="stats-wrapper">
|
||||||
<div class="stats-container">
|
<div class="stats-container">
|
||||||
<% if @redis_info.fetch("redis_version", nil) %>
|
<% if @redis_info.fetch("redis_version", nil) %>
|
||||||
<div class="stat">
|
<div class="stat">
|
||||||
|
|
Loading…
Add table
Reference in a new issue