-
Notifications
You must be signed in to change notification settings - Fork 0
/
mofPage.html
258 lines (188 loc) · 8.17 KB
/
mofPage.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.11.2/jquery-ui.js"></script>
<script src="./jsmol/JSmol.min.nojq.js"></script>
<script src="./FileSaver/FileSaver.min.js"></script>
<script src="./mof.js"></script>
<script src="./flot/jquery.flot.min.js"></script>
<script src="./flot/jquery.flot.axislabels.js"></script>
<title>MOF Explorer</title>
<meta name="description" content="">
<meta name="author" content="Maxime Usdin">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Replace favicon.ico & apple-titleouch-icon.png in the root of your domain and delete these references -->
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="./mof.css">
<link rel="stylesheet" href="./CSS/jquery-ui.min.css">
<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>
</head>
<body>
<div data-role="page" id="mofPage">
<!--
<div id="viewercontainer">
-->
<span id="viewer" style="z-index:1;"> </span>
<div class="pageTitle"><b> <ul class="menu">
<li><a href="./index.html"><span>Home</span></a></li>
<li><a href="./mofPage.html" class="active"><span>MOF Explorer</span></a></li>
<li><a href="./demo.html"><span>Demo Module</span></a></li>
<li><a href="./maker.html"><span>MOF Maker</span></a></li>
<li><a href="./about.html"><span>About</span></a></li>
</ul>MOF Explorer</b></div>
<!-- LEFT PANEL -->
<span id="leftPanel">
<!--
<h1 id="displayTitle">Display</h1>
-->
<div id="accordion1">
<h3>Display Options</h3>
<div>
<span class="displayParameter">Display </span> <br />
<input type="radio" name="structureDisplay" value="Structure">Structure
<input type="radio" name="structureDisplay" value="Channels">Channels
<br />
<span id="channelError"></span>
<span id="channelButtons">
Grid resolution:
<input type="text" name="resolution" class="channelInput" id="channelResolution"> Å<br />
Probe Size:
<input type="text" name="resolution" class="channelInput" id="channelProbeSize"> Å
<br />
<br />
<!--
<span class="btn" id="submitChannels">Display</span> or
-->
<span class="btn" id="saveChannel">Save File</span> or
<span class="btn" id="learnChannel">Learn More</span>
<br />
<span id="channelLoaderGIF"><br /> Please wait <img src="./Images/ajax_clock_small.gif" /> <br /></span>
</span>
<br />
<span class="displayParameter">Atom display type</span> <br />
<input type="radio" name="atomsDisplay" value="BallStick">Ball and Stick <br />
<input type="radio" name="atomsDisplay" value="Spacefill">Spacefill <br />
<input type="radio" name="atomsDisplay" value="Wireframe">Wireframe
<br />
<br />
<span class="displayParameter">Unit Cell Display</span>
<br />
<input type="radio" name="unitCell" value="On">On
<input type="radio" name="unitCell" value="Off">Off
<br />
<br />
</div> <!-- end display options -->
<h3>Show Supercell</h3>
<div id="superCellDiv">
<input type="radio" name="x" value="1">x<sup>1</sup>
<input type="radio" name="x" value="2">x<sup>2</sup>
<input type="radio" name="x" value="3">x<sup>3</sup>
<div>
<input type="radio" name="y" value="1">y<sup>1</sup>
<input type="radio" name="y" value="2">y<sup>2</sup>
<input type="radio" name="y" value="3">y<sup>3</sup>
</div>
<div>
<input type="radio" name="z" value="1">z<sup>1</sup>
<input type="radio" name="z" value="2">z<sup>2</sup>
<input type="radio" name="z" value="3">z<sup>3</sup>
</div>
<br />
<span class="btn" id="submitSupercell">Apply Supercell</span>
<br />
<br />
</div> <!-- end superCellDiv -->
<h3>Upload A Structure</h3>
<div>
<input type="file" id="files" name="files[]" multiple />
<div id="dragDrop">Or drop a CIF file here</div>
<div id="notCIF"></div>
<div id="uploadBox"></div>
</div>
</div> <!-- end accordion -->
</span> <!-- end left panel span -->
<!-- RIGHT PANEL -->
<span id="rightPanel">
<span id="physicalPropsPanel">
<!-- Accordion start -->
<div id="accordion2">
<h3>Void Fraction</h3>
<div class="panelContentDiv">
<div> Calculate the void fraction with
<br />
<input type="text" name="count" class="probeCount" id="probeCountVF"> Probes
<br> of diameter <br />
<input type="text" name="size" class="probeSize" id="probeSizeVF"> Angstroms
</div>
<br />
<span class="btn run" id="VF">Submit</span>
<span class="btn" id="clearVF">Clear</span>
<br />
<br />
<span class="btn" id="learnVF">Learn More</span>
<br />
<br />
</div>
<h3>Surface Area</h3>
<div class="panelContentDiv">
<div>Calculate the solvent-accessible surface area with
<br />
<input type="text" name="count" class="probeCount" id="probeCountSA"> Probes per atom
<br> of diameter <br>
<input type="text" name="size" class="probeSize" id="probeSizeSA"> Angstroms
</div>
<br />
<span class="btn run" id="SA">Submit</span>
<span class="btn" id="clearSA">Clear</span>
<br />
<br />
<span class="btn" id="learnSA">Learn More</span>
<br />
<br />
</div>
<h3>Pore Size Distribution</h3>
<div class="panelContentDiv">
<div>Calculate the pore size distribution with
<br />
<input type="text" name="count" class="probeCount" id="probeCountPSD"> Probes
<br> and a maximum pore size of <br>
<input type="text" name="size" class="probeSize" id="probeSizePSD"> Angstroms
</div>
<br />
<span class="btn run" id="PSD">Submit</span>
<span class="btn" id="clearPSD">Clear</span>
<br />
<br />
<span class="btn" id="learnPSD">Learn More</span>
<br />
<br />
</div>
</div> <!-- end accordion -->
</span> <!-- end physicalPropsPanel -->
<span id="outputPanel">
<h1 id="outputTitle">Output</h1>
<div class="meter">
<span id="progressBar" style="width: 0%"></span>
</div>
<div id="addmeVF"></div> <div id="addmeSA"></div> <div id="addmePSD"><a href="#" id="psdGraphLink">Graph</a><a href="#" id="psdDataLink">Raw Data</a> </div>
</span> <!-- end output panel span -->
</span> <!-- end right panel span -->
<p id="unitcellInfo"></p>
</span> <!-- end page span -->
<span id="histogramContainer"><a href="#" id="closePopup">X</a><div id="histogram"></div></span>
<span id="learnMorePopupChannel"><a href="#" id="closeLMPopupChannel">X</a><div id="learnMoreContent">The channel space is computed by placing probes at all empty locations. <br />
The resultant XYZ file can be opened in most common molecular visualizers. </div></span>
<span id="learnMorePopupVF"><a href="#" id="closeLMPopupVF">X</a><div id="learnMoreContent">The void fraction is a measure of the emptiness of the unit cell. <br />
It is recommended to use at least 10 000 probes and a small (< 2 Å) probe size for optimal results.</div></span>
<span id="learnMorePopupSA"><a href="#" id="closeLMPopupSA">X</a><div id="learnMoreContent">The surface area is a measure of the exposure of the structure atoms to solvent probes. <br />
It is recommended to use at least 20 probes per atom. Often an N<sub>2</sub> probe is used of diameter 3.72 Å.</div></span>
<span id="learnMorePopupPSD"><a href="#" id="closeLMPopupPSD">X</a><div id="learnMoreContent">The pore size distribution is a measure of the size and abundance of available pore space. <br />
It is recommended to use at least 500 probes and a maximum pore size smaller than the unit cell. <br /> The PSD is a computationally intense calculation and may take a few minutes.</div></span>
</body>
</html>