Branding
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Task</th>
|
||||
<th>Last Run</th>
|
||||
<th>Took</th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @tasks.each do |run| %>
|
||||
<tr>
|
||||
<td><span class="<%= task_label(run) %> radius label"><%= run.name %></span></td>
|
||||
<% if run.created_at %>
|
||||
<td><%= time_ago_in_words(run.created_at) %> ago</td>
|
||||
<td><%= run.execution_time.round(6) %>s</td>
|
||||
<td><%= link_to 'Run', run_task_path(run.name, back: tasks_path), class: 'small radius button' %></td>
|
||||
<td><%= link_to 'History', task_runs_path(run.name), class: 'secondary small radius button' %></td>
|
||||
<% else %>
|
||||
<td>never</td>
|
||||
<td>—</td>
|
||||
<td><%= link_to 'Run', run_task_path(run.name, back: tasks_path), class: 'small radius button' %></td>
|
||||
<td><a class="disabled secondary small radius button">History</a></td>
|
||||
<% end %>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Burden</title>
|
||||
<%= stylesheet_link_tag 'burden_web/application', media: 'all' %>
|
||||
<%= csrf_meta_tags %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="row">
|
||||
<div class="large-12 columns">
|
||||
<h2 class="subheader">Burden Dashboard</h2>
|
||||
<%= yield %>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user