7 /locus/registry.mas - a component for locus registry form
18 The ID of the logged in person
26 boolean. If passed, a link to the registry form will be printed
30 the existing registry name
36 Naama Menda <nm249@cornell.edu>
56 This locus is associated with registry name: <% $registry %>
60 <& /util/import_javascript.mas, classes => ["CXGN.Phenome.Locus"] &>
61 <div id="associateRegistryForm" style="display: none">
62 <div id="registry_search">
67 onkeyup="Locus.getRegistries(this.value)">
69 id="associate_registry_button"
70 value="associate registry"
72 onclick="Locus.associateRegistry('<% $locus_id %>','<% $person_id %>');this.disabled=false;">
74 <select id="registry_select"
76 name="registry_select"
78 onchange="Locus.updateRegistryInput()">
82 Click <a href="javascript:Locus.addRegistryView()">here</a> to add a new registry name to our database
85 <div id="registry_add" style="display: none">
86 <b>Please enter the values for the new registry name below (* is required)</b><br><br>
87 <table cellspacing="0" cellpadding="0">
88 <tr><td>*Registry Symbol: </td><td width="20"> </td>
89 <td><input type="text" id="registry_symbol" onblur="Locus.enableButton();" onchange="Locus.enableButton();"></td></tr>
90 <tr><td>*Registry Name: </td><td width="20"> </td>
91 <td><input type="text" id="registry_name" onblur="Locus.enableButton();" onchange="Locus.enableButton();"></td></tr>
93 Registry Description:<br>
94 <textarea id="registry_description" style="width: 100%"></textarea><br>
95 <input type="button" disabled="true" id="add_registry_button" value="Add New Registry" onclick="Locus.addRegistry('<% $locus_id %> ', '<% $person_id %> ');this.disabled=true;"><br>
96 Click <a href="javascript:Locus.searchRegistries()">here</a> to go back to the registry search