t2-web 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. data/CHANGES +3 -1
  2. data/README +3 -3
  3. data/Rakefile +1 -1
  4. data/bin/t2_webapp.rb +5 -5
  5. data/public/{css → t2web/css}/form.css +0 -0
  6. data/public/t2web/css/results.css +29 -0
  7. data/public/{css → t2web/css}/results_header.css +0 -0
  8. data/public/{css → t2web/css}/results_navigation.css +0 -0
  9. data/public/{css → t2web/css}/tipsy.css +0 -0
  10. data/public/{images → t2web/images}/bullet_go.png +0 -0
  11. data/public/{images → t2web/images}/lumc_logo2.png +0 -0
  12. data/public/{images → t2web/images}/nbic_logo.gif +0 -0
  13. data/public/{images → t2web/images}/snake_transparent.gif +0 -0
  14. data/public/{images → t2web/images}/tipsy.gif +0 -0
  15. data/public/{scripts → t2web/scripts}/form.js +0 -0
  16. data/public/{scripts → t2web/scripts}/jquery-1.6.1.js +0 -0
  17. data/public/{scripts → t2web/scripts}/jquery.tipsy.js +0 -0
  18. data/public/{scripts → t2web/scripts}/results.js +0 -0
  19. data/views/form.haml +9 -9
  20. data/views/results.haml +3 -3
  21. metadata +19 -112
  22. data/doc/classes/WebT2App.html +0 -1123
  23. data/doc/classes/WebT2App.src/M000001.html +0 -18
  24. data/doc/classes/WebT2App.src/M000002.html +0 -25
  25. data/doc/classes/WebT2App.src/M000003.html +0 -22
  26. data/doc/classes/WebT2App.src/M000004.html +0 -18
  27. data/doc/classes/WebT2App.src/M000005.html +0 -18
  28. data/doc/classes/WebT2App.src/M000006.html +0 -18
  29. data/doc/classes/WebT2App.src/M000007.html +0 -18
  30. data/doc/classes/WebT2App.src/M000008.html +0 -32
  31. data/doc/classes/WebT2App.src/M000009.html +0 -27
  32. data/doc/classes/WebT2App.src/M000010.html +0 -18
  33. data/doc/classes/WebT2App.src/M000011.html +0 -21
  34. data/doc/classes/WebT2App.src/M000012.html +0 -25
  35. data/doc/classes/WebT2App.src/M000013.html +0 -22
  36. data/doc/classes/WebT2App.src/M000014.html +0 -23
  37. data/doc/classes/WebT2App.src/M000015.html +0 -32
  38. data/doc/classes/WebT2App.src/M000016.html +0 -27
  39. data/doc/classes/WebT2App.src/M000017.html +0 -18
  40. data/doc/classes/WebT2App.src/M000018.html +0 -25
  41. data/doc/classes/WebT2App.src/M000019.html +0 -22
  42. data/doc/classes/WebT2App.src/M000020.html +0 -18
  43. data/doc/classes/WebT2App.src/M000021.html +0 -18
  44. data/doc/classes/WebT2App.src/M000022.html +0 -18
  45. data/doc/classes/WebT2App.src/M000023.html +0 -18
  46. data/doc/classes/WebT2App.src/M000024.html +0 -32
  47. data/doc/classes/WebT2App.src/M000025.html +0 -27
  48. data/doc/classes/WebT2App.src/M000026.html +0 -18
  49. data/doc/classes/WebT2App.src/M000027.html +0 -21
  50. data/doc/classes/WebT2App.src/M000028.html +0 -25
  51. data/doc/classes/WebT2App.src/M000029.html +0 -22
  52. data/doc/classes/WebT2App.src/M000030.html +0 -23
  53. data/doc/classes/WebT2App.src/M000031.html +0 -32
  54. data/doc/classes/WebT2App.src/M000032.html +0 -27
  55. data/doc/classes/WebT2App.src/M000033.html +0 -18
  56. data/doc/classes/WebT2App.src/M000034.html +0 -25
  57. data/doc/classes/WebT2App.src/M000035.html +0 -22
  58. data/doc/classes/WebT2App.src/M000036.html +0 -18
  59. data/doc/classes/WebT2App.src/M000037.html +0 -18
  60. data/doc/classes/WebT2App.src/M000038.html +0 -18
  61. data/doc/classes/WebT2App.src/M000039.html +0 -18
  62. data/doc/classes/WebT2App.src/M000040.html +0 -32
  63. data/doc/classes/WebT2App.src/M000041.html +0 -27
  64. data/doc/classes/WebT2App.src/M000042.html +0 -18
  65. data/doc/classes/WebT2App.src/M000043.html +0 -25
  66. data/doc/classes/WebT2App.src/M000044.html +0 -22
  67. data/doc/classes/WebT2App.src/M000045.html +0 -18
  68. data/doc/classes/WebT2App.src/M000046.html +0 -18
  69. data/doc/classes/WebT2App.src/M000047.html +0 -18
  70. data/doc/classes/WebT2App.src/M000048.html +0 -18
  71. data/doc/classes/WebT2App.src/M000049.html +0 -32
  72. data/doc/classes/WebT2App.src/M000050.html +0 -27
  73. data/doc/created.rid +0 -1
  74. data/doc/files/bin/t2_webapp_rb.html +0 -115
  75. data/doc/files/pkg/t2-web-0_0_2/bin/web_t2_service_rb.html +0 -114
  76. data/doc/files/pkg/t2-web-0_0_3/bin/t2_webapp_rb.html +0 -115
  77. data/doc/files/pkg/t2-web-0_0_3/bin/web_t2_service_rb.html +0 -114
  78. data/doc/files/pkg/t2-web-0_0_4/bin/t2_webapp_rb.html +0 -115
  79. data/doc/files/pkg/t2-web-0_0_5/bin/t2_webapp_rb.html +0 -115
  80. data/doc/fr_class_index.html +0 -27
  81. data/doc/fr_file_index.html +0 -32
  82. data/doc/fr_method_index.html +0 -76
  83. data/doc/index.html +0 -24
  84. data/doc/rdoc/CHANGES.html +0 -170
  85. data/doc/rdoc/LICENSE.html +0 -111
  86. data/doc/rdoc/README.html +0 -142
  87. data/doc/rdoc/created.rid +0 -4
  88. data/doc/rdoc/images/brick.png +0 -0
  89. data/doc/rdoc/images/brick_link.png +0 -0
  90. data/doc/rdoc/images/bug.png +0 -0
  91. data/doc/rdoc/images/bullet_black.png +0 -0
  92. data/doc/rdoc/images/bullet_toggle_minus.png +0 -0
  93. data/doc/rdoc/images/bullet_toggle_plus.png +0 -0
  94. data/doc/rdoc/images/date.png +0 -0
  95. data/doc/rdoc/images/find.png +0 -0
  96. data/doc/rdoc/images/loadingAnimation.gif +0 -0
  97. data/doc/rdoc/images/macFFBgHack.png +0 -0
  98. data/doc/rdoc/images/package.png +0 -0
  99. data/doc/rdoc/images/page_green.png +0 -0
  100. data/doc/rdoc/images/page_white_text.png +0 -0
  101. data/doc/rdoc/images/page_white_width.png +0 -0
  102. data/doc/rdoc/images/plugin.png +0 -0
  103. data/doc/rdoc/images/ruby.png +0 -0
  104. data/doc/rdoc/images/tag_green.png +0 -0
  105. data/doc/rdoc/images/wrench.png +0 -0
  106. data/doc/rdoc/images/wrench_orange.png +0 -0
  107. data/doc/rdoc/images/zoom.png +0 -0
  108. data/doc/rdoc/index.html +0 -115
  109. data/doc/rdoc/js/darkfish.js +0 -116
  110. data/doc/rdoc/js/jquery.js +0 -32
  111. data/doc/rdoc/js/quicksearch.js +0 -114
  112. data/doc/rdoc/js/thickbox-compressed.js +0 -10
  113. data/doc/rdoc/rdoc.css +0 -763
  114. data/doc/rdoc-style.css +0 -208
  115. data/public/images/info.png +0 -0
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>t2_library_sanitize (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 29</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">t2_library_sanitize</span>(<span class="ruby-identifier">string</span>)
15
- <span class="ruby-identifier">ex</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'&quot;'</span>, <span class="ruby-value str">&quot;'&quot;</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>chomp_last_newline (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 37</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chomp_last_newline</span>(<span class="ruby-identifier">file</span>)
15
-
16
- <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>(<span class="ruby-identifier">file</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">size</span>(<span class="ruby-identifier">file</span>) <span class="ruby-operator">&gt;</span> <span class="ruby-value">1</span>
17
- <span class="ruby-identifier">f</span> = <span class="ruby-identifier">open</span>(<span class="ruby-identifier">file</span>, <span class="ruby-value str">&quot;rb+&quot;</span>)
18
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">seek</span>(<span class="ruby-value">-1</span>, <span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">SEEK_END</span>)
19
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">truncate</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">size</span>(<span class="ruby-identifier">file</span>) <span class="ruby-operator">-</span> <span class="ruby-value">1</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span>(<span class="ruby-value">1</span>) <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;\n&quot;</span>
20
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
21
- <span class="ruby-keyword kw">end</span>
22
-
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>get_url_from_wid (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 51</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_url_from_wid</span>(<span class="ruby-identifier">wid</span>, <span class="ruby-identifier">wkf_version</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">wkf_version</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;default&quot;</span>
16
- <span class="ruby-node">&quot;/workflows/#{wid}&quot;</span>
17
- <span class="ruby-keyword kw">else</span>
18
- <span class="ruby-node">&quot;/workflows/#{wid}?version=#{wkf_version}&quot;</span>
19
- <span class="ruby-keyword kw">end</span>
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_header_frame (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 61</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_header_frame</span>(<span class="ruby-identifier">my_exp_wkf</span>, <span class="ruby-identifier">my_exp_usr</span>)
15
- <span class="ruby-value str">&quot;&lt;html&gt;\n &lt;head&gt;&lt;link href='/css/form.css' rel='stylesheet'/&gt;&lt;/head&gt;\n &lt;body&gt;\n \#{generate_header_table(my_exp_wkf, my_exp_usr)}\n &lt;/body&gt;\n&lt;/html&gt;\n&quot;</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_header_table (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 75</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_header_table</span>(<span class="ruby-identifier">my_exp_wkf</span>, <span class="ruby-identifier">my_exp_usr</span>)
15
- <span class="ruby-value str">&quot; &lt;div id='header'&gt;\n &lt;table class='header'&gt;\n &lt;tr&gt;\n &lt;td&gt;\n &lt;img alt='NBIC logo' src='/images/nbic_logo.gif' /&gt;\n &lt;/td&gt;\n &lt;td&gt;\n &lt;table class='header-title'&gt;\n &lt;tr&gt;\n &lt;td class='header-title'&gt;Workflow: \#{@my_exp_wkf.title}&lt;/td&gt;\n &lt;/tr&gt;\n &lt;tr&gt;\n &lt;td class='right'&gt;workflow by \#{@my_exp_usr.name}&lt;/td&gt;\n\n &lt;/tr&gt;\n &lt;/table&gt;\n &lt;/td&gt;\n &lt;td&gt;\n &lt;img alt='LUMC logo' class='right' src='/images/lumc_logo2.png' /&gt;\n &lt;/td&gt;\n &lt;/tr&gt;\n &lt;/table&gt;\n &lt;/div&gt;\n&quot;</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_label_tooltip (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 106</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_label_tooltip</span>(<span class="ruby-identifier">input</span>)
15
- <span class="ruby-value str">&quot;Description: &quot;</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CGI</span><span class="ruby-operator">::</span><span class="ruby-identifier">unescapeHTML</span>(<span class="ruby-identifier">input</span>.<span class="ruby-identifier">descriptions</span>[<span class="ruby-value">0</span>])
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_textarea_tooltip (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 111</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_textarea_tooltip</span>(<span class="ruby-identifier">input</span>)
15
- <span class="ruby-value str">&quot;Example: &quot;</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CGI</span><span class="ruby-operator">::</span><span class="ruby-identifier">unescapeHTML</span>(<span class="ruby-identifier">input</span>.<span class="ruby-identifier">examples</span>[<span class="ruby-value">0</span>])
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,32 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_data_navigation_frame (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 117</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_data_navigation_frame</span>(<span class="ruby-identifier">my_exp_wkf</span>, <span class="ruby-identifier">uuid</span>, <span class="ruby-identifier">wid</span>, <span class="ruby-identifier">wkf_version</span>, <span class="ruby-identifier">t2_server</span>, <span class="ruby-identifier">finished_execution</span>)
15
-
16
- <span class="ruby-identifier">data_navigation_frame</span> = <span class="ruby-value str">&quot;&lt;html&gt;&lt;head&gt;&lt;link href='/css/results_navigation.css' rel='stylesheet'/&gt;&lt;/head&gt;&lt;body&gt;&lt;table&gt;&quot;</span>
17
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">my_exp_wkf</span>.<span class="ruby-identifier">outputs</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span><span class="ruby-value">1</span>
18
- <span class="ruby-identifier">my_exp_wkf</span>.<span class="ruby-identifier">outputs</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">output</span><span class="ruby-operator">|</span>
19
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;&lt;tr&gt;&quot;</span>
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">finished_execution</span>
21
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt;td&gt;&lt;a href='javascript:void(0);' onclick='parent.getSampleOutput(\\\&quot;#{t2_server}\\\&quot;, \\\&quot;#{uuid}\\\&quot;, &quot;</span> <span class="ruby-operator">&lt;&lt;</span>
22
- <span class="ruby-node">&quot;\\\&quot;#{output.name}\\\&quot;, \\\&quot;#{wid}\\\&quot;, \\\&quot;#{wkf_version}\\\&quot;);'&gt;#{output.name}&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&quot;</span>
23
- <span class="ruby-keyword kw">else</span>
24
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt;td&gt;#{output.name}&lt;/td&gt;&lt;td&gt;&lt;img src='/images/snake_transparent.gif' alt='Loading Content...'&gt;&lt;/td&gt;&quot;</span>
25
- <span class="ruby-keyword kw">end</span>
26
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;&lt;/tr&gt;&quot;</span>
27
- <span class="ruby-keyword kw">end</span>
28
- <span class="ruby-keyword kw">end</span>
29
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;&quot;</span>
30
- <span class="ruby-keyword kw">end</span></pre>
31
- </body>
32
- </html>
@@ -1,27 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_html_result (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File bin/t2_webapp.rb, line 137</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_html_result</span>(<span class="ruby-identifier">data</span>)
15
- <span class="ruby-identifier">html</span> = <span class="ruby-value str">&quot;&quot;</span>
16
- <span class="ruby-comment cmt">#p data</span>
17
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">Array</span>
18
- <span class="ruby-identifier">html</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">'&lt;br&gt;'</span>)
19
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">String</span>
20
- <span class="ruby-identifier">html</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/[\n]/</span>, <span class="ruby-value str">'&lt;br&gt;'</span>)
21
- <span class="ruby-keyword kw">else</span>
22
- <span class="ruby-identifier">html</span> = <span class="ruby-identifier">data</span>
23
- <span class="ruby-keyword kw">end</span>
24
- <span class="ruby-identifier">html</span>
25
- <span class="ruby-keyword kw">end</span></pre>
26
- </body>
27
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>t2_library_sanitize (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/web_t2_service.rb, line 28</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">t2_library_sanitize</span>(<span class="ruby-identifier">string</span>)
15
- <span class="ruby-identifier">ex</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'&quot;'</span>, <span class="ruby-value str">&quot;'&quot;</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,21 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>html_sanitise (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/web_t2_service.rb, line 34</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">html_sanitise</span>(<span class="ruby-identifier">string</span>)
15
- <span class="ruby-comment cmt"># escape double quotes characters</span>
16
- <span class="ruby-identifier">ex</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'&quot;'</span>, <span class="ruby-value str">'&amp;quot;'</span>)
17
- <span class="ruby-comment cmt"># convert newlines to HTML newlines to display in textareas inputs</span>
18
- <span class="ruby-identifier">ex</span> = <span class="ruby-identifier">ex</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/[\n]/</span>, <span class="ruby-value str">'&amp;#xA;'</span>)
19
- <span class="ruby-keyword kw">end</span></pre>
20
- </body>
21
- </html>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>chomp_last_newline (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/web_t2_service.rb, line 45</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chomp_last_newline</span>(<span class="ruby-identifier">file</span>)
15
-
16
- <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>(<span class="ruby-identifier">file</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">size</span>(<span class="ruby-identifier">file</span>) <span class="ruby-operator">&gt;</span> <span class="ruby-value">1</span>
17
- <span class="ruby-identifier">f</span> = <span class="ruby-identifier">open</span>(<span class="ruby-identifier">file</span>, <span class="ruby-value str">&quot;rb+&quot;</span>)
18
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">seek</span>(<span class="ruby-value">-1</span>, <span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">SEEK_END</span>)
19
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">truncate</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">size</span>(<span class="ruby-identifier">file</span>) <span class="ruby-operator">-</span> <span class="ruby-value">1</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span>(<span class="ruby-value">1</span>) <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;\n&quot;</span>
20
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
21
- <span class="ruby-keyword kw">end</span>
22
-
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>get_url_from_wid (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/web_t2_service.rb, line 59</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_url_from_wid</span>(<span class="ruby-identifier">wid</span>, <span class="ruby-identifier">wkf_version</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">wkf_version</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;default&quot;</span>
16
- <span class="ruby-node">&quot;/workflows/#{wid}&quot;</span>
17
- <span class="ruby-keyword kw">else</span>
18
- <span class="ruby-node">&quot;/workflows/#{wid}?version=#{wkf_version}&quot;</span>
19
- <span class="ruby-keyword kw">end</span>
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>
@@ -1,23 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_header_frame (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/web_t2_service.rb, line 69</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_header_frame</span>(<span class="ruby-identifier">my_exp_wkf</span>)
15
- <span class="ruby-value str">&quot;&lt;html&gt;&quot;</span> <span class="ruby-operator">&lt;&lt;</span>
16
- <span class="ruby-value str">&quot;&lt;head&gt;&lt;link href='/css/results_header.css' rel='stylesheet'/&gt;&lt;/head&gt;&quot;</span> <span class="ruby-operator">&lt;&lt;</span>
17
- <span class="ruby-value str">&quot;&lt;body&gt;&lt;table class='header'&gt;&quot;</span> <span class="ruby-operator">&lt;&lt;</span>
18
- <span class="ruby-node">&quot;&lt;tr&gt;&lt;td class='header'&gt;Workflow: #{my_exp_wkf.title}&lt;/td&gt;&lt;/tr&gt;&quot;</span> <span class="ruby-operator">&lt;&lt;</span>
19
- <span class="ruby-value str">&quot;&lt;/table&gt;&lt;/body&gt;&quot;</span> <span class="ruby-operator">&lt;&lt;</span>
20
- <span class="ruby-value str">&quot;&lt;/html&gt;&quot;</span>
21
- <span class="ruby-keyword kw">end</span></pre>
22
- </body>
23
- </html>
@@ -1,32 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_data_navigation_frame (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/web_t2_service.rb, line 80</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_data_navigation_frame</span>(<span class="ruby-identifier">my_exp_wkf</span>, <span class="ruby-identifier">uuid</span>, <span class="ruby-identifier">wid</span>, <span class="ruby-identifier">wkf_version</span>, <span class="ruby-identifier">t2_server</span>, <span class="ruby-identifier">finished_execution</span>)
15
-
16
- <span class="ruby-identifier">data_navigation_frame</span> = <span class="ruby-value str">&quot;&lt;html&gt;&lt;head&gt;&lt;link href='/css/results_navigation.css' rel='stylesheet'/&gt;&lt;/head&gt;&lt;body&gt;&lt;table&gt;&quot;</span>
17
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">my_exp_wkf</span>.<span class="ruby-identifier">outputs</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;=</span><span class="ruby-value">1</span>
18
- <span class="ruby-identifier">my_exp_wkf</span>.<span class="ruby-identifier">outputs</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">output</span><span class="ruby-operator">|</span>
19
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;&lt;tr&gt;&quot;</span>
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">finished_execution</span>
21
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt;td&gt;&lt;a href='javascript:void(0);' onclick='parent.getSampleOutput(\\\&quot;#{t2_server}\\\&quot;, \\\&quot;#{uuid}\\\&quot;, &quot;</span> <span class="ruby-operator">&lt;&lt;</span>
22
- <span class="ruby-node">&quot;\\\&quot;#{output.name}\\\&quot;, \\\&quot;#{wid}\\\&quot;, \\\&quot;#{wkf_version}\\\&quot;);'&gt;#{output.name}&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&quot;</span>
23
- <span class="ruby-keyword kw">else</span>
24
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;&lt;td&gt;#{output.name}&lt;/td&gt;&lt;td&gt;&lt;img src='/images/snake_transparent.gif' alt='Loading Content...'&gt;&lt;/td&gt;&quot;</span>
25
- <span class="ruby-keyword kw">end</span>
26
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;&lt;/tr&gt;&quot;</span>
27
- <span class="ruby-keyword kw">end</span>
28
- <span class="ruby-keyword kw">end</span>
29
- <span class="ruby-identifier">data_navigation_frame</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;&quot;</span>
30
- <span class="ruby-keyword kw">end</span></pre>
31
- </body>
32
- </html>
@@ -1,27 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_html_result (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/web_t2_service.rb, line 100</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_html_result</span>(<span class="ruby-identifier">data</span>)
15
- <span class="ruby-identifier">html</span> = <span class="ruby-value str">&quot;&quot;</span>
16
- <span class="ruby-comment cmt">#p data</span>
17
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">Array</span>
18
- <span class="ruby-identifier">html</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">flatten</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">'&lt;br&gt;'</span>)
19
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">data</span>.<span class="ruby-identifier">instance_of?</span> <span class="ruby-constant">String</span>
20
- <span class="ruby-identifier">html</span> = <span class="ruby-identifier">data</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/[\n]/</span>, <span class="ruby-value str">'&lt;br&gt;'</span>)
21
- <span class="ruby-keyword kw">else</span>
22
- <span class="ruby-identifier">html</span> = <span class="ruby-identifier">data</span>
23
- <span class="ruby-keyword kw">end</span>
24
- <span class="ruby-identifier">html</span>
25
- <span class="ruby-keyword kw">end</span></pre>
26
- </body>
27
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>t2_library_sanitize (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/t2_webapp.rb, line 29</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">t2_library_sanitize</span>(<span class="ruby-identifier">string</span>)
15
- <span class="ruby-identifier">ex</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">'&quot;'</span>, <span class="ruby-value str">&quot;'&quot;</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,25 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>chomp_last_newline (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/t2_webapp.rb, line 37</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">chomp_last_newline</span>(<span class="ruby-identifier">file</span>)
15
-
16
- <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>(<span class="ruby-identifier">file</span>) <span class="ruby-keyword kw">and</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">size</span>(<span class="ruby-identifier">file</span>) <span class="ruby-operator">&gt;</span> <span class="ruby-value">1</span>
17
- <span class="ruby-identifier">f</span> = <span class="ruby-identifier">open</span>(<span class="ruby-identifier">file</span>, <span class="ruby-value str">&quot;rb+&quot;</span>)
18
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">seek</span>(<span class="ruby-value">-1</span>, <span class="ruby-constant">File</span><span class="ruby-operator">::</span><span class="ruby-constant">SEEK_END</span>)
19
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">truncate</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">size</span>(<span class="ruby-identifier">file</span>) <span class="ruby-operator">-</span> <span class="ruby-value">1</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">read</span>(<span class="ruby-value">1</span>) <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;\n&quot;</span>
20
- <span class="ruby-identifier">f</span>.<span class="ruby-identifier">close</span>
21
- <span class="ruby-keyword kw">end</span>
22
-
23
- <span class="ruby-keyword kw">end</span></pre>
24
- </body>
25
- </html>
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>get_url_from_wid (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/t2_webapp.rb, line 51</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get_url_from_wid</span>(<span class="ruby-identifier">wid</span>, <span class="ruby-identifier">wkf_version</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">wkf_version</span> <span class="ruby-operator">==</span> <span class="ruby-value str">&quot;default&quot;</span>
16
- <span class="ruby-node">&quot;/workflows/#{wid}&quot;</span>
17
- <span class="ruby-keyword kw">else</span>
18
- <span class="ruby-node">&quot;/workflows/#{wid}?version=#{wkf_version}&quot;</span>
19
- <span class="ruby-keyword kw">end</span>
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_header_frame (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/t2_webapp.rb, line 61</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_header_frame</span>(<span class="ruby-identifier">my_exp_wkf</span>, <span class="ruby-identifier">my_exp_usr</span>)
15
- <span class="ruby-value str">&quot;&lt;html&gt;\n &lt;head&gt;&lt;link href='/css/form.css' rel='stylesheet'/&gt;&lt;/head&gt;\n &lt;body&gt;\n \#{generate_header_table(my_exp_wkf, my_exp_usr)}\n &lt;/body&gt;\n&lt;/html&gt;\n&quot;</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_header_table (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/t2_webapp.rb, line 75</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_header_table</span>(<span class="ruby-identifier">my_exp_wkf</span>, <span class="ruby-identifier">my_exp_usr</span>)
15
- <span class="ruby-value str">&quot; &lt;div id='header'&gt;\n &lt;table class='header'&gt;\n &lt;tr&gt;\n &lt;td&gt;\n &lt;img alt='NBIC logo' src='/images/nbic_logo.gif' /&gt;\n &lt;/td&gt;\n &lt;td&gt;\n &lt;table class='header-title'&gt;\n &lt;tr&gt;\n &lt;td class='header-title'&gt;Workflow: \#{@my_exp_wkf.title}&lt;/td&gt;\n &lt;/tr&gt;\n &lt;tr&gt;\n &lt;td class='right'&gt;workflow by \#{@my_exp_usr.name}&lt;/td&gt;\n\n &lt;/tr&gt;\n &lt;/table&gt;\n &lt;/td&gt;\n &lt;td&gt;\n &lt;img alt='LUMC logo' class='right' src='/images/lumc_logo2.png' /&gt;\n &lt;/td&gt;\n &lt;/tr&gt;\n &lt;/table&gt;\n &lt;/div&gt;\n&quot;</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_label_tooltip (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/t2_webapp.rb, line 106</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_label_tooltip</span>(<span class="ruby-identifier">input</span>)
15
- <span class="ruby-value str">&quot;Description: &quot;</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CGI</span><span class="ruby-operator">::</span><span class="ruby-identifier">unescapeHTML</span>(<span class="ruby-identifier">input</span>.<span class="ruby-identifier">descriptions</span>[<span class="ruby-value">0</span>])
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>generate_textarea_tooltip (WebT2App)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File pkg/t2-web-0.0.3/bin/t2_webapp.rb, line 111</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">generate_textarea_tooltip</span>(<span class="ruby-identifier">input</span>)
15
- <span class="ruby-value str">&quot;Example: &quot;</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-constant">CGI</span><span class="ruby-operator">::</span><span class="ruby-identifier">unescapeHTML</span>(<span class="ruby-identifier">input</span>.<span class="ruby-identifier">examples</span>[<span class="ruby-value">0</span>])
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>