Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 66073c997f
Fetching contributors…

Cannot retrieve contributors at this time

97 lines (87 sloc) 2.81 kb
!!! 5
%html
%head{:lang => "en"}
= stylesheet_link_tag "dj_mon", :media => "screen, projection"
%meta{:name => "apple-itunes-app", :content => "app-id=552732872"}
= yield :head
%body
%header
.navbar.navbar-fixed-top
.navbar-inner
.container
.pull-left
= link_to "DJ Mon", dj_reports_url, class: "brand"
.pull-right
= link_to "Settings", "#dj_settings_template", rel: 'modal', 'data-content'=> "#{DjMon::DjReport.settings.to_json}", id: 'settings', class: 'btn btn-primary btn-mini'
.pull-right
#dj-counts-view
.container.centered
- if flash[:notice]
.alert.alert-success
= flash[:notice]
.container
= yield
= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"
= javascript_include_tag "dj_mon"
%script
var dj_counts_dj_reports_url = "#{dj_counts_dj_reports_url}"
%script#dj_counts_template{ :type=> "text/x-handlebars-template" }
%span.badge.badge-warning
{{failed}} failed
%span.badge.badge-info
{{queued}} queued
%span.badge.badge-info
{{active}} active
%span.badge.badge-info
{{all}} all
%script#dj_settings_template{ :type=> "text/x-handlebars-template" }
.modal.hide
.modal-header
%button{ type: "button", class: "close", 'data-dismiss' => "modal" }
×
%h3
Settings
.modal-body
%table.table.table-bordered.table-striped
%tr
%td
Delayed Job version
%td
<code>{{content.delayed_job_version}}</code>
%tr
%td
DJ Mon version
%td
<code>{{content.dj_mon_version}}</code>
%tr
%td
Destroy failed jobs
%td
<code>{{content.destroy_failed_jobs}}</code>
%tr
%td
Sleep delay
%td
<code>{{content.sleep_delay}}</code> seconds
%tr
%td
Max attempts
%td
<code>{{content.max_attempts}}</code>
%tr
%td
Max run time
%td
<code>{{content.max_run_time}}</code> seconds
%tr
%td
Read ahead
%td
<code>{{content.read_ahead}}</code>
%tr
%td
Delay Jobs
%td
<code>{{content.delay_jobs}}</code>
.modal-footer
= link_to "Close", '#', class: 'btn btn-primary', 'data-dismiss'=> 'modal'
Jump to Line
Something went wrong with that request. Please try again.