1
|
|
2
|
<script language="JavaScript">
|
3
|
var contextUrl = '[% contextUrl %]';
|
4
|
</script>
|
5
|
<script language="JavaScript" type="text/javascript" src="[% styleCommonPath %]/templates/metacatui/entryForm.js">
|
6
|
</script>
|
7
|
<script language="JavaScript" type="text/javascript">
|
8
|
// enable Bootstrap tooltip popovers for licensing choices
|
9
|
$('.popover-target').popover();
|
10
|
</script>
|
11
|
|
12
|
<!-- CONTENT SECTION
|
13
|
======================================================================= -->
|
14
|
<article id="RegistryEntryForm">
|
15
|
|
16
|
<!-- Modal area for the guide-->
|
17
|
<div id="myModal" class="modal hide fade large" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-remote="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide">
|
18
|
<div class="modal-header">
|
19
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
|
20
|
<h3 id="myModalLabel">Registry Guide</h3>
|
21
|
</div>
|
22
|
<div class="modal-body">
|
23
|
<p>Loading...</p>
|
24
|
</div>
|
25
|
<div class="modal-footer">
|
26
|
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
|
27
|
<!--<button class="btn btn-primary" data-dismiss="modal">Ok</button>-->
|
28
|
</div>
|
29
|
</div>
|
30
|
<script language="JavaScript" type="text/JavaScript">
|
31
|
// get it out of special containers with 'position: blah' CSS
|
32
|
$('#myModal').appendTo("body");
|
33
|
</script>
|
34
|
|
35
|
<div class="container">
|
36
|
|
37
|
<div class="row-fluid">
|
38
|
|
39
|
[% IF form != 're_entry' %]
|
40
|
|
41
|
<h2>Upload your data</h2>
|
42
|
<p class="lead">
|
43
|
Use this form to submit a new data package to the repository.
|
44
|
</p>
|
45
|
|
46
|
[% ELSE %]
|
47
|
|
48
|
<h2>Edit your data</h2>
|
49
|
<p class="lead">
|
50
|
Use this form to edit a data package submitted earlier.
|
51
|
</p>
|
52
|
|
53
|
[%IF docid !=''%]
|
54
|
<p>
|
55
|
The ID of this data set is: <a href="[% metacatUrl %]?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a>
|
56
|
</p>
|
57
|
[%END%]
|
58
|
|
59
|
[% END %]
|
60
|
|
61
|
<p>
|
62
|
Please have a look at the
|
63
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide" target="guide">
|
64
|
Guide for Completing the Data Repository Form</a>
|
65
|
before you start filling in this form.
|
66
|
</p>
|
67
|
<p>
|
68
|
If you have any questions, comments or problems
|
69
|
regarding this form, please contact the repository administrator at
|
70
|
<a href="mailto:[% email.recipient %]">[% email.recipient %]</a>
|
71
|
</p>
|
72
|
<p class="text-info">*Denotes a required field.</p>
|
73
|
</div>
|
74
|
|
75
|
<!-- the main form -->
|
76
|
<div class="row-fluid">
|
77
|
|
78
|
<form id="entryForm" action="[% cgiPrefix %]/register-dataset.cgi" enctype="multipart/form-data" method="post" class="form-horizontal">
|
79
|
<input type="hidden" name="cfg" value="[% cfg %]">
|
80
|
<input type="hidden" name="docid" value="[% docid %]">
|
81
|
<input type="hidden" name="stage" value="insert">
|
82
|
|
83
|
<div class="accordion" id="entryFormAccordian">
|
84
|
<div class="accordion-group">
|
85
|
|
86
|
<!-- SUBMITTER -->
|
87
|
<div class="accordion-heading">
|
88
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseSubmitter">
|
89
|
Submitter
|
90
|
</a>
|
91
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#Submitter" ><i class="icon-question-sign"></i></a>
|
92
|
</div>
|
93
|
<div id="collapseSubmitter" class="accordion-body collapse in">
|
94
|
<div class="accordion-inner">
|
95
|
<!-- the INPUT -->
|
96
|
<div class="control-group">
|
97
|
<label class="control-label" for="providerGivenName">*First Name</label>
|
98
|
<div class="controls">
|
99
|
<input type="text" name="providerGivenName" value="[%providerGivenName%]">
|
100
|
</div>
|
101
|
</div>
|
102
|
<div class="control-group">
|
103
|
<label class="control-label" for="providerSurName">*Last Name</label>
|
104
|
<div class="controls">
|
105
|
<input type="text" name="providerSurName" value="[%providerSurName%]">
|
106
|
</div>
|
107
|
</div>
|
108
|
|
109
|
</div>
|
110
|
</div>
|
111
|
|
112
|
<!-- BASIC -->
|
113
|
<div class="accordion-heading">
|
114
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseBasic" >
|
115
|
Basic Information
|
116
|
</a>
|
117
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#BasicInformation"><i class="icon-question-sign"></i></a>
|
118
|
</div>
|
119
|
<div id="collapseBasic" class="accordion-body collapse in">
|
120
|
<div class="accordion-inner">
|
121
|
<!-- the INPUT -->
|
122
|
<div class="control-group">
|
123
|
<label class="control-label" for="title">*Data Set Title</label>
|
124
|
<div class="controls">
|
125
|
<input type="text" name="title" value="[%title%]">
|
126
|
</div>
|
127
|
</div>
|
128
|
|
129
|
[% IF show.siteList == 'true' %]
|
130
|
<div class="control-group">
|
131
|
<label class="control-label" for="site">*[% config.site | ucfirst %] Name</label>
|
132
|
<div class="controls">
|
133
|
<select name="site">
|
134
|
[% IF form == 're_entry' %]
|
135
|
<option selected>[%site%]</option>
|
136
|
[% ELSE %]
|
137
|
<option>Select your [% config.site %] here.</option>
|
138
|
[% END %]
|
139
|
[% FOREACH site = siteList %]
|
140
|
<option>[% site %]</option>
|
141
|
[% END %]
|
142
|
</select>
|
143
|
</div>
|
144
|
</div>
|
145
|
[% END %]
|
146
|
|
147
|
[% IF show.wgList == 'true' %]
|
148
|
<div class="control-group">
|
149
|
<label class="control-label" for="site">*NCEAS Project(s):</label>
|
150
|
<div class="controls">
|
151
|
<select name="wg" multiple="multiple" size="5">
|
152
|
[% FOREACH project = projects %]
|
153
|
[% SET pname = $project.3 %]
|
154
|
[% IF pname.length > 50 %]
|
155
|
[% SET sname = $project.4 %]
|
156
|
[% END %]
|
157
|
[% SET label = "NCEAS ${project.0}: ${project.1}: $project.4" %]
|
158
|
[% SET value = "NCEAS ${project.0}: ${project.1}: $project.3" %]
|
159
|
[% SET sel = '' %]
|
160
|
[% FOREACH group = wg %]
|
161
|
[% IF group == value %]
|
162
|
[% SET sel = 'selected="selected"' %]
|
163
|
[% END %]
|
164
|
[% END %]
|
165
|
<option value="[% value %]" [% sel %]>[% label %]</option>
|
166
|
[% END %]
|
167
|
</select>
|
168
|
</div>
|
169
|
</div>
|
170
|
[% END %]
|
171
|
|
172
|
[% IF show.organization == 'true' %]
|
173
|
<div class="control-group">
|
174
|
<label class="control-label" for="site">*Organization</label>
|
175
|
<div class="controls">
|
176
|
<input type="text" name="site" value="[%site%]">
|
177
|
</div>
|
178
|
</div>
|
179
|
[% END %]
|
180
|
|
181
|
[% IF show.funding == 'true' %]
|
182
|
<div id="funding-group" class="control-group">
|
183
|
<label class="control-label" for="site">Grant Number</label>
|
184
|
<div class="controls">
|
185
|
<input type="text" id="funding" name="funding" value="[%funding%]">
|
186
|
</div>
|
187
|
</div>
|
188
|
[% END %]
|
189
|
|
190
|
</div>
|
191
|
</div>
|
192
|
|
193
|
<!-- PRINCIPAL DATA SET OWNER -->
|
194
|
<div class="accordion-heading">
|
195
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseOwner" >
|
196
|
Data Set Owner
|
197
|
</a>
|
198
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DataSetOriginator"><i class="icon-question-sign"></i></a>
|
199
|
</div>
|
200
|
<div id="collapseOwner" class="accordion-body collapse in">
|
201
|
<div class="accordion-inner">
|
202
|
<!-- the INPUT -->
|
203
|
<div class="control-group">
|
204
|
<label class="control-label" for="origNamefirst0">*First Name</label>
|
205
|
<div class="controls">
|
206
|
<input type="text" name="origNamefirst0" id="origNameFirst" value="[%origNamefirst0%]">
|
207
|
</div>
|
208
|
</div>
|
209
|
<div class="control-group">
|
210
|
<label class="control-label" for="origNamelast0">*Last Name</label>
|
211
|
<div class="controls">
|
212
|
<input type="text" name="origNamelast0" id="origNameLast" value="[%origNamelast0%]">
|
213
|
</div>
|
214
|
</div>
|
215
|
<div class="control-group">
|
216
|
<label class="control-label" for="origNameOrg">Organization Name</label>
|
217
|
<div class="controls">
|
218
|
<input type="text" name="origNameOrg" id="origNameOrg" value="[%origNameOrg%]">
|
219
|
</div>
|
220
|
</div>
|
221
|
<div class="control-group">
|
222
|
<label class="control-label" for="origEmail">Email</label>
|
223
|
<div class="controls">
|
224
|
<input type="text" name="origEmail" id="origEmail" value="[%origEmail%]">
|
225
|
</div>
|
226
|
</div>
|
227
|
<div class="control-group">
|
228
|
<label class="control-label" for="origPhone">Phone</label>
|
229
|
<div class="controls">
|
230
|
<input type="text" name="origPhone" id="origPhone" value="[%origPhone%]">
|
231
|
</div>
|
232
|
</div>
|
233
|
<div class="control-group">
|
234
|
<label class="control-label" for="origFAX">Fax</label>
|
235
|
<div class="controls">
|
236
|
<input type="text" name="origFAX" id="origFAX" value="[%origFAX%]">
|
237
|
</div>
|
238
|
</div>
|
239
|
<div class="control-group">
|
240
|
<label class="control-label" for="origDelivery">Street Address</label>
|
241
|
<div class="controls">
|
242
|
<textarea class="span8" id="origDelivery" name="origDelivery">[%origDelivery%]</textarea>
|
243
|
<span class="help-block">(number, street, unit, etc.; comma-separated)</span>
|
244
|
</div>
|
245
|
</div>
|
246
|
<div class="control-group">
|
247
|
<label class="control-label" for="origCity">City</label>
|
248
|
<div class="controls">
|
249
|
<input type="text" name="origCity" id="origCity" value="[%origCity%]">
|
250
|
</div>
|
251
|
</div>
|
252
|
<div class="control-group">
|
253
|
<label class="control-label" for="origState">U.S. State or Territory</label>
|
254
|
<div class="controls">
|
255
|
<select name="origState" id="origState">
|
256
|
[% IF form == 're_entry' %]
|
257
|
<option selected>[%origState%]</option>
|
258
|
[% ELSE %]
|
259
|
<option>Select state or territory here.</option>
|
260
|
[% END %]
|
261
|
<option>Alabama</option>
|
262
|
<option>Alaska</option>
|
263
|
<option>American Samoa</option>
|
264
|
<option>Arizona</option>
|
265
|
<option>Arkansas</option>
|
266
|
<option>California</option>
|
267
|
<option>Colorado</option>
|
268
|
<option>Connecticut</option>
|
269
|
<option>Delaware</option>
|
270
|
<option>District of Columbia</option>
|
271
|
<option>Florida</option>
|
272
|
<option>Georgia</option>
|
273
|
<option>Guam</option>
|
274
|
<option>Hawaii</option>
|
275
|
<option>Idaho</option>
|
276
|
<option>Illinois</option>
|
277
|
<option>Indiana</option>
|
278
|
<option>Iowa</option>
|
279
|
<option>Kansas</option>
|
280
|
<option>Kentucky</option>
|
281
|
<option>Louisiana</option>
|
282
|
<option>Maine</option>
|
283
|
<option>Maryland</option>
|
284
|
<option>Massachusetts</option>
|
285
|
<option>Michigan</option>
|
286
|
<option>Minnesota</option>
|
287
|
<option>Mississippi</option>
|
288
|
<option>Missouri</option>
|
289
|
<option>Montana</option>
|
290
|
<option>Nebraska</option>
|
291
|
<option>Nevada</option>
|
292
|
<option>New Hampshire</option>
|
293
|
<option>New Jersey</option>
|
294
|
<option>New Mexico</option>
|
295
|
<option>New York</option>
|
296
|
<option>North Carolina</option>
|
297
|
<option>North Dakota</option>
|
298
|
<option>Northern Mariana Islands</option>
|
299
|
<option>Ohio</option>
|
300
|
<option>Oklahoma</option>
|
301
|
<option>Oregon</option>
|
302
|
<option>Pennsylvania</option>
|
303
|
<option>Puerto Rico</option>
|
304
|
<option>Rhode Island</option>
|
305
|
<option>South Carolina</option>
|
306
|
<option>South Dakota</option>
|
307
|
<option>Tennessee</option>
|
308
|
<option>Texas</option>
|
309
|
<option>Utah</option>
|
310
|
<option>Vermont</option>
|
311
|
<option>Virgin Islands</option>
|
312
|
<option>Virginia</option>
|
313
|
<option>Washington</option>
|
314
|
<option>West Virginia</option>
|
315
|
<option>Wisconsin</option>
|
316
|
<option>Wyoming</option>
|
317
|
</select>
|
318
|
</div>
|
319
|
</div>
|
320
|
<div class="control-group">
|
321
|
<label class="control-label" for="origStateOther">Other State/Province</label>
|
322
|
<div class="controls">
|
323
|
<input type="text" name="origStateOther" id="origStateOther" value="[%origStateOther%]">
|
324
|
</div>
|
325
|
</div>
|
326
|
<div class="control-group">
|
327
|
<label class="control-label" for="origZip">Postal Code</label>
|
328
|
<div class="controls">
|
329
|
<input type="text" name="origZIP" id="origZip" value="[%origZIP%]">
|
330
|
</div>
|
331
|
</div>
|
332
|
<div class="control-group">
|
333
|
<label class="control-label" for="origCountry">Country</label>
|
334
|
<div class="controls">
|
335
|
<input type="text" name="origCountry" id="origCountry" value="[%origCountry%]">
|
336
|
</div>
|
337
|
</div>
|
338
|
|
339
|
</div>
|
340
|
</div>
|
341
|
|
342
|
<!-- ASSOCIATED PARTIES -->
|
343
|
<div class="accordion-heading">
|
344
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseParties" >
|
345
|
Associated Parties
|
346
|
</a>
|
347
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#AdditionalOriginators"><i class="icon-question-sign"></i></a>
|
348
|
</div>
|
349
|
<div id="collapseParties" class="accordion-body collapse in">
|
350
|
<div class="accordion-inner">
|
351
|
|
352
|
<div class="control-group">
|
353
|
<label class="control-label" for="aoFirstName">First Name</label>
|
354
|
<div class="controls">
|
355
|
<input type="text" name="aoFirstName" id="AONameFirst"">
|
356
|
</div>
|
357
|
</div>
|
358
|
<div class="control-group">
|
359
|
<label class="control-label" for="aoLastName">Last Name</label>
|
360
|
<div class="controls">
|
361
|
<input type="text" name="aoLastName" id="AONameLast"">
|
362
|
</div>
|
363
|
</div>
|
364
|
<div class="control-group">
|
365
|
<label class="control-label" for="aoRole">Role</label>
|
366
|
<div class="controls">
|
367
|
<select id="AORole" name="aoRole">
|
368
|
<option>Co-owner</option>
|
369
|
<option>Custodian/Steward</option>
|
370
|
<option>Metadata Provider</option>
|
371
|
<option>User</option>
|
372
|
</select>
|
373
|
</div>
|
374
|
</div>
|
375
|
<div class="control-group">
|
376
|
<label class="control-label" for="addaobutton1"></label>
|
377
|
<div class="controls">
|
378
|
<input type="button" class="btn" value="Add Associated Party" id="addaobutton1" onClick="addAssociatedParty()">
|
379
|
</div>
|
380
|
</div>
|
381
|
<div class="control-group">
|
382
|
<label class="control-label" for="associatePartyTable"></label>
|
383
|
<div class="controls">
|
384
|
<table id="associatePartyTable">
|
385
|
<tr id="addAssociatedParty">
|
386
|
<td colspan=6 />
|
387
|
</tr>
|
388
|
[% numAO = 0 %]
|
389
|
[% IF aoCount %]
|
390
|
[% numAO = aoCount %]
|
391
|
<tr class="sectbody" id="aoHRRow">
|
392
|
<td colSpan="6">
|
393
|
<hr width = "85%"/>
|
394
|
</td>
|
395
|
</tr>
|
396
|
[% END %]
|
397
|
[% cnt = 1 %]
|
398
|
[% WHILE cnt < numAO%]
|
399
|
|
400
|
<tr class="sectbody">
|
401
|
[% SET aofn = "origNamefirst${cnt}" %]
|
402
|
[% SET aoln = "origNamelast${cnt}" %]
|
403
|
[% SET aorole = "origRole${cnt}" %]
|
404
|
|
405
|
<td class="rightCol">
|
406
|
<a style="cursor:pointer">
|
407
|
<i onClick="cleanTextNodes('aoHRRow', 'addaorow');moveUpRow(event)"
|
408
|
class="icon-arrow-up"
|
409
|
alt="Move Up"></i>
|
410
|
</a>
|
411
|
<a style="cursor:pointer">
|
412
|
<i onClick="cleanTextNodes('aoHRRow', 'addaorow');moveDownRow(event, 'addaorow')"
|
413
|
class="icon-arrow-down"
|
414
|
alt="Move Down"></i>
|
415
|
</a>
|
416
|
<a style="cursor:pointer">
|
417
|
<i class="icon-remove-sign"
|
418
|
onClick="delRow(event)" alt="Delete"></i>
|
419
|
</a>
|
420
|
</td>
|
421
|
<td colspan="5" align ="left" style="cursor:pointer"
|
422
|
onClick="aoEditRow(event, 0, '[%$aofn%]', '[%$aoln%]' , '[%$aorole%]')">
|
423
|
[%$aofn%] [%$aoln%] (Role: [%$aorole%])
|
424
|
<input name="aoFirstName" type="hidden" value="[%$aofn%]"/>
|
425
|
<input name="aoLastName" type="hidden" value="[%$aoln%]"/>
|
426
|
<input name="aoRole" type="hidden" value="[%$aorole%]"/>
|
427
|
</td>
|
428
|
</tr>
|
429
|
[% cnt = cnt + 1 %]
|
430
|
[% END %]
|
431
|
<input type="hidden" name="aoCount" value="[%numAO%]" id="aoCount">
|
432
|
<tr class="sectbody" id="addaorow"><td colspan=6 /></tr>
|
433
|
</table>
|
434
|
</div>
|
435
|
</div>
|
436
|
|
437
|
</div>
|
438
|
</div>
|
439
|
|
440
|
<!-- ABSTRACT -->
|
441
|
<div class="accordion-heading">
|
442
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseAbstract" >
|
443
|
Abstract
|
444
|
</a>
|
445
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DataSetAbstract"><i class="icon-question-sign"></i></a>
|
446
|
</div>
|
447
|
<div id="collapseAbstract" class="accordion-body collapse in">
|
448
|
<div class="accordion-inner">
|
449
|
<!-- the INPUT -->
|
450
|
<div class="control-group">
|
451
|
<label class="control-label" for="abstract">*Data Set Abstract</label>
|
452
|
<div class="controls">
|
453
|
<textarea class="span8" rows="6" cols="60" name="abstract">[%abstract%]</textarea>
|
454
|
<span class="help-block">(~350 words)</span>
|
455
|
</div>
|
456
|
</div>
|
457
|
|
458
|
</div>
|
459
|
</div>
|
460
|
|
461
|
[% IF modules.keyword == 'true' %]
|
462
|
<!-- KEYWORDS -->
|
463
|
<div class="accordion-heading">
|
464
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseKeywords">
|
465
|
Keywords
|
466
|
</a>
|
467
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#KeywordInformation"><i class="icon-question-sign"></i></a>
|
468
|
</div>
|
469
|
<div id="collapseKeywords" class="accordion-body collapse in">
|
470
|
<div class="accordion-inner">
|
471
|
<!-- the INPUT -->
|
472
|
<div class="control-group">
|
473
|
<label class="control-label" for="keyword">Keyword</label>
|
474
|
<div class="controls">
|
475
|
<input type="text" name="keyword" id="keyword" value="[%keyword%]">
|
476
|
<span class="help-block">For samples, see <a href=
|
477
|
"http://gcmd.nasa.gov/Resources/valids/gcmd_parameters.html" target="nasa">NASA Global Change Master Directory (GCMD)</a>.
|
478
|
</span>
|
479
|
</div>
|
480
|
</div>
|
481
|
<div class="control-group">
|
482
|
<label class="control-label" for="keywordType">Keyword Type</label>
|
483
|
<div class="controls">
|
484
|
<select name="keywordType" id="keywordType" class="shortwidth">
|
485
|
<option>None</option>
|
486
|
<option>Theme</option>
|
487
|
<option>Place</option>
|
488
|
<option>Stratum</option>
|
489
|
<option>Temporal</option>
|
490
|
<option>Taxonomic</option>
|
491
|
</select>
|
492
|
</div>
|
493
|
</div>
|
494
|
<div class="control-group">
|
495
|
<label class="control-label" for="keywordTh">Keyword Thesaurus</label>
|
496
|
<div class="controls">
|
497
|
<select name="keywordTh" id="keywordTh" class="shortwidth">
|
498
|
<option>None</option>
|
499
|
<option>GCMD</option>
|
500
|
</select>
|
501
|
</div>
|
502
|
</div>
|
503
|
<div class="control-group">
|
504
|
<label class="control-label" for="addKeywordButton"></label>
|
505
|
<div class="controls">
|
506
|
<input type="button" class="btn" value="Add Keyword" onClick="addKeyword()">
|
507
|
</div>
|
508
|
</div>
|
509
|
|
510
|
<div class="control-group">
|
511
|
<label class="control-label" for="keywordTable"></label>
|
512
|
<div class="controls">
|
513
|
<!-- the orginal table -->
|
514
|
<table>
|
515
|
<tr id="addKeyword">
|
516
|
<td colSpan="6"/>
|
517
|
</tr>
|
518
|
[% numKey = 0 %]
|
519
|
[% IF keyCount %]
|
520
|
[% numKey = keyCount %]
|
521
|
[% numAO = aoCount %]
|
522
|
<tr class="sectbody" id="keywordHRRow">
|
523
|
<td colSpan="6">
|
524
|
<hr width = "85%"/>
|
525
|
</td>
|
526
|
</tr>
|
527
|
[% END %]
|
528
|
<input type="hidden" name="keyCount" value="[%numKey%]"
|
529
|
id="keyCount">
|
530
|
|
531
|
[% cnt = 1 %]
|
532
|
[% WHILE cnt < numKey %]
|
533
|
|
534
|
<tr class="sectbody">
|
535
|
<td class="rightCol">
|
536
|
<a style="cursor:pointer">
|
537
|
<i onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveUpRow(event)"
|
538
|
class="icon-arrow-up"
|
539
|
alt="Move Up"></i>
|
540
|
</a>
|
541
|
<a style="cursor:pointer">
|
542
|
<i onClick="cleanTextNodes('keywordHRRow', 'addkeyrow');moveDownRow(event, 'addkeyrow')"
|
543
|
class="icon-arrow-down"
|
544
|
alt="Move Down"></i>
|
545
|
</a>
|
546
|
<a style="cursor:pointer">
|
547
|
<i class="icon-remove-sign"
|
548
|
onClick="delRow(event)" alt="Delete"></i>
|
549
|
</a>
|
550
|
</td>
|
551
|
[% SET keyword = "keyword${cnt}" %]
|
552
|
[% SET keywordType = "kwType${cnt}" %]
|
553
|
[% SET keywordTh = "kwTh${cnt}" %]
|
554
|
<td colspan="5" align ="left" style="cursor:pointer"
|
555
|
onClick="keywordEditRow(event, 0, '[%$keyword%]', '[%$keywordType%]' , '[%$keywordTh%]')">
|
556
|
[%$keyword%] (Type: [%$keywordType%], Thesaurus: [%$keywordTh%])
|
557
|
<input name="keyword" type="hidden" value="[%$keyword%]"/>
|
558
|
<input name="keywordType" type="hidden" value="[%$keywordType%]"/>
|
559
|
<input name="keywordTh" type="hidden" value="[%$keywordTh%]"/>
|
560
|
</td>
|
561
|
</tr>
|
562
|
[% cnt = cnt + 1 %]
|
563
|
[% END %]
|
564
|
<tr class="sectbody" id="addkeyrow"><td colspan=6 /></tr>
|
565
|
</table>
|
566
|
</div>
|
567
|
</div>
|
568
|
|
569
|
</div>
|
570
|
</div>
|
571
|
[% END %]
|
572
|
|
573
|
[% IF modules.temporal == 'true' %]
|
574
|
<!-- TEMPORAL COVERAGE -->
|
575
|
<div class="accordion-heading">
|
576
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemporal">
|
577
|
Temporal Coverage
|
578
|
</a>
|
579
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#TemporalCoverageOfData"><i class="icon-question-sign"></i></a>
|
580
|
</div>
|
581
|
<div id="collapseTemporal" class="accordion-body collapse in">
|
582
|
<div class="accordion-inner">
|
583
|
<!-- the INPUT -->
|
584
|
<div class="row-fluid">
|
585
|
|
586
|
<div class="span6">
|
587
|
<p>Start Date</p>
|
588
|
<div class="control-group">
|
589
|
[% IF required.temporal == 'true' %]
|
590
|
<label class="control-label" for="beginningYear">*Year (yyyy)</label>
|
591
|
[% ELSE %]
|
592
|
<label class="control-label" for="beginningYear">Year (yyyy)</label>
|
593
|
[% END %]
|
594
|
<div class="controls">
|
595
|
<input type="text" name="beginningYear" value="[%beginningYear%]" size="8" maxlength="4">
|
596
|
</div>
|
597
|
</div>
|
598
|
<div class="control-group">
|
599
|
<label class="control-label" for="beginningMonth">Month</label>
|
600
|
<div class="controls">
|
601
|
<select name="beginningMonth">
|
602
|
[% IF form == 're_entry' && beginningMonth != ""%]
|
603
|
<option selected>[%beginningMonth%]</option>
|
604
|
[% END %]
|
605
|
<option>MM</option> <option>01</option> <option>02</option> <option>03</option>
|
606
|
<option>04</option> <option>05</option> <option>06</option> <option>07</option>
|
607
|
<option>08</option> <option>09</option> <option>10</option> <option>11</option>
|
608
|
<option>12</option>
|
609
|
</select>
|
610
|
</div>
|
611
|
</div>
|
612
|
<div class="control-group">
|
613
|
<label class="control-label" for="beginningDay">Day</label>
|
614
|
<div class="controls">
|
615
|
<select name="beginningDay">
|
616
|
[% IF form == 're_entry' && beginningDay != ""%]
|
617
|
<option selected>[%beginningDay%]</option>
|
618
|
[% END %]
|
619
|
<option>DD</option> <option>01</option> <option>02</option> <option>03</option>
|
620
|
<option>04</option> <option>05</option> <option>06</option> <option>07</option>
|
621
|
<option>08</option> <option>09</option> <option>10</option> <option>11</option>
|
622
|
<option>12</option> <option>13</option> <option>14</option> <option>15</option>
|
623
|
<option>16</option> <option>17</option> <option>18</option> <option>19</option>
|
624
|
<option>20</option> <option>21</option> <option>22</option> <option>23</option>
|
625
|
<option>24</option> <option>25</option> <option>26</option> <option>27</option>
|
626
|
<option>28</option> <option>29</option> <option>30</option> <option>31</option>
|
627
|
</select>
|
628
|
</div>
|
629
|
</div>
|
630
|
</div>
|
631
|
<div class="span6">
|
632
|
<p>
|
633
|
End Date
|
634
|
<span class="text-info">(leave blank if your data set is open-ended)</span>
|
635
|
</p>
|
636
|
<div class="control-group">
|
637
|
<label class="control-label" for="endingYear">Year (yyyy)</label>
|
638
|
<div class="controls">
|
639
|
<input type="text" name="endingYear" value="[%endingYear%]" size="8" maxlength="4">
|
640
|
</div>
|
641
|
</div>
|
642
|
<div class="control-group">
|
643
|
<label class="control-label" for="endingMonth">Month</label>
|
644
|
<div class="controls">
|
645
|
<select name="endingMonth">
|
646
|
[% IF form == 're_entry' && endingMonth != ""%]
|
647
|
<option selected>[%endingMonth%]</option>
|
648
|
[% END %]
|
649
|
<option>MM</option> <option>01</option> <option>02</option> <option>03</option>
|
650
|
<option>04</option> <option>05</option> <option>06</option> <option>07</option>
|
651
|
<option>08</option> <option>09</option> <option>10</option> <option>11</option>
|
652
|
<option>12</option>
|
653
|
</select>
|
654
|
</div>
|
655
|
</div>
|
656
|
<div class="control-group">
|
657
|
<label class="control-label" for="endingDay">Day</label>
|
658
|
<div class="controls">
|
659
|
<select name="endingDay">
|
660
|
[% IF form == 're_entry' && endingDay != ""%]
|
661
|
<option selected>[%endingDay%]</option>
|
662
|
[% END %]
|
663
|
<option>DD</option> <option>01</option> <option>02</option> <option>03</option>
|
664
|
<option>04</option> <option>05</option> <option>06</option> <option>07</option>
|
665
|
<option>08</option> <option>09</option> <option>10</option> <option>11</option>
|
666
|
<option>12</option> <option>13</option> <option>14</option> <option>15</option>
|
667
|
<option>16</option> <option>17</option> <option>18</option> <option>19</option>
|
668
|
<option>20</option> <option>21</option> <option>22</option> <option>23</option>
|
669
|
<option>24</option> <option>25</option> <option>26</option> <option>27</option>
|
670
|
<option>28</option> <option>29</option> <option>30</option> <option>31</option>
|
671
|
</select>
|
672
|
</div>
|
673
|
</div>
|
674
|
</div
|
675
|
</div>
|
676
|
|
677
|
</div>
|
678
|
|
679
|
</div>
|
680
|
</div>
|
681
|
|
682
|
[% END %]
|
683
|
|
684
|
|
685
|
[% IF modules.spatial == 'true' %]
|
686
|
|
687
|
<!-- SPATIAL -->
|
688
|
<div class="accordion-heading">
|
689
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseSpatial">
|
690
|
Spatial Coverage
|
691
|
</a>
|
692
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#SpatialCoverageOfData"><i class="icon-question-sign"></i></a>
|
693
|
</div>
|
694
|
<div id="collapseSpatial" class="accordion-body collapse in">
|
695
|
<div class="accordion-inner">
|
696
|
<!-- the INPUT -->
|
697
|
<div class="control-group">
|
698
|
[% IF required.spatial == 'true' %]
|
699
|
<label class="control-label" for="geogdesc">*Geographic Description</label>
|
700
|
[% ELSE %]
|
701
|
<label class="control-label" for="geogdesc">Geographic Description</label>
|
702
|
[% END %]
|
703
|
<div class="controls">
|
704
|
<textarea class="span8" rows="3" cols="60" name="geogdesc">[% geogdesc %]</textarea>
|
705
|
<span class="help-block">General description of the geographic area in which the data were collected.
|
706
|
It can be a simple place name (e.g., Santa Barbara) or a fuller description.</span>
|
707
|
</div>
|
708
|
</div>
|
709
|
|
710
|
<div class="row-fluid">
|
711
|
<h4>Coordinates</h4>
|
712
|
|
713
|
[% IF show.siteList == 'true' %]
|
714
|
<div class="control-group">
|
715
|
<label class="control-label" for="useSiteCoord">Use Site?</label>
|
716
|
<div class="controls">
|
717
|
<input type="checkbox" name="useSiteCoord" [%useSiteCoord%]>
|
718
|
<span class="help-block">Use [% config.site %] coordinates. (This indicates that the data were
|
719
|
collected at the [% config.site %]. If you check this box, you don't need
|
720
|
to fill in the lat./long. fields below).</span>
|
721
|
</div>
|
722
|
</div>
|
723
|
[% END %]
|
724
|
|
725
|
<table>
|
726
|
<tr class="sectbody">
|
727
|
<td width="190"></td><td width="100" align="left"><span class="text-info">Degrees</span></td>
|
728
|
<td width="110" align="left"><span class="text-info">Minutes</span></td>
|
729
|
<td width="70" align="left"><span class="text-info">Seconds</span></td>
|
730
|
<td width="200"></td><td width="90"></td>
|
731
|
</tr>
|
732
|
|
733
|
<tr class="sectbody">
|
734
|
<td class="rightCol">
|
735
|
[% IF required.spatial == 'true' %]
|
736
|
<span class="text-info">*Latitude</span>
|
737
|
[% ELSE %]
|
738
|
<span class="text-info">Latitude</span>
|
739
|
[% END %]</td>
|
740
|
<td>
|
741
|
<input type="TEXT" name="latDeg1" value="[%latDeg1%]" size="3" maxlength="3"></td>
|
742
|
<td> <input type="TEXT" name="latMin1" value="[%latMin1%]" size="2" maxlength="2"></td>
|
743
|
<td> <input type="TEXT" name="latSec1" value="[%latSec1%]" size="2" maxlength="2"></td>
|
744
|
|
745
|
<td Align="left" colspan="2">
|
746
|
[% IF form == 're_entry' && hemisphLat1 == "N"%]
|
747
|
<label class="radio inline">
|
748
|
<input type="radio" name="hemisphLat1" value="N" CHECKED>
|
749
|
North
|
750
|
</label>
|
751
|
[%ELSE%]
|
752
|
<label class="radio inline">
|
753
|
<input type="radio" name="hemisphLat1" value="N">
|
754
|
North
|
755
|
</label>
|
756
|
[%END%]
|
757
|
[% IF form == 're_entry' && hemisphLat1 == "S"%]
|
758
|
<label class="radio inline">
|
759
|
<input type="radio" name="hemisphLat1" value="S" CHECKED>
|
760
|
South
|
761
|
</label>
|
762
|
[%ELSE%]
|
763
|
<label class="radio inline">
|
764
|
<input type="radio" name="hemisphLat1" value="S">
|
765
|
South
|
766
|
</label>
|
767
|
[%END%]
|
768
|
</td>
|
769
|
</tr>
|
770
|
|
771
|
<tr class="sectbody">
|
772
|
<td class="rightCol">
|
773
|
[% IF required.spatial == 'true' %]
|
774
|
<span class="text-info">*Longitude</span>
|
775
|
[% ELSE %]
|
776
|
<span class="text-info">Longitude</span>
|
777
|
[% END %]</td>
|
778
|
|
779
|
<td> <input type="TEXT" name="longDeg1" value="[%longDeg1%]" size="3" maxlength="3"></td>
|
780
|
<td> <input type="TEXT" name="longMin1" value="[%longMin1%]" size="2" maxlength="2"></td>
|
781
|
<td> <input type="TEXT" name="longSec1" value="[%longSec1%]" size="2" maxlength="2"></td>
|
782
|
|
783
|
|
784
|
<td align="left" colspan="2">
|
785
|
[% IF form == 're_entry' && hemisphLong1 == "W"%]
|
786
|
<label class="radio inline">
|
787
|
<input type="radio" name="hemisphLong1" value="W" CHECKED>
|
788
|
West
|
789
|
</label>
|
790
|
[%ELSE%]
|
791
|
<label class="radio inline">
|
792
|
<input type="radio" name="hemisphLong1" value="W">
|
793
|
West
|
794
|
</label>
|
795
|
[%END%]
|
796
|
[% IF form == 're_entry' && hemisphLong1 == "E"%]
|
797
|
<label class="radio inline">
|
798
|
<input type="radio" name="hemisphLong1" value="E" CHECKED>
|
799
|
East
|
800
|
</label>
|
801
|
[%ELSE%]
|
802
|
<label class="radio inline">
|
803
|
<input type="radio" name="hemisphLong1" value="E">
|
804
|
East
|
805
|
</label>
|
806
|
[%END%]
|
807
|
</td>
|
808
|
</tr>
|
809
|
|
810
|
|
811
|
<tr class="sectbody"><td><td colspan="4" align="left"><span class="regtext">If only this first lat/long pair is entered, this indicates a point location. If both lat/long pairs are entered, then this first pair represents the northwest corner of a bounding box.</span>
|
812
|
</td><td></td></tr>
|
813
|
|
814
|
<tr class="sectbody">
|
815
|
<td class="rightCol"><span class="text-info">Latitude</span></td>
|
816
|
<td ><input type="TEXT" name="latDeg2" value="[%latDeg2%]" size="3" maxlength="3"></td>
|
817
|
<td><input type="TEXT" name="latMin2" value="[%latMin2%]" size="2" maxlength="2"></td>
|
818
|
<td><input type="TEXT" name="latSec2" value="[%latSec2%]" size="2" maxlength="2"></td>
|
819
|
|
820
|
<td align="left" colspan="2">
|
821
|
[% IF form == 're_entry' && hemisphLat2 == "N"%]
|
822
|
<label class="radio inline">
|
823
|
<input type="radio" name="hemisphLat2" value="N" CHECKED>
|
824
|
North
|
825
|
</label>
|
826
|
[%ELSE%]
|
827
|
<label class="radio inline">
|
828
|
<input type="radio" name="hemisphLat2" value="N">
|
829
|
North
|
830
|
</label>
|
831
|
[%END%]
|
832
|
[% IF form == 're_entry' && hemisphLat2 == "S"%]
|
833
|
<label class="radio inline">
|
834
|
<input type="radio" name="hemisphLat2" value="S" CHECKED>
|
835
|
South
|
836
|
</label>
|
837
|
[%ELSE%]
|
838
|
<label class="radio inline">
|
839
|
<input type="radio" name="hemisphLat2" value="S">
|
840
|
South
|
841
|
</label>
|
842
|
[%END%]
|
843
|
</td>
|
844
|
</tr>
|
845
|
|
846
|
<tr class="sectbody"><td class="rightCol"><span class="text-info">Longitude</span></td>
|
847
|
<td> <input type="TEXT" name="longDeg2" value="[%longDeg2%]" size="3" maxlength="3"></td>
|
848
|
<td> <input type="TEXT" name="longMin2" value="[%longMin2%]" size="2" maxlength="2"></td>
|
849
|
<td> <input type="TEXT" name="longSec2" value="[%longSec2%]" size="2" maxlength="2"></td>
|
850
|
<td align="left" colspan="2">
|
851
|
|
852
|
[% IF form == 're_entry' && hemisphLong2 == "W"%]
|
853
|
<label class="radio inline">
|
854
|
<input type="radio" name="hemisphLong2" value="W" CHECKED>
|
855
|
West
|
856
|
</label
|
857
|
[%ELSE%]
|
858
|
<label class="radio inline">
|
859
|
<input type="radio" name="hemisphLong2" value="W">
|
860
|
West
|
861
|
</label>
|
862
|
[%END%]
|
863
|
[% IF form == 're_entry' && hemisphLong2 == "E"%]
|
864
|
<label class="radio inline">
|
865
|
<input type="radio" name="hemisphLong2" value="E" CHECKED>
|
866
|
East
|
867
|
</label>
|
868
|
[%ELSE%]
|
869
|
<label class="radio inline">
|
870
|
<input type="radio" name="hemisphLong2" value="E">
|
871
|
East
|
872
|
</label>
|
873
|
[%END%]
|
874
|
</td>
|
875
|
</tr>
|
876
|
<tr class="sectbody"><td></td>
|
877
|
<td align="left" colspan="4"><span class="regtext">
|
878
|
If entered, this lat/long pair represents the southeast corner of a bounding box.</span>
|
879
|
</td><td></td>
|
880
|
</tr>
|
881
|
</table>
|
882
|
|
883
|
</div>
|
884
|
|
885
|
</div>
|
886
|
</div>
|
887
|
|
888
|
[% END %]
|
889
|
|
890
|
|
891
|
[% IF modules.taxonomic == 'true' %]
|
892
|
|
893
|
<!-- TAXONOMIC -->
|
894
|
<div class="accordion-heading">
|
895
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTaxonomic">
|
896
|
Taxonomic Coverage
|
897
|
</a>
|
898
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#TaxonomicCoverage"><i class="icon-question-sign"></i></a>
|
899
|
</div>
|
900
|
<div id="collapseTaxonomic" class="accordion-body collapse in">
|
901
|
<div class="accordion-inner">
|
902
|
<!-- the INPUT -->
|
903
|
<div class="control-group">
|
904
|
<label class="control-label" for="taxonRank">Taxonomic Rank</label>
|
905
|
<div class="controls">
|
906
|
<input name="taxonRank" id="taxonRank">
|
907
|
<span class="help-block">(e.g., Species)</span>
|
908
|
</div>
|
909
|
</div>
|
910
|
<div class="control-group">
|
911
|
<label class="control-label" for="taxonName">Taxonomic Name</label>
|
912
|
<div class="controls">
|
913
|
<input name="taxonName" id="taxonName">
|
914
|
<span class="help-block">(e.g., <i>Ursus arctos</i>)</span>
|
915
|
</div>
|
916
|
</div>
|
917
|
<div class="control-group">
|
918
|
<label class="control-label" for="addTaxonButton"></label>
|
919
|
<div class="controls">
|
920
|
<input type="button" class="btn" value="Add Taxon" onClick="addTaxon()">
|
921
|
</div>
|
922
|
</div>
|
923
|
|
924
|
<div class="control-group">
|
925
|
<label class="control-label" for="taxonTable"></label>
|
926
|
<div class="controls">
|
927
|
<table>
|
928
|
<tr id="addTaxon">
|
929
|
<td colspan="6">
|
930
|
</tr>
|
931
|
[% numTaxa = 0 %]
|
932
|
[% IF taxaCount %]
|
933
|
[% numTaxa = taxaCount %]
|
934
|
<tr class="sectbody" id="taxonHRRow">
|
935
|
<td colSpan="6">
|
936
|
<hr width = "85%"/>
|
937
|
</td>
|
938
|
</tr>
|
939
|
[% END %]
|
940
|
<input type="hidden" name="taxaCount" value="[%numTaxa%]" id="taxaCount">
|
941
|
|
942
|
[% cnt = 1 %]
|
943
|
[% WHILE cnt <= numTaxa%]
|
944
|
<tr class="sectbody">
|
945
|
<td class="rightCol">
|
946
|
<a style="cursor:pointer">
|
947
|
<i onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveUpRow(event)"
|
948
|
class="icon-arrow-up"
|
949
|
alt="Move Up"></i>
|
950
|
</a>
|
951
|
<a style="cursor:pointer">
|
952
|
<i onClick="cleanTextNodes('taxonHRRow', 'addtaxarow');moveDownRow(event, 'addtaxarow')"
|
953
|
class="icon-arrow-down"
|
954
|
alt="Move Down"></i>
|
955
|
</a>
|
956
|
<a style="cursor:pointer">
|
957
|
<i class="icon-remove-sign"
|
958
|
onClick="delRow(event)" alt="Delete"></i>
|
959
|
</a>
|
960
|
</td>
|
961
|
[% SET rank = "taxonRankName${cnt}" %]
|
962
|
[% SET name = "taxonRankValue${cnt}" %]
|
963
|
<td colspan="5" align ="left" style="cursor:pointer"
|
964
|
onClick="taxonEditRow(event, 0, '[%$rank%]', '[%$name%]')">
|
965
|
Rank: [%$rank%], Name: [%$name%]
|
966
|
<input name="taxonName" type="hidden" value="[%$name%]"/>
|
967
|
<input name="taxonRank" type="hidden" value="[%$rank%]"/>
|
968
|
</tr>
|
969
|
[% cnt = cnt + 1 %]
|
970
|
[% END %]
|
971
|
|
972
|
<tr class="sectbody" id="addtaxarow">
|
973
|
<td class="bordertop" valign="top" align="right"></td>
|
974
|
<td class="bordertop" align="left" colspan="5"></td>
|
975
|
</tr>
|
976
|
|
977
|
</table>
|
978
|
</div>
|
979
|
</div>
|
980
|
|
981
|
<div class="control-group">
|
982
|
<label class="control-label" for="taxaAuth">Taxonomic Reference</label>
|
983
|
<div class="controls">
|
984
|
<textarea class="span8" rows="3" cols="30" name="taxaAuth">[% taxaAuth %]</textarea>
|
985
|
<span class="help-block">List the source(s) used for identifying and naming taxa (e.g., name of a field guide, key, or nomenclature revision).</span>
|
986
|
</div>
|
987
|
</div>
|
988
|
|
989
|
</div>
|
990
|
</div>
|
991
|
|
992
|
[% END %]
|
993
|
|
994
|
[% IF modules.method == 'true' %]
|
995
|
|
996
|
<!-- METHODS -->
|
997
|
<div class="accordion-heading">
|
998
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseMethods">
|
999
|
Data Collection Methods
|
1000
|
</a>
|
1001
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#Methods"><i class="icon-question-sign"></i></a>
|
1002
|
</div>
|
1003
|
<div id="collapseMethods" class="accordion-body collapse in">
|
1004
|
<div class="accordion-inner">
|
1005
|
<!-- the INPUT -->
|
1006
|
<div class="control-group">
|
1007
|
<label class="control-label" for="methodTitle">Method Title</label>
|
1008
|
<div class="controls">
|
1009
|
<input type="text" name="methodTitle" value="[%methodTitle%]">
|
1010
|
</div>
|
1011
|
</div>
|
1012
|
<div class="control-group">
|
1013
|
<label class="control-label" for="methodPara">Method Description</label>
|
1014
|
<div class="controls">
|
1015
|
<table width="100%">
|
1016
|
[% IF !methodPara %]
|
1017
|
<tr><td><textarea class="span8" rows="6" cols="60" name="methodPara"></textarea></td></tr>
|
1018
|
[% END %]
|
1019
|
[% FOREACH para = methodPara %]
|
1020
|
<tr><td><textarea class="span8" rows="6" cols="60" name="methodPara">[% para %]</textarea></td></tr>
|
1021
|
[% END %]
|
1022
|
<tr class="sectbody" id="addparabutton1">
|
1023
|
<td align="left">
|
1024
|
<input type="button" class="btn" value="Add Paragraph to Method Description" onClick="addParagraph()">
|
1025
|
</td>
|
1026
|
</tr>
|
1027
|
</table>
|
1028
|
</div>
|
1029
|
</div>
|
1030
|
|
1031
|
<div class="control-group">
|
1032
|
<label class="control-label" for="studyExtentDescription">Extent of Study Description</label>
|
1033
|
<div class="controls">
|
1034
|
<textarea class="span8" rows="6" cols="60" name="studyExtentDescription">[% studyExtentDescription %]</textarea>
|
1035
|
<span class="help-block">
|
1036
|
Describe the temporal, spatial and taxonomic extent of the study,
|
1037
|
supplementing the information on coverage provided above.
|
1038
|
For example, if the temporal coverage of the data is 1990-2000, you
|
1039
|
might provide details about any years that were missed or the months
|
1040
|
in which sampling occurred.</span>
|
1041
|
</div>
|
1042
|
</div>
|
1043
|
|
1044
|
<div class="control-group">
|
1045
|
<label class="control-label" for="samplingDescription">Sampling Description</label>
|
1046
|
<div class="controls">
|
1047
|
<textarea class="span8" rows="6" cols="60" name="samplingDescription">[% samplingDescription %]</textarea>
|
1048
|
<span class="help-block">
|
1049
|
Describe the sampling design of the study. For example, you might
|
1050
|
describe the way in which treatments were assigned to sampling units.</span>
|
1051
|
</div>
|
1052
|
</div>
|
1053
|
|
1054
|
|
1055
|
</div>
|
1056
|
</div>
|
1057
|
|
1058
|
[% END %]
|
1059
|
|
1060
|
|
1061
|
<!-- DATA SET CONTACT -->
|
1062
|
<div class="accordion-heading">
|
1063
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseContact">
|
1064
|
Data Set Contact
|
1065
|
</a>
|
1066
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DataSetContactAddress"><i class="icon-question-sign"></i></a>
|
1067
|
</div>
|
1068
|
<div id="collapseContact" class="accordion-body collapse in">
|
1069
|
<div class="accordion-inner">
|
1070
|
<!-- the INPUT -->
|
1071
|
<label class="checkbox inline" for="useOrigAddress">
|
1072
|
<input type="CHECKBOX" name="useOrigAddress" onClick="copyContact()" id="copyCheckBox" [%useOrigAddress%]>
|
1073
|
Use the same name and address as the <em>PRINCIPAL DATA SET OWNER</em> above.
|
1074
|
</label>
|
1075
|
|
1076
|
<div class="control-group">
|
1077
|
<label class="control-label" for="origNamefirstContact">*First Name</label>
|
1078
|
<div class="controls">
|
1079
|
<input type="text" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]">
|
1080
|
</div>
|
1081
|
</div>
|
1082
|
<div class="control-group">
|
1083
|
<label class="control-label" for="origNamelastContact">*Last Name</label>
|
1084
|
<div class="controls">
|
1085
|
<input type="text" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]">
|
1086
|
</div>
|
1087
|
</div>
|
1088
|
<div class="control-group">
|
1089
|
<label class="control-label" for="origNameOrgContact">Organization Name</label>
|
1090
|
<div class="controls">
|
1091
|
<input type="text" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]">
|
1092
|
</div>
|
1093
|
</div>
|
1094
|
<div class="control-group">
|
1095
|
[% IF required.contactEmailAddress == 'true' %]
|
1096
|
<label class="control-label" for="origEmailContact">*Email</label>
|
1097
|
[% ELSE %]
|
1098
|
<label class="control-label" for="origEmailContact">Email</label>
|
1099
|
[% END %]
|
1100
|
<div class="controls">
|
1101
|
<input type="text" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]">
|
1102
|
</div>
|
1103
|
</div>
|
1104
|
<div class="control-group">
|
1105
|
<label class="control-label" for="origPhoneContact">Phone</label>
|
1106
|
<div class="controls">
|
1107
|
<input type="text" name="origPhoneContact" id="contactPhone" value="[%origPhoneContact%]">
|
1108
|
</div>
|
1109
|
</div>
|
1110
|
<div class="control-group">
|
1111
|
<label class="control-label" for="origFAXContact">Fax</label>
|
1112
|
<div class="controls">
|
1113
|
<input type="text" name="origFAXContact" id="contactFAX" value="[%origFAXContact%]">
|
1114
|
</div>
|
1115
|
</div>
|
1116
|
<div class="control-group">
|
1117
|
<label class="control-label" for="origDeliveryContact">Street Address</label>
|
1118
|
<div class="controls">
|
1119
|
<textarea class="span8" id="contactDelivery" name="origDeliveryContact">[%origDeliveryContact%]</textarea>
|
1120
|
<span class="help-block">(number, street, unit, etc.; comma-separated)</span>
|
1121
|
</div>
|
1122
|
</div>
|
1123
|
<div class="control-group">
|
1124
|
<label class="control-label" for="origCityContact">City</label>
|
1125
|
<div class="controls">
|
1126
|
<input type="text" name="origCityContact" id="contactCity" value="[%origCityContact%]">
|
1127
|
</div>
|
1128
|
</div>
|
1129
|
<div class="control-group">
|
1130
|
<label class="control-label" for="origStateContact">U.S. State or Territory</label>
|
1131
|
<div class="controls">
|
1132
|
<select name="origStateContact" id="contactState">
|
1133
|
[% IF form == 're_entry' %]
|
1134
|
<option selected>[%origStateContact%]</option>
|
1135
|
[% ELSE %]
|
1136
|
<option>Select state or territory here.</option>
|
1137
|
[% END %]
|
1138
|
<option>Alabama</option>
|
1139
|
<option>Alaska</option>
|
1140
|
<option>American Samoa</option>
|
1141
|
<option>Arizona</option>
|
1142
|
<option>Arkansas</option>
|
1143
|
<option>California</option>
|
1144
|
<option>Colorado</option>
|
1145
|
<option>Connecticut</option>
|
1146
|
<option>Delaware</option>
|
1147
|
<option>District of Columbia</option>
|
1148
|
<option>Florida</option>
|
1149
|
<option>Georgia</option>
|
1150
|
<option>Guam</option>
|
1151
|
<option>Hawaii</option>
|
1152
|
<option>Idaho</option>
|
1153
|
<option>Illinois</option>
|
1154
|
<option>Indiana</option>
|
1155
|
<option>Iowa</option>
|
1156
|
<option>Kansas</option>
|
1157
|
<option>Kentucky</option>
|
1158
|
<option>Louisiana</option>
|
1159
|
<option>Maine</option>
|
1160
|
<option>Maryland</option>
|
1161
|
<option>Massachusetts</option>
|
1162
|
<option>Michigan</option>
|
1163
|
<option>Minnesota</option>
|
1164
|
<option>Mississippi</option>
|
1165
|
<option>Missouri</option>
|
1166
|
<option>Montana</option>
|
1167
|
<option>Nebraska</option>
|
1168
|
<option>Nevada</option>
|
1169
|
<option>New Hampshire</option>
|
1170
|
<option>New Jersey</option>
|
1171
|
<option>New Mexico</option>
|
1172
|
<option>New York</option>
|
1173
|
<option>North Carolina</option>
|
1174
|
<option>North Dakota</option>
|
1175
|
<option>Northern Mariana Islands</option>
|
1176
|
<option>Ohio</option>
|
1177
|
<option>Oklahoma</option>
|
1178
|
<option>Oregon</option>
|
1179
|
<option>Pennsylvania</option>
|
1180
|
<option>Puerto Rico</option>
|
1181
|
<option>Rhode Island</option>
|
1182
|
<option>South Carolina</option>
|
1183
|
<option>South Dakota</option>
|
1184
|
<option>Tennessee</option>
|
1185
|
<option>Texas</option>
|
1186
|
<option>Utah</option>
|
1187
|
<option>Vermont</option>
|
1188
|
<option>Virgin Islands</option>
|
1189
|
<option>Virginia</option>
|
1190
|
<option>Washington</option>
|
1191
|
<option>West Virginia</option>
|
1192
|
<option>Wisconsin</option>
|
1193
|
<option>Wyoming</option>
|
1194
|
</select>
|
1195
|
</div>
|
1196
|
</div>
|
1197
|
<div class="control-group">
|
1198
|
<label class="control-label" for="origStateOtherContact">Other State/Province</label>
|
1199
|
<div class="controls">
|
1200
|
<input type="text" name="origStateOtherContact" id="contactStateOther" value="[%origStateOtherContact%]">
|
1201
|
</div>
|
1202
|
</div>
|
1203
|
<div class="control-group">
|
1204
|
<label class="control-label" for="origZIPContact">Postal Code</label>
|
1205
|
<div class="controls">
|
1206
|
<input type="text" name="origZIPContact" id="contactZip" value="[%origZIPContact%]">
|
1207
|
</div>
|
1208
|
</div>
|
1209
|
<div class="control-group">
|
1210
|
<label class="control-label" for="origCountryContact">Country</label>
|
1211
|
<div class="controls">
|
1212
|
<input type="text" name="origCountryContact" id="contactCountry" value="[%origCountryContact%]">
|
1213
|
</div>
|
1214
|
</div>
|
1215
|
|
1216
|
</div>
|
1217
|
</div>
|
1218
|
|
1219
|
<!-- DISTRIBUTION INFO -->
|
1220
|
<div class="accordion-heading">
|
1221
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseDistribution">
|
1222
|
Distribution Information
|
1223
|
</a>
|
1224
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DistributionIinformation"><i class="icon-question-sign"></i></a>
|
1225
|
</div>
|
1226
|
<div id="collapseDistribution" class="accordion-body collapse in">
|
1227
|
<div class="accordion-inner">
|
1228
|
<!-- the INPUT -->
|
1229
|
<!--
|
1230
|
<div class="control-group">
|
1231
|
<label class="control-label" for="identifier">Data Set Identifier</label>
|
1232
|
<div class="controls">
|
1233
|
<input type="text" name="identifier" value="[%identifier%]">
|
1234
|
<span class="help-block">
|
1235
|
If available, please enter a name or number that uniquely identifies and
|
1236
|
describes concisely the data set. Alternatively, provide other pertinent
|
1237
|
information that can identify and locate the data set within your site's
|
1238
|
data management system.</span>
|
1239
|
</div>
|
1240
|
</div>
|
1241
|
-->
|
1242
|
|
1243
|
<!-- BEGIN BRL MULTIPLE ALTERNATE IDENTIFIERS -->
|
1244
|
<div class="control-group">
|
1245
|
<label class="control-label" for="identifier">Alternate Identifier</label>
|
1246
|
<div class="controls">
|
1247
|
<input name="identifier" id="identifier">
|
1248
|
<span class="help-block">
|
1249
|
If available, please enter a name or number that uniquely identifies and
|
1250
|
describes concisely the data set. Alternatively, provide other pertinent
|
1251
|
information that can identify and locate the data set within your site's
|
1252
|
data management system.</span>
|
1253
|
</div>
|
1254
|
</div>
|
1255
|
<div class="control-group">
|
1256
|
<label class="control-label" for="addIdentifierButton"></label>
|
1257
|
<div class="controls">
|
1258
|
<input type="button" class="btn" value="Add Identifier" onClick="addIdentifier()">
|
1259
|
</div>
|
1260
|
</div>
|
1261
|
|
1262
|
<div class="control-group">
|
1263
|
<label class="control-label" for="identifierTable"></label>
|
1264
|
<div class="controls">
|
1265
|
<table>
|
1266
|
<tr id="addIdentifier">
|
1267
|
<td colspan="6">
|
1268
|
</tr>
|
1269
|
[% numIdentifier = 0 %]
|
1270
|
[% IF identifierCount %]
|
1271
|
[% numIdentifier = identifierCount %]
|
1272
|
<tr class="sectbody" id="identifierHRRow">
|
1273
|
<td colSpan="6">
|
1274
|
<hr width = "85%"/>
|
1275
|
</td>
|
1276
|
</tr>
|
1277
|
[% END %]
|
1278
|
<input type="hidden" name="identifierCount" value="[%numIdentifier%]" id="identifierCount">
|
1279
|
|
1280
|
[% cnt = 1 %]
|
1281
|
[% WHILE cnt <= numIdentifier%]
|
1282
|
<tr class="sectbody">
|
1283
|
<td class="rightCol">
|
1284
|
<a style="cursor:pointer">
|
1285
|
<i onClick="cleanTextNodes('identifierHRRow', 'addidentifierrow');moveUpRow(event)"
|
1286
|
class="icon-arrow-up"
|
1287
|
alt="Move Up"></i>
|
1288
|
</a>
|
1289
|
<a style="cursor:pointer">
|
1290
|
<i onClick="cleanTextNodes('identifierHRRow', 'addidentifierrow');moveDownRow(event, 'addidentifierrow')"
|
1291
|
class="icon-arrow-down"
|
1292
|
alt="Move Down"></i>
|
1293
|
</a>
|
1294
|
<a style="cursor:pointer">
|
1295
|
<i class="icon-remove-sign"
|
1296
|
onClick="delRow(event)" alt="Delete"></i>
|
1297
|
</a>
|
1298
|
</td>
|
1299
|
[% SET id = "identifierValue${cnt}" %]
|
1300
|
<td colspan="5" align ="left" style="cursor:pointer"
|
1301
|
onClick="identifierEditRow(event, 0, '[%$id%]')">
|
1302
|
Identifier: [%$id%]
|
1303
|
<input name="identifier" type="hidden" value="[%$id%]"/>
|
1304
|
</tr>
|
1305
|
[% cnt = cnt + 1 %]
|
1306
|
[% END %]
|
1307
|
|
1308
|
<tr class="sectbody" id="addidentifierrow">
|
1309
|
<td class="bordertop" valign="top" align="right"></td>
|
1310
|
<td class="bordertop" align="left" colspan="5"></td>
|
1311
|
</tr>
|
1312
|
|
1313
|
</table>
|
1314
|
</div>
|
1315
|
</div>
|
1316
|
|
1317
|
<!-- END BRL ALTERNATE IDENTIFIERS --->
|
1318
|
|
1319
|
|
1320
|
<div class="control-group">
|
1321
|
<label class="control-label" for="dataMedium">*Data Medium</label>
|
1322
|
<div class="controls">
|
1323
|
[% IF form == 're_entry' && (dataMedium == "digital " || dataMedium == "digital") %]
|
1324
|
<label class="radio">
|
1325
|
<input type="radio" name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital" CHECKED />
|
1326
|
Digital
|
1327
|
</label>
|
1328
|
[%ELSE%]
|
1329
|
<label class="radio">
|
1330
|
<input type="radio" name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital" />
|
1331
|
Digital
|
1332
|
</label>
|
1333
|
[% END %]
|
1334
|
[% IF form == 're_entry' && (dataMedium == "hardcopy " || dataMedium == "hardcopy") %]
|
1335
|
<label class="radio">
|
1336
|
<input type="radio" name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy" CHECKED />
|
1337
|
Hardcopy
|
1338
|
</label>
|
1339
|
[%ELSE%]
|
1340
|
<label class="radio">
|
1341
|
<input type="radio" name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy" />
|
1342
|
Hardcopy
|
1343
|
</label>
|
1344
|
[% END %]
|
1345
|
[% IF form == 're_entry' && dataMedium == "other" %]
|
1346
|
<label class="radio">
|
1347
|
<input type="radio" name="dataMedium" value="other" onClick="handleOther(1, 'otherDM')" CHECKED />
|
1348
|
Other
|
1349
|
</label>
|
1350
|
[%ELSE%]
|
1351
|
<label class="radio">
|
1352
|
<input type="radio" name="dataMedium" onClick="handleOther(1, 'otherDM')" value="other" />
|
1353
|
Other
|
1354
|
</label>
|
1355
|
[% END %]
|
1356
|
<input type="text" name="dataMediumOther" value="[%dataMediumOther%]" id="otherDM"></input>
|
1357
|
</div>
|
1358
|
</div>
|
1359
|
|
1360
|
<div class="control-group">
|
1361
|
<label class="control-label" for="useConstraints">*Usage Rights</label>
|
1362
|
<div class="controls">
|
1363
|
<!-- Use Creative Commons license options -->
|
1364
|
[% IF show.cclicenses == 'true' %]
|
1365
|
<!-- Add CC-0 option -->
|
1366
|
[% IF form == 're_entry' && useConstraints == 'Public Domain (CC-0)' %]
|
1367
|
<label class="radio">
|
1368
|
<input type="radio" name="useConstraints" value="Public Domain (CC-0)" CHECKED />
|
1369
|
Creative Commons Public Domain
|
1370
|
<div class="btn btn-mini popover-target"
|
1371
|
data-original-title="Public Domain (CC-0)"
|
1372
|
data-toggle="popover"
|
1373
|
data-trigger="click"
|
1374
|
data-placement="top"
|
1375
|
data-html="true"
|
1376
|
data-content="By dedicating this work to the public domain, you waive your interest in your work and place the work as completely as possible in the public domain so others may freely use the work without restriction under copyright or database law. Attribution for your work is still expected according to norms in your research field. For details, see the <a href='https://creativecommons.org/publicdomain/zero/1.0/'>Creative Commons Public Domain Dedication</a>."
|
1377
|
title="">CC-0 1.0</div>
|
1378
|
</label>
|
1379
|
|
1380
|
[% ELSE %]
|
1381
|
<label class="radio">
|
1382
|
<input type="radio" name="useConstraints" value="Public Domain (CC-0)" />
|
1383
|
Creative Commons Public Domain
|
1384
|
<div class="btn btn-mini popover-target"
|
1385
|
data-original-title="Public Domain (CC-0)"
|
1386
|
data-toggle="popover"
|
1387
|
data-trigger="click"
|
1388
|
data-placement="top"
|
1389
|
data-html="true"
|
1390
|
data-content="By dedicating this work to the public domain, you waive your interest in your work and place the work as completely as possible in the public domain so others may freely use the work without restriction under copyright or database law. Attribution for your work is still expected according to norms in your research field. For details, see the <a href='https://creativecommons.org/publicdomain/zero/1.0/'>Creative Commons Public Domain Dedication</a>."
|
1391
|
title="">CC-0 1.0</div>
|
1392
|
</label>
|
1393
|
|
1394
|
[% END %]
|
1395
|
|
1396
|
<!-- Add CC-BY option -->
|
1397
|
[% IF form == 're_entry' && useConstraints == 'Attribution (CC-BY)' %]
|
1398
|
<label class="radio">
|
1399
|
<input type="radio" name="useConstraints" value="Attribution (CC-BY)" CHECKED />
|
1400
|
Creative Commons Attribution
|
1401
|
<div class="btn btn-mini popover-target"
|
1402
|
data-original-title="Attribution (CC-BY)"
|
1403
|
data-toggle="popover"
|
1404
|
data-trigger="click"
|
1405
|
data-placement="top"
|
1406
|
data-html="true"
|
1407
|
data-content="By licensing this work, you let others copy, distribute, display, and perform your copyrighted work, and derivative works based upon it, but only if they give you appropriate credit. For details, see the <a href='https://creativecommons.org/publicdomain/zero/1.0/'>Creative Commons Attribution 4.0 License</a>."
|
1408
|
title="">CC-BY 4.0</div>
|
1409
|
</label>
|
1410
|
|
1411
|
[% ELSE %]
|
1412
|
<label class="radio">
|
1413
|
<input type="radio" name="useConstraints" value="Attribution (CC-BY)" />
|
1414
|
Creative Commons Attribution
|
1415
|
<div class="btn btn-mini popover-target"
|
1416
|
data-original-title="Attribution (CC-BY)"
|
1417
|
data-toggle="popover"
|
1418
|
data-trigger="click"
|
1419
|
data-placement="top"
|
1420
|
data-html="true"
|
1421
|
data-content="By licensing this work, you let others copy, distribute, display, and perform your copyrighted work, and derivative works based upon it, but only if they give you appropriate credit. For details, see the <a href='https://creativecommons.org/publicdomain/zero/1.0/'>Creative Commons Attribution 4.0 License</a>."
|
1422
|
title="">CC-BY 4.0</div>
|
1423
|
</label>
|
1424
|
|
1425
|
[% END %]
|
1426
|
|
1427
|
<!-- Or use custom license options -->
|
1428
|
[% ELSE %]
|
1429
|
[% IF form == 're_entry' && useConstraints == "no restrictions" %]
|
1430
|
<label class="radio">
|
1431
|
<input type="radio" name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions" CHECKED />
|
1432
|
No restrictions
|
1433
|
</label>
|
1434
|
[%ELSE%]
|
1435
|
<label class="radio">
|
1436
|
<input type="radio" name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions">
|
1437
|
No restrictions
|
1438
|
</label>
|
1439
|
[%END%]
|
1440
|
|
1441
|
[% IF form == 're_entry' && useConstraints == "Obtain permission from data set owner(s)" %]
|
1442
|
<label class="radio">
|
1443
|
<input type="radio" name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" CHECKED />
|
1444
|
Obtain permission from data set owner(s)
|
1445
|
</label>
|
1446
|
[%ELSE%]
|
1447
|
<label class="radio">
|
1448
|
<input type="radio" name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" />
|
1449
|
Obtain permission from data set owner(s)
|
1450
|
</label>
|
1451
|
[%END%]
|
1452
|
|
1453
|
[% IF form == 're_entry' && useConstraints == "other" %]
|
1454
|
<label class="radio">
|
1455
|
<input type="radio" name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" CHECKED />
|
1456
|
Other
|
1457
|
</label>
|
1458
|
[%ELSE%]
|
1459
|
<label class="radio">
|
1460
|
<input type="radio" name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" />
|
1461
|
Other
|
1462
|
</label>
|
1463
|
[%END%]
|
1464
|
<input type="text" name="useConstraintsOther" id="otherUC" value="[%useConstraintsOther%]" size="49" />
|
1465
|
[% END %]
|
1466
|
</div>
|
1467
|
</div>
|
1468
|
|
1469
|
<div class="control-group">
|
1470
|
<label class="control-label" for="url">URL</label>
|
1471
|
<div class="controls">
|
1472
|
<input type="text" name="url" value="[%url%]">
|
1473
|
</div>
|
1474
|
</div>
|
1475
|
<div class="control-group">
|
1476
|
<label class="control-label" for="addComments">Additional Information</label>
|
1477
|
<div class="controls">
|
1478
|
<textarea class="span8" rows="6" cols="60" name="addComments">[%addComments%]</textarea>
|
1479
|
</div>
|
1480
|
</div>
|
1481
|
|
1482
|
</div>
|
1483
|
</div>
|
1484
|
|
1485
|
|
1486
|
[% IF modules.upload == 'true' %]
|
1487
|
|
1488
|
<!-- DATA UPLOAD -->
|
1489
|
<div class="accordion-heading">
|
1490
|
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseUploadData">
|
1491
|
Upload Data
|
1492
|
</a>
|
1493
|
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#UploadData"><i class="icon-question-sign"></i></a>
|
1494
|
</div>
|
1495
|
<div id="collapseUploadData" class="accordion-body collapse in">
|
1496
|
<div class="accordion-inner">
|
1497
|
|
1498
|
<!-- the INPUT -->
|
1499
|
<table class="tables" cellpadding="5" cellspacing="0" id="uploadTable">
|
1500
|
<tr class="sectbody">
|
1501
|
<td class="rightCol"><span class="text-info">Upload Data File</span></td>
|
1502
|
<td colspan="5">
|
1503
|
<input class="btn" type="file" id="file_element" name="file_1" class="longwidth">
|
1504
|
|
1505
|
[% IF form == 're_entry' && upCount %]
|
1506
|
[% cnt = 0 %]
|
1507
|
[% WHILE cnt < upCount %]
|
1508
|
[% SET fileSum = "upload_${cnt}" %]
|
1509
|
[% SET fileName = "uploadname_${cnt}" %]
|
1510
|
[% SET fileType = "uploadtype_${cnt}" %]
|
1511
|
[% SET filePerm = "uploadperm_${cnt}" %]
|
1512
|
[% IF fileSum %]
|
1513
|
<input type="hidden" name="[%fileSum%]" value="[% $fileSum %]">
|
1514
|
<input type="hidden" name="[%fileName%]" value="[% $fileName %]">
|
1515
|
<input type="hidden" name="[%fileType%]" value="[% $fileType %]">
|
1516
|
[% END %]
|
1517
|
[% cnt = cnt + 1 %]
|
1518
|
[% END %]
|
1519
|
<input type="hidden" id="upCount" name="upCount" value="[%upCount%]">
|
1520
|
[% END %]
|
1521
|
|
1522
|
<input type="hidden" id="fileCount" name="fileCount" value="[%fileCount%]">
|
1523
|
</td>
|
1524
|
</tr>
|
1525
|
<tr class="sectbody">
|
1526
|
<td class="rightCol" valign="top"><span class="text-info">Attached Files</span></td>
|
1527
|
<td colspan="5" class="regtext">
|
1528
|
[% IF !upCount %]
|
1529
|
<div id="file_comment">
|
1530
|
(<i>None currently attached</i>)
|
1531
|
</div>
|
1532
|
[% END %]
|
1533
|
<div id="files_list">
|
1534
|
[% IF form == 're_entry' && upCount %]
|
1535
|
[% cnt = 0 %]
|
1536
|
|
1537
|
[% WHILE cnt < upCount %]
|
1538
|
[% SET fileName = "uploadname_${cnt}" %]
|
1539
|
[% SET filePerm = "uploadperm_${cnt}" %]
|
1540
|
[% IF $filePerm == 'public' %]
|
1541
|
[% SET perm_a = "checked" %]
|
1542
|
[% SET perm_b = "" %]
|
1543
|
[% ELSE %]
|
1544
|
[% SET perm_a = "" %]
|
1545
|
[% SET perm_b = "checked" %]
|
1546
|
[% END %]
|
1547
|
[% IF fileName %]
|
1548
|
<div>
|
1549
|
[% $fileName %]
|
1550
|
<label class="radio inline">
|
1551
|
<input type="radio" name="[% filePerm %]" value="public" [% perm_a %]> Public
|
1552
|
</label>
|
1553
|
<label class="radio inline">
|
1554
|
<input type="radio" name="[% filePerm %]" value="private" [% perm_b %]> Private
|
1555
|
</label>
|
1556
|
<label class="text inline">
|
1557
|
<input type="button" class="btn" value="Delete" onclick="deleteFile(event, [%fileName%]);"/>
|
1558
|
</div>
|
1559
|
[% END %]
|
1560
|
|
1561
|
[% cnt = cnt + 1 %]
|
1562
|
[% END %]
|
1563
|
[% END %]
|
1564
|
</div>
|
1565
|
</td>
|
1566
|
</tr>
|
1567
|
</table>
|
1568
|
|
1569
|
<script language="JavaScript" type="text/JavaScript">
|
1570
|
var multi_selector = new MultiSelector( document.getElementById( 'files_list' ), 10);
|
1571
|
multi_selector.addElement( document.getElementById( 'file_element' ) );
|
1572
|
</script>
|
1573
|
|
1574
|
|
1575
|
</div>
|
1576
|
</div>
|
1577
|
|
1578
|
[% END %]
|
1579
|
|
1580
|
|
1581
|
</div>
|
1582
|
</div> <!-- end the accordinan -->
|
1583
|
|
1584
|
<input id="entryFormSubmit" name="submit" type="button" class="btn" onClick="sortInputTags();" value="Submit Data Set Description">
|
1585
|
</form>
|
1586
|
|
1587
|
</div> <!-- end the row -->
|
1588
|
|
1589
|
</div>
|
1590
|
|
1591
|
</article>
|