Skip to content

Commit 6e623dc

Browse files
committed
Instructions update
1 parent 6897c44 commit 6e623dc

File tree

6 files changed

+121
-211
lines changed

6 files changed

+121
-211
lines changed

user_templates/INST.j2

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
2+
3+
{% if step==1 %}
4+
{% set kbdVar="auto" %}
5+
{% set ssVar="hidden" %}
6+
<ul style="color: black; text-align: justify;">
7+
{% else %}
8+
{% set kbdVar="hidden" %}
9+
{% set ssVar="auto" %}
10+
<ul style="color: Gray; text-align: justify;">
11+
{% endif %}
12+
<li>
13+
Upload the input file, select its corresponding file format, and press
14+
<kbd {{kbdVar}}>Calculate my structure</kbd>
15+
<strong {{ssVar}}><samp {{ssVar}}>Calculate my structure</samp></strong>
16+
.
17+
</li>
18+
</ul>
19+
20+
</br>
21+
22+
{% if step==2 %}
23+
{% set kbdVar="auto" %}
24+
{% set ssVar="hidden" %}
25+
<ul style="color: black; text-align: justify;">
26+
{% else %}
27+
{% set kbdVar="hidden" %}
28+
{% set ssVar="auto" %}
29+
<ul style="color: Gray; text-align: justify;">
30+
{% endif %}
31+
<li>
32+
If the input file was imported and interpreted successfully, you will be able to view basic structure information under
33+
the
34+
<kbd {{kbdVar}}>Structure information</kbd>
35+
<strong {{ssVar}}><samp {{ssVar}}>Structure information</samp></strong>
36+
tab. Press
37+
<kbd {{kbdVar}}>Run cell2mol</kbd>
38+
<strong {{ssVar}}><samp {{ssVar}}>Run cell2mol</samp></strong>
39+
and wait.
40+
The waiting time depends on the structure size and complexity.
41+
</li>
42+
</ul>
43+
44+
</br>
45+
46+
47+
{% if step==3 %}
48+
{% set kbdVar="auto" %}
49+
{% set ssVar="hidden" %}
50+
<ul style="color: black; text-align: justify;">
51+
{% else %}
52+
{% set kbdVar="hidden" %}
53+
{% set ssVar="auto" %}
54+
<ul style="color: Gray; text-align: justify;">
55+
{% endif %}
56+
<li>
57+
If the structure was analyzed successfully, you will be able to view its analysis under the
58+
<kbd {{kbdVar}}>Structure analysis</kbd>
59+
<strong {{ssVar}}><samp {{ssVar}}>Structure analysis</strong></samp>
60+
tab. You can download the cell object in <i>.gmol</i> format by pressing
61+
<kbd {{kbdVar}}>Download cell (.gmol)</kbd>
62+
<strong {{ssVar}}><samp {{ssVar}}>Download cell (.gmol)</strong></samp>
63+
. Press
64+
<kbd {{kbdVar}}>View structure</kbd>
65+
<strong {{ssVar}}><samp {{ssVar}}>View structure</strong></samp>
66+
to view, interact and download specific molecules or complexes.
67+
</li>
68+
</ul>
69+
70+
</br>
71+
72+
{% if step==4 %}
73+
{% set kbdVar="auto" %}
74+
{% set ssVar="hidden" %}
75+
<ul style="color: black; text-align: justify;">
76+
{% else %}
77+
{% set kbdVar="hidden" %}
78+
{% set ssVar="auto" %}
79+
<ul style="color: Gray; text-align: justify;">
80+
{% endif %}
81+
<li>
82+
By double-clicking on the 3d structure you will be able to zoom in, zoom out, and rotate the model. On the left column,
83+
you can select which molecular components (ligands, molecules, or metals) are displayed. Below the 3d structure, you will find a toggle
84+
button to select if you want to view the cell or one mol (molecule or complex). When mol is selected, you can use the
85+
dropdown menu to choose one to visualize. The xyz file of the selected mol containing
86+
charge, spin, and cartesian coordinates (ready for quantum chemical calculations), can be downloaded by clicking
87+
<kbd {{kbdVar}}>Download selected mol (.xyz)</kbd>
88+
<strong {{ssVar}}><samp {{ssVar}}>Download selected mol (.xyz)</strong></samp>
89+
.
90+
</li>
91+
</ul>
92+
93+
<p style="text-align: justify;">
94+
{% if step==-1 %}
95+
<span style="color:red">
96+
{% else %}
97+
<span>
98+
{% endif %}
99+
If one of the steps fail, please verify your input file or try to use a different cif2cell version if using info file as input.
100+
</span>
101+
</p>
102+
103+

user_templates/c2m-analysis.html

