This commit is contained in:
Dzmitry Plashchynski
2015-04-12 03:55:39 +03:00
parent f245f33533
commit dbb4f374d7
3 changed files with 52 additions and 49 deletions
+6 -2
View File
@@ -1,5 +1,9 @@
%h2 Running Jobs %header.container.blue-grey.lighten-4.grey-text.text-darken-4
%table.bordered#job_list %h2 Running Jobs
%main
.container.blue-grey.lighten-4.grey-text.text-darken-4
%table.bordered#job_list
%tr %tr
%th Job %th Job
%th Last performed at %th Last performed at
+6 -5
View File
@@ -1,12 +1,13 @@
%a{ href: url('/') } %header.container.blue-grey.lighten-4.grey-text.text-darken-4
%a{ href: url('/') }
%i.mdi-navigation-chevron-left %i.mdi-navigation-chevron-left
Back to Home Back to Home
%h4 "#{@job.job_id}" Log:
%h4 "#{@job.job_id}" Log: %main.container.blue-grey.lighten-4.grey-text.text-darken-4
- if @job.healthy == false
- if @job.healthy == false
.alert.alert-danger{ role: 'alert' } .alert.alert-danger{ role: 'alert' }
An error occurs during the last execution of this job. An error occurs during the last execution of this job.
Check the log below for details. Check the log below for details.
%pre= @job.log %pre= @job.log
+5 -7
View File
@@ -11,18 +11,16 @@
%link{ href: "#{env['SCRIPT_NAME']}/custom.css", rel: 'stylesheet' } %link{ href: "#{env['SCRIPT_NAME']}/custom.css", rel: 'stylesheet' }
%body.blue-grey.darken-2 %body.blue-grey.darken-2
%header %nav.container.blue-grey.white-text
.container.blue-grey.white-text .nav-wrapper
%h1 Crono Dashboard %a.brand-logo{ href: url('/') } Crono Dashboard
%main
.container.blue-grey.lighten-4.grey-text.text-darken-4
= yield = yield
%footer.page-footer.blue-grey.darken-2 %footer.page-footer.blue-grey.darken-2
.footer-copyright.blue-grey.darken-2 .footer-copyright.blue-grey.darken-2
.container.blue-grey.lighten-4.grey-text.text-darken-4 .container.blue-grey.white-text
Crono #{Crono::VERSION} Crono v#{Crono::VERSION}
%a.right{ href: 'https://github.com/plashchynski/crono', target: '_blank' } Documentation %a.right{ href: 'https://github.com/plashchynski/crono', target: '_blank' } Documentation