source: branches/uk_ac_ebi_Tab2MageImporter/html/autogenerate.html @ 548

Last change on this file since 548 was 548, checked in by mbayer, 13 years ago

new page added to gather additional info needed for autogeneration of t2m file

File size: 3.4 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5<title>autogenerate.html</title>
6<link rel="stylesheet" type="text/css" href="../jsp/uk/ac/ebi/nugo/plugins/styles.css" />
7
8<script type="text/javascript">
9
10    //function to display or hide a given element
11    function showItems(myItem)
12    {
13       //this is the ID of the item to hide
14      var myItem = document.getElementById(myItem);
15         //items are currently hidden, so display them
16        myItem.style.display = "table-row";
17    }
18   
19    function hideItems(myItem)
20    {
21       //this is the ID of the item to hide
22      var myItem = document.getElementById(myItem);
23        //items are currently displayed, so hide them
24        myItem.style.display = "none";
25    }
26   
27    function failImport()
28    {
29      var cf = confirm('Sorry - this scenario is not supported.'+
30      '\nPlease click OK to return to the form or Cancel to cancel your import.');
31      if(cf==true)
32      {
33          //do nothing
34      }
35      else
36      {
37        window.close();
38      }
39    }
40   
41    </script>
42
43
44</head>
45<body>
46
47<h1>Tab2MAGE Import Wizard -- Additional Information for Autogenerate Mode</h1>
48<p>
49
50The following information is required so that the wizard can autogenerate the sample pairings in your experiment:
51<p>
52
53<form name="autogenerate" >
54
55<table cellpadding="10" width="100%" >
56
57  <!-- rationale for sample pairing -->
58  <tr>
59    <td>What was the rationale for pairing samples?</td>
60    <td class="input">
61    <select name="samplePairing" >
62        <option>treated versus control</option>
63        <option>normal versus diseased</option>
64        <option onclick="failImport();">other</option>
65    </select>
66    </td>
67  </tr>
68
69
70  <!-- time course - yes or no? -->
71  <tr>
72    <td>Was the experiment a time course?</td>
73    <td class="input">
74
75    <table class="noBorder" cellpadding="4">
76      <tr>
77        <td class="noBorder"><input type="radio" id="timeCourseYes" name="timeCourse" value="yes" onclick="showItems('timeInputs1');showItems('timeInputs2');"></td>
78        <td class="noBorder">yes</td>
79      </tr>
80
81      <tr>
82        <td class="noBorder"><input type="radio" id="timeCourseNo" name="timeCourse" checked="checked" value="no" onclick="hideItems('timeInputs1');hideItems('timeInputs2');"></td>
83        <td class="noBorder">no</td>
84      </tr>
85    </table>
86
87    </td>
88  </tr>
89 
90 
91
92
93 
94  <!-- time points input -->
95 
96    <tr id="timeInputs1" style="display:none">
97    <td>Please enter a list of your time points here, separated by semicolons.<p>
98    Example: 0h;1h;12h;24h;
99    </td>
100    <td class="input">
101      <textarea name="timePoints"></textarea>
102    </td>
103  </tr>
104
105  <!--proceed - yes or no? -->
106  <tr id="timeInputs2" style="display:none">
107    <td>By default we assume a time based sample pairing between control and treatment groups. <p>
108    Is this the case?</td>
109    <td class="input">
110
111    <table class="noBorder" cellpadding="4">
112      <tr>
113        <td class="noBorder"><input type="radio" id="proceedYes" name="proceed" value="yes"></td>
114        <td class="noBorder">yes</td>
115      </tr>
116
117      <tr>
118        <td class="noBorder"><input type="radio" id="proceedNo" name="proceed" value="no" onclick="failImport();"></td>
119        <td class="noBorder">no</td>
120      </tr>
121    </table>
122
123    </td>
124  </tr>
125 
126  </table>
127 
128
129</form>
130
131
132</body>
133</html>
Note: See TracBrowser for help on using the repository browser.