Project

General

Profile

Revision 1982

Added by Matt Jones over 17 years ago

Modifications to add "Methods" collection to the data registry, and to
make the forms HTML 4.0.1 valid (in an attempt to figure out some of
the rendering and layout oddities I'm seeing).

View differences:

entryForm.tmpl
1 1
[% INCLUDE "genericHeader.tmpl" %]
2 2

  
3
  <script language="JavaScript" type="text/javascript">
4
    function addParagraph() {
5
        var newParaWidget=document.createElement("textarea");
6
        newParaWidget.setAttribute("rows", "5");
7
        newParaWidget.setAttribute("columns", "80");
8
        newParaWidget.setAttribute("name", "methodPara");
9
        var newParaContainer = document.createElement("p");
10
        newParaContainer.appendChild(newParaWidget);
11
        var addParaButton = document.getElementById("addparabutton1");
12
        var parent = addParaButton.parentNode;
13
        parent.insertBefore(newParaContainer, addParaButton);
14
    }
15
  </script>
16

  
3 17
[% IF cfg == 'nrs' %]
4 18
  [% lsite = 'reserve' %]
5 19
  [% usite = 'Reserve' %]
......
23 37
         inclusion in the registry.</p>
24 38
      <p>&nbsp;</p>
25 39
      <p>Please have a look at the 
26
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide" target="guide">
40
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
27 41
        <b>Guide on How to Complete Data Registry Entries</b></a> 
28 42
        before you start filling in this catalog form. Also, use your browser's 
29 43
        Reload/Refresh function to make sure you see the latest version of this 
......
31 45
      </p>
32 46
      <p>&nbsp;</p>
33 47
      <p align="left">Fields including a red asterisk 
34
      (<b class="required">*</b>) are required.
48
      (<span class="required">*</span>) are required.
35 49
      </p>
36 50
      <p>&nbsp;</p>
37 51
      <p align="left">If you have any questions, comments or problems 
......
42 56
      <p>Use this page to edit the data set description that you submitted earlier to the registry.</p>
43 57
      <p>&nbsp;</p>
44 58
      <p>Please have a look at the 
45
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide" target="guide">
59
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide" target="guide">
46 60
        <b>Guide on How to Complete Data Registry Entries</b></a> 
47 61
        for help with filling of this catalog form.
48 62
      </p>
49 63
      <p>&nbsp;</p>
50 64
      <p align="left">Fields including a red asterisk 
51
      (<b class="required">*</b>) are required.
65
      (<span class="required">*</span>) are required.
52 66
      </p>
53 67
      <p>&nbsp;</p>
54 68
      <p align="left">If you have any questions, comments or problems 
......
66 80
  <input type="hidden" name="docid" value="[% docid %]">
67 81
  <input type="hidden" name="stage" value="insert">
68 82
  <p align="left">
69
      <b><font size="-1" color="#0000ff">
70
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#BasicInformation" 
71
         target="guide">BASIC INFORMATION </a>      </font>
72
      </b>
83
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#BasicInformation" target="guide">BASIC INFORMATION </a>
73 84
  </p>
74 85
  <table width="760" border="0" cellspacing="0" cellpadding="9"
75 86
bgcolor="#c6d6e7">
76 87
    <tr> 
77 88
      <td> 
78
        <p align="left"><font size="+1"> <font size="-2"> <font size="-1"> 
79
          <b><font color="#ff0000">*</font>
80
              Name of Person completing this form
81
          </b></font>
82
	</font></font></p>
83
        <p><font size="-1"> 
89
        <p align="left">
90
          <span class="required">*</span><span class="label">Name of Person completing this form</span>
91
	    </p>
92
        <p>
84 93
          <input type="TEXT" name="providerGivenName" size="40" value="[%providerGivenName%]">
85
          <b><font color="#ff0000">*</font>First Name</b></font></p>
86
        <p><font size="-1"><b> 
94
          <span class="required">*</span><span class="label">First Name</span></p>
95
        <p>
87 96
          <input type="TEXT" name="providerSurName" size="40" value="[%providerSurName%]">
88
          <font color="#ff0000">*</font>Last Name</b></font></p>
97
          <span class="required">*</span><span class="label">Last Name</span></p>
89 98
[% IF showSiteList == 'true' %]
90
        <p align="left"> <font size="-1">
91
          <select name="site" value="[%site%]">
99
        <p align="left">
100
          <select name="site">
92 101
	    [% IF form == 're_entry' %]
93 102
	    	<option selected>[%site%]</option>
94 103
	    [% ELSE %]
......
98 107
              <option>[% site %]</option>
99 108
            [% END %]
100 109
          </select>
101
          <b><font color="#ff0000">*</font>[% usite %] Name</b></font></p>
110
          <span class="required">*</span><span class="label">[% usite %] Name</span></p>
102 111
[% END %]
103 112
[% IF cfg == 'nceas' %]
104 113
        <p align="left"> 
105
          <b><font color="#ff0000">*</font>Working Group(s):</b></font></p>
106
          <font size="-1">
114
          <span class="required">*</span><span class="label">Working Group(s):</span></p>
107 115
          <select name="wg" multiple="multiple" size="5">
108 116
            [% FOREACH project = projects %]
109 117
              [% SET label = "${project.1}: $project.3 (NCEAS ${project.0})" %]
......
117 125
            [% END %]
118 126
          </select>
119 127
[% END %]
120
        <p align="left"><font size="-1"> 
128
        <p align="left">
121 129
          <input type="TEXT" name="title" value="[%title%]" size="53">
122
          <b><font color="#ff0000">*</font>Data Set Title</b></font></p>
130
          <span class="required">*</span><span class="label">Data Set Title</span></p>
123 131
      </td>
124 132
    </tr>
125 133
  </table>
126
  <p align="left"><b><font size="-1" color="#0000ff">
127

  
128
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DataSetOriginator"
129
         target="guide">DATA SET ORIGINATOR</a>
130
	
131
        </font></b>
134
  <p align="left">
135
      <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetOriginator" target="guide">DATA SET ORIGINATOR</a>
132 136
  </p>
133 137
  <table border="0" cellpadding="9" width="760" bgcolor="#c6d6e7"
134 138
cellspacing="0">
135 139
    <tr> 
136 140
      <td valign="TOP" colspan="3"> 
137
<!--        <p> <font size="-1">
138
          <select name="origRole0">
139
            <option> </option>
140
	    <option selected>[%origRole0%]</option>
141
            <option>Originator</option>
142
            <option>Principal Investigator</option>
143
            <option>Editor</option>
144
            <option>Publisher</option>
145
            <option>Processor</option>
146
            <option>Custodian/Steward</option>
147
            <option>Author</option>
148
            <option>Content Provider</option>
149
            <option>Distributor</option>
150
            <option>Metadata Provider</option>
151
            <option>Owner</option>
152
          </select>
153
          <b>Originator's Role (</b>Leave this field empty unless you desire to 
154
          be more specific)</font></p> -->