Lines changed: 4 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -70,51 +70,11 @@ <h2>Structure {{struct_name}} analized and converted successfully</h2>
7070
<h2>Instructions</h2>
7171

7272
<div>
73-
</br>
74-
75-
<ul style="color: DimGray; text-align: justify;">
76-
<li>
77-
Upload the input file, select its corresponding file format, and press <strong><samp>Calculate my structure</strong></samp>.
78-
</li>
79-
80-
</br>
81-
82-
<li>
83-
If the input file was imported and interpreted successfully, you will be able to view basic structure information under
84-
the <strong><samp>Structure information</strong></samp> tab. Press <strong><samp>Run cell2mol</strong></samp> and wait.
85-
The waiting time depends on the structure size and complexity.
86-
</li>
87-
</ul>
88-
89-
</br>
90-
91-
<ul style="color: blue; text-align: justify;">
92-
<li>
93-
<span style="color:black">
94-
If the structure was analyzed successfully, you will be able to view its analysis under the <kbd>Structure analysis</kbd>
95-
tab. You can download the cell object in <i>.gmol</i> format by pressing <kbd>Download cell (.gmol)</kbd>.
96-
Press <kbd>View structure</kbd> to view, interact and download specific molecules or complexes.
97-
</span>
98-
</li>
99-
</ul>
100-
101-
</br>
102-
103-
<ul style="color: Gray; text-align: justify;">
104-
<li>
105-
By double-clicking on the 3d structure you will be able to zoom in, zoom out, and rotate the model. On the left column,
106-
you can select which molecular components (ligands, molecules, or metals) are displayed. Below the 3d structure, you will find a toggle
107-
button to select if you want to view the cell or one mol (molecule or complex). When mol is selected, you can use the
108-
dropdown menu to choose one to visualize. The xyz file of the selected mol containing
109-
charge, spin, and cartesian coordinates (ready for quantum chemical calculations), can be downloaded by clicking <strong><samp>Download selected
110-
mol (.xyz)</strong></samp>.
111-
</li>
112-
</ul>
113-
114-
<p style="text-align: justify;">
115-
If one of the steps fail, please verify your input file or try to use a different cif2cell version if using info file as input.
116-
</p>
11773

74+
{% with step=3 %}
75+
{% include 'user_templates/INST.j2' %}
76+
{% endwith %}
77+
11878
</div>
11979

12080

user_templates/c2m-debug.html

Lines changed: 3 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -61,48 +61,10 @@ <h2>Instructions</h2>
6161

6262

6363
<div>
64-
</br>
6564

66-
<ul style="color: black; text-align: justify;">
67-
<li>
68-
Upload the input file, select its corresponding file format, and press <strong><samp>Calculate my structure</strong></samp>.
69-
</li>
70-
71-
</br>
72-
73-
<li>
74-
If the input file was imported and interpreted successfully, you will be able to view basic structure information under
75-
the <strong><samp>Structure information</strong></samp> tab. Press <strong><samp>Run cell2mol</strong></samp> and wait.
76-
The waiting time depends on the structure size and complexity.
77-
</li>
78-
79-
</br>
80-
81-
<li>
82-
If the structure was analyzed successfully, you will be able to view its analysis under the <strong><samp>Structure analysis</strong></samp>
83-
tab. You can download the cell object in <i>.gmol</i> format by pressing <strong><samp>Download cell (.gmol)</strong></samp>.
84-
Press <strong><samp>View structure</strong></samp> to view, interact and download specific molecules or complexes.
85-
</li>
86-
87-
</br>
88-
89-
<li>
90-
By double-clicking on the 3d structure you will be able to zoom in, zoom out, and rotate the model. On the left column,
91-
you can select which molecular components (ligands, molecules, or metals) are displayed. Below the 3d structure, you will find a toggle
92-
button to select if you want to view the cell or one mol (molecule or complex). When mol is selected, you can use the
93-
dropdown menu to choose one to visualize. The xyz file of the selected mol containing
94-
charge, spin, and cartesian coordinates (ready for quantum chemical calculations), can be downloaded by clicking <strong><samp>Download selected
95-
mol (.xyz)</strong></samp>.
96-
</li>
97-
</ul>
98-
99-
<p style="text-align: justify;">
100-
<span style="color:red">
101-
<strong>
102-
If one of the steps fail, please verify your input file or try to use a different cif2cell version if using info file as input.
103-
</strong>
104-
</span>
105-
</p>
65+
{% with step=-1 %}
66+
{% include 'user_templates/INST.j2' %}
67+
{% endwith %}
10668

10769
</div>
10870

user_templates/c2m-infopage.html

