source: trunk/grails-app/views/templateEditor/_ontologyDialog.gsp @ 1430

Last change on this file since 1430 was 1430, checked in by work@…, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Rev Author Date
File size: 1.3 KB
Line 
1<ul id="addOntology">
2  <li onClick="$('#searchType_ncbo').attr( 'checked', true ); $( '#termID' ).val( '' );">
3        <input class="check" checked type="radio" id="searchType_ncbo" name="searchType" value="ncbo">
4        Search by ncboID. Fill in the ncboID of the ontology you want to add.<br />
5        <input class="text" type="text" name="ncboID" id="ncboIDText" onClick="$('#searchType_ncbo').attr( 'checked', true ); $( '#termID' ).val( '' );">
6        <img id="ncbo_spinner" src="${resource( dir: 'images', file: 'spinner.gif' )}" style="margin-left: 5px; display: none;">
7  </li>
8  <li onClick="$('#searchType_term').attr( 'checked', true ); $( '#ncboIDText' ).val( '' );">
9        <input class="check" type="radio" id="searchType_term" name="searchType" value="term">
10        Enter a (part of a) term. Select the desired term from the list. The ontology to which this term belongs, will
11        be added to the system.<br />
12        <g:textField class="text" name="termID" rel="ontology-all" onClick="\$('#searchType_term').attr( 'checked', true ); \$( '#ncboIDText' ).val( '' );"/>
13        <img id="term_spinner" src="${resource( dir: 'images', file: 'spinner.gif' )}" style="margin-left: 5px; display: none;">
14  </li>
15</ul>
16
17 <script type="text/javascript">
18        $(document).ready(function() {
19                // initialize the ontology chooser
20        new OntologyChooser().init();
21
22        });
23 </script>
24
Note: See TracBrowser for help on using the repository browser.