155
        <p><font size="-1"> 
141
        <p>
156 142
          <input type="TEXT" name="origNamefirst0" size="40" value="[%origNamefirst0%]">
157
          <b><font color="#ff0000">*</font>First Name</b></font></p>
158
        <p><font size="-1"><b> 
143
          <span class="required">*</span><span class="label">First Name</span></p>
144
        <p>
159 145
          <input type="TEXT" name="origNamelast0" size="40" value="[%origNamelast0%]">
160
          <font color="#ff0000">*</font>Last Name</b></font></p>
146
          <span class="required">*</span><span class="label">Last Name</span></p>
161 147
        <p><font size="-1"> 
162 148
          <input type="TEXT" name="origNameOrg" size="60" value="[%origNameOrg%]">
163 149
          <b>Organization Name</b></font></p>
......
262 248
  </table>
263 249
  <p><b><font size="-1" color="#0000ff">
264 250
      <a 
265
       href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#AdditionalOriginators"
251
       href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#AdditionalOriginators"
266 252
       target="guide">ADDITIONAL ORIGINATORS</a>
267 253
	</font></b>
268 254
  </p>
......
612 598
  </table>
613 599
  <br>
614 600
  <p align="left"><font size="4" color="0000ff"><b><font size="-1">
615
       <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DataSetAbstract"