Lines changed: 4 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -149,51 +149,11 @@ <h2>Structure {{struct_name}} imported successfully</h2>
149149
<h2>Instructions</h2>
150150

151151
<div>
152-
</br>
153-
154-
<ul style="color: DimGray; text-align: justify;">
155-
<li>
156-
Upload the input file, select its corresponding file format, and press <strong><samp>Calculate my structure</strong></samp>.
157-
</li>
158-
</ul>
159-
160-
</br>
161-
162-
<ul style="color: blue; text-align: justify;">
163-
<li>
164-
<span style="color:black">
165-
If the input file was imported and interpreted successfully, you will be able to view basic structure information under
166-
the <kbd>Structure information</kbd> tab. Press <kbd>Run cell2mol</kbd> and wait.
167-
The waiting time depends on the structure size and complexity.
168-
</span>
169-
</li>
170-
</ul>
171-
172-
</br>
173-
174-
<ul style="color: Gray; text-align: justify;">
175-
<li>
176-
If the structure was analyzed successfully, you will be able to view its analysis under the <strong><samp>Structure analysis</strong></samp>
177-
tab. You can download the cell object in <i>.gmol</i> format by pressing <strong><samp>Download cell (.gmol)</strong></samp>.
178-
Press <strong><samp>View structure</strong></samp> to view, interact and download specific molecules or complexes.
179-
</li>
180-
181-
</br>
182-
183-
<li>
184-
By double-clicking on the 3d structure you will be able to zoom in, zoom out, and rotate the model. On the left column,
185-
you can select which molecular components (ligands, molecules, or metals) are displayed. Below the 3d structure, you will find a toggle
186-
button to select if you want to view the cell or one mol (molecule or complex). When mol is selected, you can use the
187-
dropdown menu to choose one to visualize. The xyz file of the selected mol containing
188-
charge, spin, and cartesian coordinates (ready for quantum chemical calculations), can be downloaded by clicking <strong><samp>Download selected
189-
mol (.xyz)</strong></samp>.
190-
</li>
191-
</ul>
152+
153+
{% with step=2 %}
154+
{% include 'user_templates/INST.j2' %}
155+
{% endwith %}
192156

193-
<p style="text-align: justify;">
194-
If one of the steps fail, please verify your input file or try to use a different cif2cell version if using info file as input.
195-
</p>
196-
197157
</div>
198158

199159

user_templates/c2m-view.html

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -82,48 +82,10 @@ <h2>Structure {{struct_name}} on display</h2>
8282
<h2>Instructions</h2>
8383

8484
<div>
85-
</br>
86-
87-
<ul style="color: DimGray; text-align: justify;">
88-
<li>
89-
Upload the input file, select its corresponding file format, and press <strong><samp>Calculate my structure</strong></samp>.
90-
</li>
91-
92-
</br>
93-
94-
<li>
95-
If the input file was imported and interpreted successfully, you will be able to view basic structure information under
96-
the <strong><samp>Structure information</strong></samp> tab. Press <strong><samp>Run cell2mol</strong></samp> and wait.
97-
The waiting time depends on the structure size and complexity.
98-
</li>
99-
100-
</br>
101-
102-
<li>
103-
If the structure was analyzed successfully, you will be able to view its analysis under the <strong><samp>Structure analysis</strong></samp>
104-
tab. You can download the cell object in <i>.gmol</i> format by pressing <strong><samp>Download cell (.gmol)</strong></samp>.
105-
Press <strong><samp>View structure</strong></samp> to view, interact and download specific molecules or complexes.
106-
</li>
107-
</ul>
108-
109-
</br>
110-
111-
<ul style="color: blue; text-align: justify;">
112-
<li>
113-
<span style="color:black">
114-
By double-clicking on the 3d structure you will be able to zoom in, zoom out, and rotate the model. On the left column,
115-
you can select which molecular components (ligands, molecules, or metals) are displayed. Below the 3d structure, you will find a toggle
116-
button to select if you want to view the cell or one mol (molecule or complex). When mol is selected, you can use the
117-
dropdown menu to choose one to visualize. The xyz file of the selected mol containing
118-
charge, spin, and cartesian coordinates (ready for quantum chemical calculations), can be downloaded by clicking <kbd>Download selected
119-
mol (.xyz)</kbd>.
120-
</span>
121-
</li>
122-
</ul>
123-
124-
<p style="text-align: justify;">
125-
If one of the steps fail, please verify your input file or try to use a different cif2cell version if using info file as input.
126-
</p>
85+
86+
{% with step=4 %}
87+
{% include 'user_templates/INST.j2' %}
88+
{% endwith %}
12789

12890
</div>
12991

0 commit comments

Comments
 (0)