summaryrefslogtreecommitdiff
path: root/views/tasks.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/tasks.haml')
-rw-r--r--views/tasks.haml21
1 files changed, 0 insertions, 21 deletions
diff --git a/views/tasks.haml b/views/tasks.haml
deleted file mode 100644
index 3de21b5..0000000
--- a/views/tasks.haml
+++ /dev/null
@@ -1,21 +0,0 @@
-%table
- %tr
- %th Task
- %th Resource
- %th Status
- %th Started
- %th Finished
- - @tasks.each do |t|
- -# This is inefficient - make only 1 query to the task service and save variables
- %tr
- %td= t.uri
- %td= t.resource
- %td= t.status
- %td= t.created_at
- %td= t.finished_at
- -# %td
- - case t.status
- - when /created|started/
- %form{:name => "cancel", :action => url_for("/task/cancel"), :method => 'post'}
- %input{:type => 'hidden', :name => 'uri', :value => t.uri}
- %input{:type => "submit", :value => "Cancel"}