601
       <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetAbstract"
616 602
          target="guide">DATA SET ABSTRACT</a>
617 603
	</font></b></font> 
618 604

  
......
630 616
  </table>
631 617
  <p align="left"><font size="4" color="0000ff"><b><font size="-1">
632 618
       <a 
633
        href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#KeywordInformation"
619
        href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#KeywordInformation"
634 620
        target="guide">KEYWORD INFORMATION</a>
635 621
	</font></b></font> 
636 622
    <font size="-1"><b><br>
......
984 970
  <br>
985 971
  <p align="left"><font size="4" color="0000ff"><b><font size="-1">
986 972
  <a
987
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#TemporalCoverageOfData"
973
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#TemporalCoverageOfData"
988 974
   target="guide">TEMPORAL COVERAGE OF DATA</a>
989 975
	</font></b></font> 
990 976
  <table cellspacing="0" border="0" cellpadding="9" width="760"
......
1038 1024
  <br>
1039 1025
  <p align="left"><font size="4" color="0000ff"><b><font size="-1">
1040 1026
  <a
1041
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#SpatialCoverageOfData"
1027
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#SpatialCoverageOfData"
1042 1028
   target="guide">SPATIAL COVERAGE OF DATA</a>
1043 1029
	</font></b></font> 
1044 1030
  <table cellspacing="0" border="0" cellpadding="9" width="760"
......
1103 1089
      </td>
1104 1090
      <td width="20%" valign="TOP"> 
1105 1091
        <p><font size="-1"> 
1106
          <input type="TEXT" name="longDeg1" value="[%longDeg1%]" size="3": maxlength="3">
1092
          <input type="TEXT" name="longDeg1" value="[%longDeg1%]" size="3" maxlength="3">
1107 1093
          <input type="TEXT" name="longMin1" value="[%longMin1%]" size="2" maxlength="2">
1108 1094
          <input type="TEXT" name="longSec1" value="[%longSec1%]" size="2" maxlength="2">
1109 1095
          </font></p>
......
1179 1165
      </td>
1180 1166
    </tr>
1181 1167
  </table>
1168

  
1169
  [% IF cfg == 'nceas' %]
1170
  <a href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Methods" target="guide">METHODS</a>
1171
  <table cellspacing="0" border="0" cellpadding="9" width="760" bgcolor="#c6d6e7">
1172
    <tbody>
1173
    <tr> 
1174
      <td valign="top" colspan="3"> 
1175
        <p class="label">Data Collection Methods</p>
1176
      </td>
1177
    </tr>
1178
    <tr> 
1179
      <td valign="top"> 
1180
        <p>
1181
          <input type="text" name="methodTitle" value="[%methodTitle%]" size="40">
1182
          <span class="label">Title of Method</span>
1183
        </p>
1184
        <p>
1185
          <span class="label">Method Description</span>
1186
        [% IF methodPara.size < 1 %]
1187
          <br>
1188
          <textarea rows="5" cols="80" name="methodPara"></textarea>
1189
        [% END %]
1190
        [% FOREACH para = methodPara %]
1191
          <br>
1192
          <textarea rows="5" cols="80" name="methodPara">[% para %]</textarea>
1193
        [% END %]
1194
        </p>
1195
        <p>
1196
          <input type="button" value="Add paragraph" id="addparabutton1"
1197
                 onClick="addParagraph()">
1198
        </p>
1199
      </td>
1200
     </tbody>
1201
   </table>
1202
  [% END %]
1203

  
1182 1204
  <p><b><font size="-1" color="#0000ff">
1183 1205
  <a
