mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-23 01:08:40 +02:00
Lint web
This commit is contained in:
@@ -8,15 +8,15 @@
|
||||
%th Last performed at
|
||||
%th
|
||||
%th
|
||||
- for job in @jobs
|
||||
- @jobs.each do |job|
|
||||
%tr
|
||||
%td= job.job_id
|
||||
%td= job.last_performed_at || "—"
|
||||
%td= job.last_performed_at || '-'
|
||||
%td
|
||||
- if job.healthy == false
|
||||
%a{href: url("/job/#{job.id}")}
|
||||
%a{ href: url("/job/#{job.id}") }
|
||||
%span.label.label-danger Error
|
||||
%td
|
||||
%a{href: url("/job/#{job.id}")}
|
||||
%a{ href: url("/job/#{job.id}") }
|
||||
Log
|
||||
%span.glyphicon.glyphicon-menu-right
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
%ol.breadcrumb
|
||||
%li
|
||||
%a{href: url("/")} Home
|
||||
%a{ href: url('/') } Home
|
||||
%li.active= @job.job_id
|
||||
|
||||
%h2
|
||||
"#{@job.job_id}" Log:
|
||||
|
||||
- if @job.healthy == false
|
||||
.alert.alert-danger{role: "alert"}
|
||||
An error occurs during the last execution of this job. Check the log below for details.
|
||||
.alert.alert-danger{ role: 'alert' }
|
||||
An error occurs during the last execution of this job.
|
||||
Check the log below for details.
|
||||
|
||||
%pre= @job.log
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
!!! 5
|
||||
%html{lang: "en"}
|
||||
%html{ lang: 'en' }
|
||||
%head
|
||||
%meta{charset: "utf-8"}
|
||||
%meta{"http-equiv" => "X-UA-Compatible", content: "IE=edge"}
|
||||
%meta{name: "viewport", content: "width=device-width, initial-scale=1"}
|
||||
%meta{ charset: 'utf-8' }
|
||||
%meta{ 'http-equiv' => 'X-UA-Compatible', content: 'IE=edge' }
|
||||
%meta{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
|
||||
|
||||
%title Crono Dashboard
|
||||
|
||||
%link{href: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css", rel: "stylesheet"}
|
||||
%link{href: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css", rel: "stylesheet"}
|
||||
%link{href: "#{env['SCRIPT_NAME']}/custom.css", rel: "stylesheet"}
|
||||
%link{ href: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css', rel: 'stylesheet' }
|
||||
%link{ href: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css', rel: 'stylesheet' }
|
||||
%link{ href: "#{env['SCRIPT_NAME']}/custom.css", rel: 'stylesheet' }
|
||||
|
||||
%body
|
||||
%br
|
||||
@@ -21,5 +21,5 @@
|
||||
%small Dashboard
|
||||
= yield
|
||||
|
||||
%script{src: "https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"}
|
||||
%script{src: "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"}
|
||||
%script{ src: 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js' }
|
||||
%script{ src: 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js' }
|
||||
|
||||
Reference in New Issue
Block a user