-
Notifications
You must be signed in to change notification settings - Fork 0
/
maker.html
179 lines (134 loc) · 5.61 KB
/
maker.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
<!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="./maker.js"></script>
<script src="./flot/jquery.flot.min.js"></script>
<title>MOF Maker</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.theme.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 id="demoPage">
<!--
<b class="pageTitle">Demo</b>
-->
<div id="viewercontainer2">
<span id="viewer2" style="z-index:1;"> </span>
<div class="pageTitle"><b><ul class="menu">
<li><a href="./index.html"><span>Home</span></a></li>
<li><a id="explorerLink"><span>MOF Explorer</span></a></li>
<li><a href="./demo.html"><span>Demo Module</span></a></li>
<li><a href="./maker.html" class="active"><span>MOF Maker</span></a></li>
<li><a href="./about.html"><span>About</span></a></li>
</ul>
Make a MOF</b></div>
<span id="leftPanel">
<!--
<h1 id="displayTitle">Display</h1>
-->
<div id="accordion1">
<h3>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>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
<span id="channelError"></span> <br />
<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="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>
</div> <!-- end accordion -->
</span> <!-- end left panel span -->
<!-- RIGHT PANEL -->
<span id="rightPanel">
<span id="physicalPropsPanel">
<div id="accordion2">
<h3>Select Building Blocks</h3>
<div class="panelContentDiv">
<p class="makerTitle">Metals</p>
<img id="cn1" class="buildBlock" src="./Images/cu2.png" >
<img id="cn2" class="buildBlock" src="./Images/zn4o.png" >
<img id="cn3" class="buildBlock" src="./Images/zn2.png" />
<p class="makerTitle">Organics</p>
<img id="bb1" class="buildBlock" src="./Images/phenyldicarboxylate.png" />
<img id="bb2" class="buildBlock" src="./Images/tetraphenyltricarboxylate.png" />
<img id="bb3" class="buildBlock" src="./Images/tetraphenylhexacarboxylate.png" />
<img id="bb4" class="buildBlock" src="./Images/diazenediphenylcarboxylate.png" />
<br />
<br />
<span class="controlButton btn" id="generate"> Generate! </span>
<span class="controlButton btn" id="clearMaker"> Clear </span>
<br />
<br />
<span class="controlButton btn" id="saveMaker"> Save Structure </span>
<br />
<br />
<span id="mofFail">No MOF could be made from these building blocks, please try again. </span>
</div>
</div> <!-- end accordion -->
</span> <!-- end physical props panel span -->
</span> <!-- end right panel span -->
<p id="unitcellInfo"></p>
<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>
</div>
</body>
</html>