forked from biocore/SitePainter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
177 lines (165 loc) · 6.89 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<link rel="Stylesheet" type="text/css" href="site_painter/css/jpicker-1.1.2.min.css" />
<link rel="Stylesheet" type="text/css" href="site_painter/jPicker.css" />
<script src="site_painter/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="site_painter/jpicker-1.1.2.min.js" type="text/javascript"></script>
<link href="site_painter/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="site_painter/jquery-ui.min.js"></script>
<link rel="stylesheet" href="site_painter/site_painter.css" type="text/css"/>
<script type="text/javascript" src="site_painter/site_painter.js"></script>
<script type="text/javascript" src="site_painter/jquery.jeditable.mini.js"></script>
<link rel="stylesheet" href="site_painter/tablesorter/themes/blue/style.css" type="text/css"/>
<script type="text/javascript" src="site_painter/tablesorter/jquery.tablesorter.js"></script>
<script type="text/javascript" src="site_painter/color-gradients.js"></script>
<script>
if ($.browser.mozilla) {
version = $.browser.version
if (version.split(".")[0]<4) {
alert("SitePainter only works correctly on Firefox >= to 4.0 and you are using: " + version);
}
} else {
alert("SitePainter only works in Firefox.")
}
// Taken from http://www.html5rocks.com/en/tutorials/file/dndfiles/
if (window.File && window.FileReader && window.FileList && window.Blob) {
// Great success! All the File APIs are supported.
} else {
alert('The File APIs are not fully supported in this browser, try another one.');
}
</script>
<title>SitePainter</title>
</head>
<body>
<table id="site_painter" border="0">
<tr>
<td>
<table border="0">
<tr>
<td width="5px"> </td>
<td width="130px">
<img src="images/SitePainter.png">
</td>
<td width="5px"> </td>
<td id="load_meta_table_text">
<table border="0" width="100%" height="100%">
<tr><td id="metadata_selection">Metadata: <b>Non selected</b></td></tr>
<tr><td>
<input type="button" value="Load metadata" onclick="$('#meta_file').click()">
<input type="file" id="meta_file" style="visibility: hidden">
</td></tr>
</table>
</td>
<td width="5px"> </td>
<td>
<table border="0">
<tr>
<th class="header"> Low </th>
<th class="header"> High </th>
<th class="header" colspan="2"> Reset color </th>
<th class="header" > Lines </th>
<th class="header"> Paths </th>
</tr>
<tr>
<td class="row_center"><span id="Color_Selector_1" style="z-index:10;"></span></td>
<td class="row_center"><span id="Color_Selector_2" style="z-index:11;"></span></td>
<td class="row_center"><span id="Color_Selector_3" style="z-index:12;"></span></td>
<td class="row_center"><input id="color_all_process" type="button" value="Color All"></td>
<td class="row_center">
<select id="show_lines">
<option value="true">Show</option>
<option value="false">Hide</option>
</select>
</td>
<td class="row_center">
<select id="color_paths">
<option value="true">Show</option>
<option value="false">Hide</option>
</select>
</td>
</tr>
</table>
</td>
<td width="5px"> </td>
<td width="180px">
<table border="0">
<tr>
<td width="5px"> </td>
<td width="50%" class="help"><a target="_sp" href="http://biocore.github.io/SitePainter/tutorials/">Tutorial</a></td>
<td width="50%" class="help"><a target="_sp" href="http://biocore.github.io/SitePainter/tutorials/">Tutorial</a></td>
<td width="50%" class="help"><a target="_sp" href="http://biocore.github.io/SitePainter/documentation/">Documentation</a></td>
<td width="5px"> </td>
</tr>
<tr>
<td> </td>
<td class="help"><a target="_sp" href="http://forum.qiime.org">Contact</a></td>
<td class="help"><a target="_sp" href="ftp://thebeast.colorado.edu/pub/sitepainter-files/sitepainter_example_files.zip">Example files</a></td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td id="rightmenu" valign="top" width="200px" rowspan="2">
<div id="jPicker"></div>
<div id="rightmenu_div">
<div id="tabs">
<ul>
<li><a href="#tab_elements"><span>Elem.</span></a></li>
<li><a href="#tab_metadata"><span>Meta.</span></a></li>
<li><a href="#tab_animate"><span>Actions</span></a></li>
</ul>
<div id="tab_elements">
<input value="Click to update" type="button" id="tab_elements_text">
<br>
<span id="tab_elements_table"></span>
</div>
<div id="tab_metadata">
<select id="tab_metadata_selector"></select>
<br>
<input value="Color elements" type="button" id="tab_metadata_process">
<br>
<span id="tab_metadata_table"></span>
</div>
<div id="tab_animate">
Animation:
<select id="tab_animate_selector">
<option value="1">5 sec</option>
<option value="2">10 sec</option>
<option value="3">15 sec</option>
<option value="4">20 sec</option>
</select>
<br>
<table border="0" id="tab_animate_btn_table">
<tr>
<td><input type="button" value="Run" id="tab_animate_run"></td>
<td><input type="button" value="Sum Selection" id="actions_sum" name="actions_sum"></td>
</tr>
<tr>
<td colspan="2">
<select id="modify_selection">
<option value="select">Selection ...</option>
<option value="all">All</option>
<option value="none">None</option>
<option value="invert">Invert</option>
</select>
</td>
</tr>
</table>
<br>
<span id="tab_animate_table"></span>
</div>
</div>
</div>
</td>
</tr>
<tr>
<td id="svg_editor_td"><iframe name="svg_editor_iframe" id="svg_editor_iframe" src="svg-edit-2.7.1/svg-editor.html"></iframe></td>
</tr>
</table>
</body>
</html>