-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathStudyKit.html
149 lines (139 loc) · 5.05 KB
/
StudyKit.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
<!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>ToxStudy 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="styles/toxstudy.css">
<link rel="stylesheet" href="www/jtoxkit.css">
<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/jtox-kit.js"></script>
<script src="scripts/toxstudy.js"></script>
<!-- default config -->
<script type='text/javascript' src='uses/profile/default/npo.js'></script>
<script type='text/javascript' src='uses/profile/default/bao.js'></script>
<script type='text/javascript' src='uses/profile/default/i5.js'></script>
<script type='text/javascript' src='uses/profile/default/ce.js'></script>
<script type='text/javascript' src='uses/profile/default/toxcast.js'></script>
<script type='text/javascript' src='uses/profile/config-study.js'></script>
<script language="javascript">
$(document).ready(function () {
var st = new jToxStudy($(".jtox-toolkit")[0], {
showDiagrams: true,
configuration: config_study
});
//OK
st.querySubstance("http://127.0.0.1:8080/ambit2/substance/NNRG-2cb3446e-c9c4-24f2-4519-e06fa3aacb50");
// st.querySubstance("https://apps.ideaconsult.net/data/substance/IUC4-efdb21bb-e79f-3286-a988-b6f6944d3734");
//st.querySubstance("https://apps.ideaconsult.net/data/substance/IUC4-45ff35a6-cf81-321b-8a6b-040693a04d73/");
// doesn't work in IE
//st.querySubstance("https://apps.ideaconsult.net/nanoreg1/substance/NNRG-a51b2e58-4105-9643-3016-3f4b431171e2");
});
</script>
</head>
<body>
<div class="jtox-toolkit" data-kit="study" data-manual-init="yes"></div>
<div class="jtox-template">
<!--[[ jT.ui.templates['all-studies'] -->
<div>
<ul>
<li><a href="#jtox-substance">IUC Substance</a></li>
<li><a href="#jtox-compo-tab">Composition</a></li>
</ul>
<div id="jtox-substance" class="jtox-substance">
<table class="dataTable display">
<thead>
<tr>
<th class="right size-third">IUC Substance name:</th>
<td class="camelCase">{{ name }}</td>
</tr>
<tr>
<th class="right">IUC Substance UUID:</th>
<td>{{ i5uuid }}</td>
</tr>
<tr>
<th class="right">IUC Public name:</th>
<td class="camelCase">{{ publicname }}</td>
</tr>
<tr>
<th class="right">Legal entity:</th>
<td>{{ ownerName }}</td>
</tr>
<tr>
<th class="right">Legal entity UUID:</th>
<td>{{ ownerUUID }}</td>
</tr>
<tr>
<th class="right">Type substance composition:</th>
<td>{{ substanceType }}</td>
</tr>
<tr class="borderless-bottom">
<th class="right">IUC Substance Reference Identifier</th>
<td></td>
</tr>
<tr class="borderless-top borderless-bottom">
<td class="right">CAS:</td>
<td>{{ compound.cas }}</td>
</tr>
<tr class="borderless-top borderless-bottom">
<td class="right">EC:</td>
<td>{{ compound.einecs }}</td>
</tr>
<tr class="borderless-top borderless-bottom">
<td class="right">Chemical name:</td>
<td>{{ compound.name }}</td>
</tr>
<tr class="borderless-top borderless-bottom">
<td class="right">IUPAC name:</td>
<td>{{ compound.iupac }}</td>
</tr>
<tr class="borderless-top borderless-bottom">
<td class="right">UUID:</td>
<td>{{ referenceSubstance.i5uuid }}</td>
</tr>
<tr class="borderless-top">
<td class="right">IUC Flags:</td>
<td>{{ IUCFlags }}</td>
</tr>
</thead>
</table>
</div>
<div id="jtox-compo-tab" class="jtox-compo-tab"></div>
</div>
<!-- // end of #jtox-studies ]]-->
<!--[[ jT.ui.templates['one-category'] -->
<div class="jtox-study-tab unloaded">
<div class="float-right">
<button class="expand-all">Expand all</button><button class="collapse-all">Collapse all</button>
</div>
<p><input type="text" class="jtox-study-filter ui-input" placeholder="Filter..." /></p>
<h4 class="camelCase">{{ showname }}</h4>
</div>
<!-- // end of #jtox-category ]]-->
<!--[[ jT.ui.templates['one-study'] -->
<div class="jtox-study jtox-foldable folded">
<div class="title">
<p class="counter">{{ title }}</p>
</div>
<div class="content">
<table class="jtox-study-table content display"></table>
</div>
</div>
<!-- // end of #jtox-study ]]-->
</div>
</body>
</html>