|
$+
html.Snippet("gui/snippets/input-button",
"name=picture",
"value=Change picture",
"onclick=spy.FragmentDB.store_picture('Select picture', '*.png; *.tiff; *.tif; *.jpg; *.jpeg',
'')",
"width=50%"
)
$-
$+
html.Snippet("gui/snippets/input-button",
"name=chemdraw_style",
"value=Drawstyle",
"onclick=spy.FragmentDB.get_chemdrawstyle()",
"width=50%"
)
$-
|
| click to enlarge: |
|
| Name: |
$+
html.Snippet("gui/snippets/input-text",
"name=set_name",
"width='100%'",
"onchange=spy.SetParam(FragmentDB.new_fragment.frag_name, html.GetValue(~name~))",
"multiline=False"
)
$-
|
| Unit cell: |
$+
html.Snippet("gui/snippets/input-text",
"name=set_cell",
"width='100%'",
"value='1 1 1 90 90 90'",
"onchange=spy.SetParam(FragmentDB.new_fragment.frag_cell, html.GetValue(~name~))",
"multiline=False"
)
$-
|
|
|
$+
html.Snippet("gui/snippets/input-button",
"name=use_atoms",
"value=Use Selected Atoms:",
"onclick=spy.FragmentDB.prepare_selected_atoms()>>spy.FragmentDB.make_selctions_picture()",
"width=45%"
)
$-
$+
html.Snippet("gui/snippets/input-button",
"name=exportfrag",
"value=Export Fragment",
"onclick=spy.FragmentDB.exportfrag()",
"width=45%"
)
$-
|
| Atoms: |
$+
html.Snippet("gui/snippets/input-text",
"name=SET_ATOM",
"width='100%'",
"height=160",
"onchange=spy.SetParam('FragmentDB.new_fragment.frag_atoms', html.GetValue('~name~'))",
"multiline=True"
)
$-
|
| restraints: |
$+
html.Snippet("gui/snippets/input-text",
"name=restraints",
"width='100%'",
"height=120",
"onchange=spy.SetParam(FragmentDB.new_fragment.frag_restraints, html.GetValue(~name~))",
"multiline=True"
)
$-
|
| residue: |
|
$+
html.Snippet("gui/snippets/input-text",
"name=residue",
"width='95%'",
"onchange=spy.FragmentDB.set_resiclass(html.GetValue(~name~), Inputfrag.residue)",
"multiline=False"
)
$-
|
reference: |
$+
html.Snippet("gui/snippets/input-text",
"name=reference_ed",
"width='100%'",
"onchange=spy.SetParam(FragmentDB.new_fragment.frag_reference,
html.GetValue(~name~))",
"multiline=False"
)
$-
|
|
|
|
$+
html.Snippet("gui/snippets/input-button",
"name=AddFrag",
"value=Add as New",
"onclick=spy.FragmentDB.add_new_frag()>>html.Update",
"width=100%"
)
$-
|
$+
html.Snippet("gui/snippets/input-button",
"name=UpdateFragment",
"value=Update",
"onclick=spy.FragmentDB.update_fragment()>>html.Update",
"width=100%"
)
$-
|
$+
html.Snippet("gui/snippets/input-button",
"name=DeleteFragment",
"value=Delete",
"onclick=spy.FragmentDB.delete_fragment()>>html.Update",
"width=100%"
)
$-
|
|
|