Project

General

Profile

« Previous | Next » 

Revision 2413

Added by sgarg over 19 years ago

Registry templates redesigned by Veronique Connolly and Saurabh Garg

View differences:

entryForm.tmpl
851 851
        evt = (evt) ? evt : ((window.event) ? window.event : null);
852 852
        if(evt) {
853 853
            var elem = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
854
            
855
            // hack so that this works on safari...
856
            if(elem.nodeName != 'A'){
857
                elem=elem.parentNode;
858
            }
854 859
            elem.removeChild(elem.firstChild);
855

  
856 860
            var node = document.getElementById(_node);
857 861
            if(nodeBit){
858 862
                elem.appendChild(document.createTextNode("Show"));
859
                if (navigator.userAgent.toLowerCase().indexOf('msie')!= -1 && document.all){
860
                   node.style.setAttribute("display", "none");
861
                } else {
862
                   node.setAttribute("style", "display:none");
863
                }
863
                node.className="hide";
864 864
                return 0;
865 865
            } else {
866 866
                elem.appendChild(document.createTextNode("Hide"));
867
                if (navigator.userAgent.toLowerCase().indexOf('msie')!= -1 && document.all){
868
                   node.style.removeAttribute("display");
869
                } else {
870
                   node.removeAttribute("style");
871
                }
867
                node.className="tables";
872 868
                return 1;
873 869
            }
874 870
        }        
......
1019 1015
      <tr><td></td></tr>
1020 1016
      <tr><td align="left"><span class="regtext">If you have any questions, comments or problems 
1021 1017
      regarding this form, please contact [% adminname %] at 
1022
      <a href="mailto:[% recipient %]"><span class="italic">[% recipient %]</span></a></span>.      
1018
      <a href="mailto:[% recipient %]"><span class="boldlink">[% recipient %]</span></a></span>.      
1023 1019
      </td></tr><tr><td></td></tr>
1024 1020
      [% ELSE %]
1025
      <table width="760" cellpadding="3" cellspacing="0">
1026
      <tr><td align="left"><span class="regtext">Use this page to edit the data set description that you submitted earlier to the registry.<br>The ID of this data set is: <span class="boldlink"><a href="@servlet-path@?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a></span></span></td></tr>
1021
      
1022
      
1023
      <table class="intro" cellpadding="3" cellspacing="0">
1024
      <tr><td align="left"><span class="regtext">Use this page to edit the data set description that you submitted earlier to the registry.
1025
      [%IF docid !=''%]
1026
      <br>The ID of this data set is: <span class="boldlink"><a href="@servlet-path@?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a>
1027
      </span>
1028
      [%END%]
1029
      </span></td></tr>
1027 1030
      <tr><td></td></tr>
1028 1031
      <tr><td align="left"><span class="regtext">Please have a look at the 
1029 1032
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
1030
        <span class="boldlink">Guide on How to Complete Data Registry Entries</span></a> 
1031
        for help with filling of this catalog form.</span></td</tr>
1033
        <span class="boldlink">Guide for Completing the Data Registry Form</span></a> 
1034
        for help with filling in this form.</span></td</tr>
1032 1035
      <tr><td></td></tr>
1033 1036
      <tr><td align="left"><span class="regtext">If you have any questions, comments or problems 
1034 1037
      regarding this form, please contact [% adminname %] at 
1035
      <a href="mailto:[% recipient %]"><span class="italicized">[% recipient %]</span></a>.</span>
1036
      </td></tr>
1038
      <a href="mailto:[% recipient %]"><span class="boldling">[% recipient %]</span></a>.</span>
1039
      </td></tr><tr><td></td></tr>
1037 1040
      [% END %]
1041
      
1042
      
1038 1043
      <tr><td align="left"><span class="label">*Denotes a required field.</span></td></tr>
1039 1044
      <tr><td></td></tr>
1040 1045
      
......
1061 1066
  <input type="hidden" name="spatialRequired" value="[% spatialRequired %]">
