mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-30 22:32:24 +02:00
Cleanup and get rspec to run again
This commit is contained in:
@@ -21,21 +21,18 @@
|
||||
<td>
|
||||
<% if job.last_performed_at.nil? %>
|
||||
<span class="grey-text darken-3" title="This job has never been performed yet.">
|
||||
<i class="mdi-device-access-time"></i>
|
||||
Pending
|
||||
◷ Pending
|
||||
</span>
|
||||
<% elsif job.healthy %>
|
||||
<a href="<%= job_path(job) %>">
|
||||
<span class="green-text darken-3" title="This job was performed successfully.">
|
||||
<i class="mdi-action-done"></i>
|
||||
Success
|
||||
✔ Success
|
||||
</span>
|
||||
</a>
|
||||
<% else %>
|
||||
<a href="<%= job_path(job) %>">
|
||||
<span class="red-text" title="There were problems with this job. Follow the link to check the log.">
|
||||
<i class="mdi-alert-warning"></i>
|
||||
Error
|
||||
⚠ Error
|
||||
</span>
|
||||
</a>
|
||||
<% end %>
|
||||
@@ -43,8 +40,7 @@
|
||||
<td>
|
||||
<% if job.last_performed_at %>
|
||||
<a href="<%= job_path(job) %>" class="right">
|
||||
Log
|
||||
<i class="mdi-navigation-chevron-right"></i>
|
||||
Log ›
|
||||
</a>
|
||||
<% end %>
|
||||
</td>
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
<header class="blue-grey lighten-4 grey-text text-darken-4">
|
||||
<a href="<%= root_url %>">
|
||||
<i class="mdi-navigation-chevron-left"></i>
|
||||
‹ Back to Home
|
||||
‹ Back to Home
|
||||
</a>
|
||||
<h4>Last log of <i><%= @job.job_id %></i>:</h4>
|
||||
</header>
|
||||
<% if @job.healthy == false %>
|
||||
<div class="row red-text">
|
||||
<div class="s12 center-align">
|
||||
<i class="mdi-alert-warning"></i>
|
||||
⚠
|
||||
An error occurs during the last execution of this job.
|
||||
Check the log below for details.
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user