Sha256: a51e8c79acbc6ecf1126629096ed5c0f89813733119a38d058fb0b216cd19af7
Contents?: true
Size: 1.38 KB
Versions: 5
Compression:
Stored size: 1.38 KB
Contents
.col-md-4 .job-list .filter %ol.breadcrumb %li.active Jobs .btn-group.pull-right{ data: { toggle: 'buttons' } } - job_states.each do |state| - enabled = @states.include?(state.to_s) || @states.empty? - title = enabled ? 'Hide' : 'Show' %label.btn.btn-default.state-toggle{ class: ('active' if enabled), title: "#{title} #{state.capitalize}" } = check_box_tag(state, state, enabled) %i.fa{class: job_state_icon(state)} .clearfix .list - if jobs.empty? .card.inner .title .lead.text-center No Jobs Found. - else - jobs.each do |job| = link_to(job_path(id: job.id, states: @states), class: "card callout callout-#{job.state} #{job_selected_class(job, @job)}") do .inner .title .lead %i.fa{class: job_icon(job), style: 'font-size: 75%;', title: job.state} = job_title(job) .description= job.description.try(:truncate, 50) .info .duration.pull-left %i.fa.fa-clock-o = job.duration - if job.running? .progress.pull-right .progress-bar{ style: "width: #{job.percent_complete}%;", title: "#{job.percent_complete}% percent complete."}
Version data entries
5 entries across 5 versions & 1 rubygems