1184
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DataSetContactAddress"
1206
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress"
1185 1207
   target="guide">DATA SET CONTACT ADDRESS</a>
1186 1208
	</font></b></p>
1187 1209
  <table border="0" cellspacing="0" cellpadding="9" width="760" bgcolor="#c6d6e7">
......
1224 1246
        <p> 
1225 1247
          <select name="origStateContact">
1226 1248
	    [% IF form == 're_entry' %]	
1227
            	<option><font size="-1" face="Arial, Helvetica, sans-serif">[%origStateContact%]</font></option>
1249
            	<option>[%origStateContact%]</option>
1228 1250
	    [% ELSE %]
1229
                <option><font size="-1" face="Arial, Helvetica, sans-serif">Select state here.</font></option>
1251
                <option>Select state here.</option>
1230 1252
            [% END %]
1231
	    <option><font size="-1" face="Arial, Helvetica, sans-serif">Alabama</font></option>
1232
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Alaska</font></option>
1233
            <option><font size="-1" face="Arial, Helvetica, sans-serif">American 
1234
            Samoa</font></option>
1235
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Arizona</font></option>
1236
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Arkansas</font></option>
1237
            <option><font size="-1" face="Arial, Helvetica, sans-serif">California</font></option>
1238
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Colorado</font></option>
1239
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Connecticut</font></option>
1240
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Delaware</font></option>
1241
            <option><font size="-1" face="Arial, Helvetica, sans-serif">District 
1242
            of Columbia</font></option>
1243
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Federated 
1244
            States of Micronesia</font></option>
1245
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Florida</font></option>
1246
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Georgia</font></option>
1247
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Guam</font></option>
1248
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Hawaii</font></option>
1249
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Idaho</font></option>
1250
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Illinois</font></option>
1251
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Indiana</font></option>
1252
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Iowa</font></option>
1253
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Kansas</font></option>
1254
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Kentucky</font></option>
1255
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Louisiana</font></option>
1256
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Maine</font></option>
1257
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Marshall 
1258
            Islands</font></option>
1259
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Maryland</font></option>
1260
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Massachusetts</font></option>
1261
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Michigan</font></option>
1262
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Minnesota</font></option>
1263
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Mississippi</font></option>
1264
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Missouri</font></option>
1265
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Montana</font></option>
1266
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Nebraska</font></option>
1267
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Nevada</font></option>
1268
            <option><font size="-1" face="Arial, Helvetica, sans-serif">New Hampshire</font></option>
1269
            <option><font size="-1" face="Arial, Helvetica, sans-serif">New Jersey</font></option>
1270
            <option><font size="-1" face="Arial, Helvetica, sans-serif">New Mexico</font></option>
1271
            <option><font size="-1" face="Arial, Helvetica, sans-serif">New York</font></option>
1272
            <option><font size="-1" face="Arial, Helvetica, sans-serif">North 
1273
            Carolina</font></option>
1274
            <option><font size="-1" face="Arial, Helvetica, sans-serif">North 
1275
            Dakota</font></option>
1276
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Northern 
1277
            Mariana Islands</font></option>
1278
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Ohio</font></option>
1279
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Oklahoma</font></option>
1280
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Oregon</font></option>
1281
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Palau</font></option>
1282
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Pennsylvania</font></option>
1283
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Puerto 
1284
            Rico</font></option>
1285
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Rhode 
1286
            Island</font></option>
1287
            <option><font size="-1" face="Arial, Helvetica, sans-serif">South 
1288
            Carolina</font></option>
1289
            <option><font size="-1" face="Arial, Helvetica, sans-serif">South 
1290
            Dakota</font></option>
1291
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Tennessee</font></option>
1292
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Texas</font></option>
1293
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Utah</font></option>
1294
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Vermont</font></option>
1295
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Virgin 
1296
            Islands</font></option>
1297
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Virginia</font></option>
1298
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Washington</font></option>
1299
            <option><font size="-1" face="Arial, Helvetica, sans-serif">West Virginia</font></option>