1062 1067
  
1063 1068
        <table class="tables" cellpadding="5" cellspacing="0">
1064
        <tr class="sectheader"><td colspan="5" align="left"> BASIC INFORMATION - name of person completing this form.&nbsp;
1065
	<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator" target="guide">
1069
        <tr class="sectheader"><td colspan="5" align="left"><span class="label">BASIC INFORMATION&nbsp;
1070
	<a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#BasicInformation" target="guide">
1066 1071
        <span class="smalltext">(What's this?)</span></a></td>
1067 1072
        <td class="rightCol"><span><a onClick="basicInfoBit=swap(event, 'basicInfoTable', basicInfoBit)" style="cursor:pointer">Hide</a></span></td>
1068 1073
        </tr>
......
1079 1084
		
1080 1085
	[% IF showSiteList == 'true' %]
1081 1086
        <tr class="sectbody" id="sitelist"><td class="rightCol"><span class="label">*[% usite %] Name</span></td>
1082
	  <td colspan="5"><select name="site">
1087
	  <td colspan="5"><select name="site" class="longwidth">
1083 1088
	    [% IF form == 're_entry' %]
1084 1089
	    	<option selected>[%site%]</option>
1085 1090
	    [% ELSE %]
......
1315 1320
   
1316 1321
  [% IF hasKeyword == 'true' %]
1317 1322
    <table class="tables" cellpadding="5" cellspacing="0">
1318
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">KEYWORD - for samples, see <a href=
1319
"http://gcmd.nasa.gov/Resources/valids/gcmd_parameters.html" target="nasa"><span class=
1320
"boldlink">NASA Global Change Master Directory (GCMD)</span></a><span class="label">.&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#KeywordInformation"
1323
  <tr class="sectheader"><td colspan="5" align="left"><span class="label">KEYWORD INFORMATION <span class="label">&nbsp;</span><a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#KeywordInformation"
1321 1324
        target="guide"><span class="smalltext">(What's this?)</span></a></td>
1322 1325
        <td class="rightCol"><span><a onClick="keywordBit=swap(event, 'keywordTable', keywordBit)" style="cursor:pointer">Hide</a></span></td>
1323 1326
        </tr>
1324 1327
    </table>
1325 1328
   
1326 1329
    <table class="tables" cellpadding="5" cellspacing="0" id="keywordTable">     
1327
     <tr class="sectbody">
1330
     <tr class="sectbody"><td><td colspan="5" align="left"><span class="regtext">For samples, see <a href=
1331
"http://gcmd.nasa.gov/Resources/valids/gcmd_parameters.html" target="nasa"><span class=
1332
"boldlink">NASA Global Change Master Directory (GCMD)</a>.</span>
1333
     
1334
      <tr class="sectbody">
1328 1335
        <td class="rightCol"><span class="label">Keyword</span></td>
1329 1336
      <td colspan="5">
1330 1337
            <input name="keyword" id="keyword" class="shortwidth"></td></tr>
......
1709 1716
    </table>
1710 1717
   
1711 1718
    <table class="tables" cellpadding="5" cellspacing="0" id="taxonomicTable">  
1712
        <tr class="sectbody"><td><td colspan="5" align="left"><span class="regtext">See the <a href=
1719
        <tr class="sectbody"><td></td>
1720
        <td colspan="5" align="left"><span class="regtext">See the <a href=
1713 1721
        "http://darwin.zoology.gla.ac.uk/~rpage/MyToL/www/index.php" target="_blank">Glasgow Taxonomic Name Server</a> or the <a href=
1714 1722
        "http://www.itis.usda.gov/" target="_blank">Integrated Taxonomic Information System</a> for correct spelling of taxonomic names.</td></tr>
1715 1723
  
1716 1724
        <tr class="sectbody"> 
1717
            <td class="rightCol"><span class="label">Taxon Rank</span></td>
1725
            <td class="rightCol"><span class="label">Taxonomic Rank</span></td>
1718 1726
            <td align="left" colspan="5">
1719 1727
                <input name="taxonRank" id="taxonRank" class="shortwidth">&nbsp;&nbsp;<span class="label"><span class="regtext">(e.g., Species)</span>
1720 1728
            </td>
1721 1729
        </tr>
1722 1730

  
1723 1731
        <tr class="sectbody"> 
1724
            <td class="rightCol"><span class="label">Taxon Name</span></td>
1732
            <td class="rightCol"><span class="label">Taxonomic Name</span></td>
1725 1733
            <td align="left" colspan="5">
1726 1734
                <input name="taxonName" id="taxonName" class="shortwidth">&nbsp;&nbsp;<span class="label"><span class="regtext">(e.g., <i>Ursus arctos</i>)</span>
1727 1735
            </td>
......
1776 1784
            [% cnt = cnt + 1 %]
1777 1785
        [% END %]
1778 1786

  
1779
        <tr class="sectbody" id="addtaxarow"> 
1780
        <td style="border-top: 1px solid black;" valign="top" align="right" ><span class="label">Taxonomic Reference</span></td>
1781
        <td style="border-top: 1px solid black;" align="left" colspan="5"><textarea rows="3" cols="30" name="taxaAuth">[% taxaAuth %]</textarea></td></tr>
1782
	<tr class="sectbody"><td><td colspan="4"><span class="regtext">List the source(s) used for identifying and naming taxa (e.g., name of a field guide, key, or nomenclature revision).</span></td><td></td></tr>
1787
     <tr class="sectbody" id="addtaxarow"> 
1788
        <td class="bordertop" valign="top" align="right" ><span class="label">Taxonomic Reference</span></td>
1789
        <td class="bordertop" align="left" colspan="5"><textarea rows="3" cols="30" name="taxaAuth">[% taxaAuth %]</textarea></td>
1790
        </tr>
1791
     <tr class="sectbody">
1792
     <td></td>
1793
     <td colspan="5"><span class="regtext">List the source(s) used for identifying and naming taxa (e.g., name of a <br>field guide, key, or
1794
     nomenclature revision).</span></td>
1795
     </tr>   
1783 1796
   </table>
1784 1797
    [% END %]	
1785 1798

  
......
1796 1809

  
1797 1810
    <tr class="sectbody"> 
1798 1811
      <td class="rightCol"><span class="label">Method Title</span></td>
1799
      <td colspan="5" align="left"><input type="text" name="methodTitle" value="[%methodTitle%]" size="60"></td></tr>
1812
      <td colspan="5" align="left"><input type="text" name="methodTitle" value="[%methodTitle%]" class="longwidth"></td></tr>
1800 1813

  
1801 1814
       <tr class="sectbody"><td valign="top" class="rightCol"><span class="label">Method Description</span>      
1802 1815
        <td colspan="5" align="left">
......
1808 1821
        [% END %]
1809 1822
        </td></tr>
1810 1823
        
1811
    <tr class="sectbody" id="addparabutton1"><td class="borderbottom"></td><td class="borderbottom" colspan="5" align="left">
1824
    <tr class="sectbody" id="addparabutton1">
1825
    <td ></td>
1826
    <td colspan="5" align="left">
1812 1827
          <input type="button" value="Add Paragraph to Method Description" 
1813 1828
                 onClick="addParagraph()"></td></tr>
1814 1829
   
1815 1830
     
1816
    <tr class="sectbody"><td valign="top" align="right"><span class="label">Extent of Study Description</span></td>
1817
        <td colspan="5" align="left"><textarea rows="6" cols="60" name="studyExtentDescription">[% studyExtentDescription %]</textarea></td></tr>
1831
    <tr class="sectbody">
1832
      <td valign="top" align="right" class="bordertop">
1833
       <span class="label">Extent of Study Description</span>
1834
       </td>
1835
        <td colspan="5" align="left" class="bordertop"><textarea rows="6" cols="60" name="studyExtentDescription">[% studyExtentDescription %]</textarea></td>
1836
    </tr>
1818 1837
	
1819
   <tr class="sectbody"><td class="borderbottom"><td class="borderbottom" colspan="4"><span class="regtext">Describe the temporal, spatial and taxonomic extent of the study,
1820
        supplementing the information on coverage provided above.  For example,
1821
        if the temporal coverage of the data is 1990-2000, you might provide 
1822
        details about any years that were missed or the months in which sampling
1823
        occurred.</span></td><td class="borderbottom"></td></tr>
1838
   <tr class="sectbody">
1839
    <td>
1840
    </td>
1841
    <td colspan="5"><span class="regtext">
1842
        Describe the temporal, spatial and taxonomic extent of the study,<br>
1843
        supplementing the information on coverage provided above.  <br>
1844
        For example, if the temporal coverage of the data is 1990-2000, you<br>
1845
        might provide details about any years that were missed or the months<br>
1846
        in which sampling occurred.</span>
1847
    </td>
1848
    </tr>
1824 1849
          
1825
    <tr class="sectbody"><td valign="top" align="right"><span class="label">Sampling Description</span></td>
1826
        <td colspan="5" align="left"><textarea rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea></td></tr>
1850
    <tr class="sectbody"><td class="bordertop" valign="top" align="right"><span class="label">Sampling Description</span></td>
1851
        <td colspan="5" align="left" class="bordertop" ><textarea rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea></td></tr>
1827 1852
	
1828
   <tr class="sectbody"><td><td colspan="4"><span class="regtext">Describe the sampling design of the study.  For example, you might 
1829
        describe the way in which treatments were assigned to sampling units.</span></td><td></td></tr>
1853
   <tr class="sectbody"><td><td colspan="5"><span class="regtext">
1854
        Describe the sampling design of the study.  For example, you might <br> 
1855
        describe the way in which treatments were assigned to sampling units.</span></td></tr>
1830 1856
      
1831 1857
    </table>     
1832 1858
   [% END %]
......
1956 1982
  <tr class="sectbody"><td class="rightCol"><span class="label">Data Set Identifier</span></td>
1957 1983
  <td colspan="5"><input type="TEXT" name="identifier" value="[%identifier%]" class="longwidth"></td></tr>
1958 1984
  <tr class="sectbody"><td valign="top" align="right"><span class="label">Note:</span></td>
1959
     <td colspan="4" align="left"><span class="regtext">If available, please enter a name or number that uniquely identifies and describes concisely the data set. 
1960
Alternatively, provide other pertinent information that can identify and locate the data set within your site's data management system.</span></td><td></td></tr>
1985
     <td colspan="4" align="left"><span class="regtext">
1986
     If available, please enter a name or number that uniquely identifies and<br>
1987
     describes concisely the data set. Alternatively, provide other pertinent<br>
1988
     information that can identify and locate the data set within your site's<br>
1989
     data management system.</span></td><td></td></tr>
1961 1990
  
1962 1991
    <tr class="sectbody">
1963 1992
        <td class="rightCol"><span class="label">*Data Medium</span></td>
......
2033 2062
   
2034 2063
   <table class="tables" cellpadding="5" cellspacing="0">    
2035 2064
   <tr class="sectheader"><td colspan="6" align="left"></td></tr>
2036
   <tr class="sectheader"><td colspan="6" align="center"><input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="SUBMIT">
2065
   <tr class="sectheader"><td colspan="6" align="center" class="borderbottom"><input type="SUBMIT" onClick="sortInputTags()" value="Submit Data Set Description" name="SUBMIT">
2037 2066
              
2038 2067
   
2039 2068
   <!-- <span>&nbsp;&nbsp;</span><input type="RESET" value="Reset Form" name="RESET"></td></tr>-->
2040
    
2041
   <tr class="sectheader"><td colspan="6" align="left" class="borderbottom"></td></tr>
2042 2069
    </table>
2043 2070
    <p></p>
2044 2071
   

Also available in: Unified diff