-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathQueryKit.html
118 lines (110 loc) · 5.61 KB
/
QueryKit.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
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ToxQuery Development page</title>
<link rel="stylesheet" href="tests/base.css">
<link rel="stylesheet" href="tests/skeleton.css">
<link rel="stylesheet" href="tests/layout.css">
<link rel="stylesheet" href="tests/jquery-ui.css">
<link rel="stylesheet" href="tests/jquery.dataTables.css">
<link rel="stylesheet" href="www/jtoxkit.css">
<link rel="stylesheet" href="www/ketcher.css" />
<link rel="stylesheet" href="styles/toxquery.css">
<script src="uses/oecdcategories.js"></script>
<script src="tests/jquery.js"></script>
<script src="tests/jquery-migrate-1.2.1.min.js"></script>
<script src="tests/jquery-ui.js"></script>
<script src="tests/jquery.dataTables.js"></script>
<script src="www/jtoxkit.js"></script>
<script src="www/ketcher.js"></script>
<script src="scripts/toxquery.js"></script>
</head>
<body>
<div class="jtox-toolkit" data-kit="query" data-hide-options="context"></div>
<div class="jtox-toolkit" data-kit="compound" data-show-tabs="false" data-base-url="http://apps.ideaconsult.net:8080/data"></div>
<div class="jtox-template">
<!--[[ jT.ui.templates['kit-query-all'] -->
<div class="jtox-query">
<form>
<div class="jq-buttonset jtox-inline">
<input type="radio" id="searchauto" value="auto" name="searchtype" checked="checked" data-placeholder="Enter CAS, EINECS, Chemical name, SMILES or InChI_" />
<label for="searchauto" title="Exact structure or search by an identifier. CAS, Chemical name, SMILES or InChI. The input type is guessed automatically.">Exact structure</label>
<input type="radio" id="searchsimilarity" value="similarity" name="searchtype" data-placeholder="Enter Chemical name, SMILES or InChI_" />
<label for="searchsimilarity" title="Enter SMILES or draw structure">Similarity</label>
<input type="radio" id="searchsmarts" value="smarts" name="searchtype" data-placeholder="Enter SMARTS_" />
<label for="searchsmarts" title="Enter or draw a SMARTS query">Substructure</label>
<input type="radio" id="searchuri" value="uri" name="searchtype" data-placeholder="Enter URL to be examined..." />
<label for="searchuri" title="Enter dataset URL">URL</label>
</div>
<div class="float-right search-pane">
<div class="dynamic auto-hide searchauto hidden jtox-inline">
<input type="checkbox" name="regexp" id="toxquery-regexp" />
<label for="toxquery-regexp">Enable fragment search<sup class="helper">
<a target="_blank" href="http://en.wikipedia.org/wiki/Regular_expression"><i class="fa fa-info-circle"></i></a>
</sup>
</label>
</div>
<div class="dynamic auto-hide searchsimilarity hidden jtox-inline">
<input type="checkbox" name="similaritybysubstance" value="true" id="similaritybysubstance" />
<label for="similaritybysubstance">Only hits with substance data</label>
<select name='threshold' title='Tanimoto similarity threshold'>
<option value='0.9' selected="selected">0.9</option>
<option value='0.8'>0.8</option>
<option value='0.7'>0.7</option>
<option value='0.6'>0.6</option>
<option value='0.5'>0.5</option>
<option value='0.4'>0.4</option>
<option value='0.3'>0.3</option>
<option value='0.2'>0.2</option>
<option value='0.1'>0.1</option>
</select>
</div>
<div class="dynamic auto-hide searchsmarts hidden jtox-inline">
<input type="checkbox" name="smartsbysubstance" value="true" id="smartsbysubstance" />
<label for="smartsbysubstance">Only hits with substance data</label>
<select name="smarts" title="Predefined functional groups"></select>
</div>
<div class="jtox-inline">
<input type="text" name="searchbox" />
<button name="searchbutton" class="jtox-handler" title="Search/refresh" data-handler="query"><i class="fa fa-search"></i></button>
<button name="drawbutton" class="dynamic" title="Draw the (sub)structure" data-toggle="modal" data-target="#mol-composer"><i class="fa fa-edit"></i></button>
</div>
</div>
<div id="searchcontext" class="size-full">
<input type="text" name="searchcontext" placeholder="Restrict the search within given dataset_" />
</div>
</form>
</div>
<!-- // end of #kit-query-all ]]-->
<!--[[ jT.ui.templates['kit-query-composer'] -->
<div class="modal fade" id="mol-composer" tabindex="-1" role="dialog" aria-labelledby="mol-composer" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="mol-composer">Molecule Composer</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Discard">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<iframe id="ketcher-mol-frame" src="/assets/lib/ketcher/ketcher.html?api_path={{baseUrl}}" class="col-12" height="600" scrolling="no"></iframe>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Discard</button>
<button type="button" class="btn btn-primary mol-apply" data-dismiss="modal">Apply & Use</button>
</div>
</div>
</div>
</div>
<!-- // end of #kit-query-composer ]]-->
</div>
</body>
</html>