blob: 6712e3d685aee4771d859c34987102dcad4fb9a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
- stati = @models.map{|m| "#{m.id}" if m.status != "Completed"}.compact
- stati_to_check = stati.length > 0 ? stati.join(", ") : stati = 0
:javascript
$(function() {
if(#{stati != 0}) {
setTimeout('checkStati("#{stati_to_check}")',1500);
}
var reload_validation = true;
if(reload_validation) setTimeout('checkValidation()',15000);
});
%p Get an overview about ToxCreate models. This page is refreshed every 15 seconds to update the model status.
-# explanations
= haml :lazar_description, :layout => false
= haml :classification, :layout => false
= haml :regression, :layout => false
- @models.each do |model|
= haml :model, :locals=>{:model=>model}, :layout => false
|