-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstart.py
29 lines (26 loc) · 989 Bytes
/
start.py
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
import ipywidgets as ipw
def get_start_widget(appbase, jupbase):
template = """
<table>
<tr>
<th style="text-align:center">-</th>
<th style="text-align:center">Replicas</th>
<th style="text-align:center">CI-NEB</th>
</tr>
<tr>
<td valign="top"><ul>
<li><a href="{appbase}/upload_structure.ipynb" target="_blank">Upload structures</a>
<li><a href="{appbase}/../../../tree/apps/reactions" target="_blank">File Tree</li>
</ul></td>
<td valign="top"><ul>
<li><a href="{appbase}/replicas.ipynb" target="_blank">Generate replicas</a>
<li><a href="{appbase}/SearchReplica.ipynb" target="_blank">Search Replicas</a>
</ul></td>
<td><ul>
<li><a href="{appbase}/NEB.ipynb" target="_blank">NEB</a>
<li><a href="{appbase}/SearchNEB.ipynb" target="_blank">Search NEBs</a>
</ul></td>
</tr>
"""
html = template.format(appbase=appbase, jupbase=jupbase)
return ipw.HTML(html)