Sha256: 6a1c7d71e1d647ee45173f959cc1f8438a49275875dc3bbbb5a8f95bc82752a3

Contents?: true

Size: 1.61 KB

Versions: 1

Compression:

Stored size: 1.61 KB

Contents

!!!
%html
  %head
    %title Results:
    %link(rel="stylesheet" href="/css/results.css")
    %script{:type => "text/javascript", :src => "/scripts/jquery-1.6.1.js"}
    %script{:type => "text/javascript"}
      :plain
        var runStatusIntervalId = 0;
        var results_navigation = "";
        $(document).ready(function() {
          console.log("document now ready");
          // calculate results_navigation here since helpers seem unavailable in results.js!?
          results_navigation = "#{generate_data_navigation_frame(@my_exp_wkf, @run_uuid, @wid, @wkf_version, @t2_server, true)}";
          window.frames['header'].document.write("#{generate_header_frame(@my_exp_wkf, @my_exp_usr).gsub!(/\n/, "")}");
          window.frames['data-navigation'].document.write("#{generate_data_navigation_frame(@my_exp_wkf, @run_uuid, @wid, @wkf_version, @t2_server, false)}");
          console.log("about to window.setInterval( #{@t2_server}, #{@run_uuid} )");
          runStatusIntervalId = window.setInterval( "checkRunStatus('#{@t2_server}', '#{@run_uuid}')", 5000);
          console.log("after setInterval");
        });
    %script{:type => "text/javascript", :src => "/scripts/results.js"}

  -# we use border for FF and framespacing for IE
  %frameset{ :rows => "125px, *", :border => "1", :framespacing => "1" }
    %noframes
      To be viewed properly, this page requires frames.
    %frame{ :name => "header", :id => "header" }
    %frameset{ :cols => "280px, *", :border => "6", :framespacing => "6" }
      %frame{ :name => "data-navigation", :id => "data-navigation" }
      %frame{ :name => "data-display", :id => "data-display" }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
t2-web-0.2.0 views/results.haml