1300
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Wisconsin</font></option>
1301
            <option><font size="-1" face="Arial, Helvetica, sans-serif">Wyoming</font></option>
1253
	        <option>Alabama</option>
1254
            <option>Alaska</option>
1255
            <option>American Samoa</option>
1256
            <option>Arizona</option>
1257
            <option>Arkansas</option>
1258
            <option>California</option>
1259
            <option>Colorado</option>
1260
            <option>Connecticut</option>
1261
            <option>Delaware</option>
1262
            <option>District of Columbia</option>
1263
            <option>Federated States of Micronesia</option>
1264
            <option>Florida</option>
1265
            <option>Georgia</option>
1266
            <option>Guam</option>
1267
            <option>Hawaii</option>
1268
            <option>Idaho</option>
1269
            <option>Illinois</option>
1270
            <option>Indiana</option>
1271
            <option>Iowa</option>
1272
            <option>Kansas</option>
1273
            <option>Kentucky</option>
1274
            <option>Louisiana</option>
1275
            <option>Maine</option>
1276
            <option>Marshall Islands</option>
1277
            <option>Maryland</option>
1278
            <option>Massachusetts</option>
1279
            <option>Michigan</option>
1280
            <option>Minnesota</option>
1281
            <option>Mississippi</option>
1282
            <option>Missouri</option>
1283
            <option>Montana</option>
1284
            <option>Nebraska</option>
1285
            <option>Nevada</option>
1286
            <option>New Hampshire</option>
1287
            <option>New Jersey</option>
1288
            <option>New Mexico</option>
1289
            <option>New York</option>
1290
            <option>North Carolina</option>
1291
            <option>North Dakota</option>
1292
            <option>Northern Mariana Islands</option>
1293
            <option>Ohio</option>
1294
            <option>Oklahoma</option>
1295
            <option>Oregon</option>
1296
            <option>Palau</option>
1297
            <option>Pennsylvania</option>
1298
            <option>Puerto Rico</option>
1299
            <option>Rhode Island</option>
1300
            <option>South Carolina</option>
1301
            <option>South Dakota</option>
1302
            <option>Tennessee</option>
1303
            <option>Texas</option>
1304
            <option>Utah</option>
1305
            <option>Vermont</option>
1306
            <option>Virgin Islands</option>
1307
            <option>Virginia</option>
1308
            <option>Washington</option>
1309
            <option>West Virginia</option>
1310
            <option>Wisconsin</option>
1311
            <option>Wyoming</option>
1302 1312
          </select>
1303 1313
          <b><font size="-1">State</font></b>&nbsp;&nbsp;&nbsp;
1304 1314
          <font size="-1"> 
......
1317 1327
  <br>
1318 1328
  <p align="left"><font size="4" color="0000ff"><b><font size="-1">
1319 1329
  <a
1320
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DistributionIinformation"
1330
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation"
1321 1331
   target="guide">DISTRIBUTION INFORMATION</a>
1322 1332
	</font></b></font> 
1323 1333
  <table cellspacing="0" border="0" cellpadding="9" width="760"
......
1329 1339
        <p align="left"><font size="-1"> 
1330 1340
          <input type="TEXT" name="identifier" value="[%identifier%]" size="40">
1331 1341
  <b><a
1332
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#Site-specificCode"
1342
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Site-specificCode"
1333 1343
   target="guide">Dataset Name or Identifier (important)</a> </b></font></p>
1334 1344

  
1335 1345
        <p><font size="-1"><b><font color="#ff0000">*</font>Data Medium:</b></font></p>
......
1390 1400

  
1391 1401
        <p align="left"><font size="-1"><b>
1392 1402
  <a
1393
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&stage=guide#AdditionalInformation"
1403
   href="@cgi-prefix@/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#AdditionalInformation"
1394 1404
   target="guide">Additional Information/Remarks:</a>	
1395 1405
	</b></font></p>
1396 1406
        <p align="left"><font size="-1"> 

Also available in: Unified diff