Revision 9780
Added by Chris Jones over 4 years ago
entryForm.tmpl | ||
---|---|---|
7 | 7 |
<script language="JavaScript" type="text/javascript"> |
8 | 8 |
// enable Bootstrap tooltip popovers for licensing choices |
9 | 9 |
$('.popover-target').popover(); |
10 |
$('#party-tooltip').popover('show'); |
|
10 | 11 |
</script> |
11 | 12 |
|
12 |
<!-- CONTENT SECTION |
|
13 |
======================================================================= --> |
|
13 |
<!-- CONTENT SECTION ======================================================================= --> |
|
14 | 14 |
<article id="RegistryEntryForm"> |
15 | 15 |
|
16 | 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">
|
|
17 |
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-remote="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide"> |
|
18 | 18 |
<div class="modal-header"> |
19 | 19 |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button> |
20 | 20 |
<h3 id="myModalLabel">Registry Guide</h3> |
... | ... | |
50 | 50 |
Use this form to edit a data package submitted earlier. |
51 | 51 |
</p> |
52 | 52 |
|
53 |
[%IF docid !=''%] |
|
53 |
[%IF docid !='' && cfg != 'metacatui' %]
|
|
54 | 54 |
<p> |
55 | 55 |
The ID of this data set is: <a href="[% metacatUrl %]?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a> |
56 | 56 |
</p> |
57 | 57 |
[%END%] |
58 | 58 |
|
59 | 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> |
|
60 |
<p> |
|
61 |
<a data-toggle="modal" data-target="#myModal" class="btn" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide" target="guide"> |
|
62 |
<i class="icon-info-sign"></i> |
|
63 |
Show Help Guide |
|
64 |
</a> |
|
65 |
</p> |
|
66 |
|
|
67 |
[%IF cfg != 'metacatui' %] |
|
68 |
<p> |
|
69 |
If you have any questions, comments or problems |
|
70 |
regarding this form, please contact the repository administrator at |
|
71 |
<a href="mailto:[% email.recipient %]">[% email.recipient %]</a> |
|
72 |
</p> |
|
73 |
[% END %] |
|
74 |
|
|
75 |
<p class="text-info">* Denotes a required field.</p> |
|
73 | 76 |
</div> |
74 | 77 |
|
75 | 78 |
<!-- the main form --> |
... | ... | |
82 | 85 |
|
83 | 86 |
<div class="accordion" id="entryFormAccordian"> |
84 | 87 |
<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 |
|
|
88 |
|
|
112 | 89 |
<!-- BASIC --> |
113 | 90 |
<div class="accordion-heading"> |
114 | 91 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseBasic" > |
115 | 92 |
Basic Information |
116 | 93 |
</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>
|
|
94 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#BasicInformation"><i class="icon-info-sign"></i></a>
|
|
118 | 95 |
</div> |
119 | 96 |
<div id="collapseBasic" class="accordion-body collapse in"> |
120 | 97 |
<div class="accordion-inner"> |
... | ... | |
171 | 148 |
|
172 | 149 |
[% IF show.organization == 'true' %] |
173 | 150 |
<div class="control-group"> |
174 |
<label class="control-label" for="site">*Organization</label>
|
|
151 |
<label class="control-label" for="site">Organization</label> |
|
175 | 152 |
<div class="controls"> |
176 | 153 |
<input type="text" name="site" value="[%site%]"> |
177 | 154 |
</div> |
... | ... | |
180 | 157 |
|
181 | 158 |
[% IF show.funding == 'true' %] |
182 | 159 |
<div id="funding-group" class="control-group"> |
183 |
<label class="control-label" for="site">Grant Number</label>
|
|
160 |
<label class="control-label" for="site">*Award Number</label>
|
|
184 | 161 |
<div class="controls"> |
185 |
<input type="text" id="funding" name="funding" value="[%funding%]"> |
|
162 |
<input type="text" id="funding-visible" value=""> |
|
163 |
<input type="hidden" id="funding" name="funding" value="[%funding%]"> |
|
164 |
<div class="input-help-msg subtle"></div> |
|
165 |
<table class="table table-striped table-bordered" id="funding-list"></table> |
|
186 | 166 |
</div> |
187 | 167 |
</div> |
188 | 168 |
[% END %] |
... | ... | |
190 | 170 |
</div> |
191 | 171 |
</div> |
192 | 172 |
|
193 |
<!-- PRINCIPAL DATA SET OWNER -->
|
|
173 |
<!-- ASSOCIATED PARTIES -->
|
|
194 | 174 |
<div class="accordion-heading"> |
195 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseOwner" >
|
|
196 |
Data Set Owner
|
|
175 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseParties" >
|
|
176 |
People and Organizations
|
|
197 | 177 |
</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>
|
|
178 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#AdditionalOriginators"><i class="icon-info-sign"></i></a>
|
|
199 | 179 |
</div> |
200 |
<div id="collapseOwner" class="accordion-body collapse in">
|
|
180 |
<div id="collapseParties" class="accordion-body collapse in">
|
|
201 | 181 |
<div class="accordion-inner"> |
202 |
<!-- the INPUT --> |
|
203 | 182 |
<div class="control-group"> |
204 |
<label class="control-label" for="origNamefirst0">*First Name</label>
|
|
183 |
<label class="control-label" for="assocPartyRole">Role</label>
|
|
205 | 184 |
<div class="controls"> |
206 |
<input type="text" name="origNamefirst0" id="origNameFirst" value="[%origNamefirst0%]"> |
|
185 |
<select name="assocPartyRole" id="assocPartyRole"> |
|
186 |
<option value="creator">Creator (Author/Owner/Originator)</option> |
|
187 |
<option value="principalInvestigator">Principal Investigator</option> |
|
188 |
<option value="coPrincipalInvestigator">Co-Principal Investigator</option> |
|
189 |
<option value="collaboratingPrincipalInvestigator">Collaborating-Principal Investigator</option> |
|
190 |
<option value="contact">Contact</option> |
|
191 |
<option value="metadataProvider">Metadata Provider</option> |
|
192 |
<option value="custodianSteward">Custodian/Steward</option> |
|
193 |
<option value="publisher">Publisher</option> |
|
194 |
<option value="user">User</option> |
|
195 |
</select> |
|
207 | 196 |
</div> |
208 | 197 |
</div> |
209 | 198 |
<div class="control-group"> |
210 |
<label class="control-label" for="origNamelast0">*Last Name</label>
|
|
199 |
<label class="control-label" for="assocPartyFirstName">First Name</label>
|
|
211 | 200 |
<div class="controls"> |
212 |
<input type="text" name="origNamelast0" id="origNameLast" value="[%origNamelast0%]">
|
|
201 |
<input type="text" name="assocPartyFirstName" id="assocPartyFirstName"/>
|
|
213 | 202 |
</div> |
214 | 203 |
</div> |
215 | 204 |
<div class="control-group"> |
216 |
<label class="control-label" for="origNameOrg">Organization Name</label>
|
|
205 |
<label class="control-label" for="assocPartyLastName">Last Name</label>
|
|
217 | 206 |
<div class="controls"> |
218 |
<input type="text" name="origNameOrg" id="origNameOrg" value="[%origNameOrg%]">
|
|
207 |
<input type="text" name="assocPartyLastName" id="assocPartyLastName" />
|
|
219 | 208 |
</div> |
220 | 209 |
</div> |
221 | 210 |
<div class="control-group"> |
222 |
<label class="control-label" for="origEmail">Email</label>
|
|
211 |
<label class="control-label" for="assocPartyOrgName">Organization Name</label>
|
|
223 | 212 |
<div class="controls"> |
224 |
<input type="text" name="origEmail" id="origEmail" value="[%origEmail%]"> |
|
213 |
<input type="text" name="assocPartyOrgName" id="assocPartyOrgName" /> |
|
214 |
<i class="icon-info-sign popover-target" id="party-tooltip" |
|
215 |
data-original-title="People and Organizations" |
|
216 |
data-toggle="popover" |
|
217 |
data-trigger="click" |
|
218 |
data-placement="right" |
|
219 |
data-html="true" |
|
220 |
data-content="<p>Each person or organization listed as a Creator will be listed in the data citation. At least one person, organization, or position with a 'Creator' role is required.<p><p>Enter a person's first and last name (and optionally their organization) or just an organization name (and optionally a position name).</p><p>If a Contact is not added, the first Creator will be used. Use the 'Add Person or Organization' button below to add your entries.<p>" |
|
221 |
title=""></i> |
|
225 | 222 |
</div> |
226 | 223 |
</div> |
227 | 224 |
<div class="control-group"> |
228 |
<label class="control-label" for="origPhone">Phone</label>
|
|
225 |
<label class="control-label" for="assocPartyPositionName">Position Name</label>
|
|
229 | 226 |
<div class="controls"> |
230 |
<input type="text" name="origPhone" id="origPhone" value="[%origPhone%]">
|
|
227 |
<input type="text" name="assocPartyPositionName" id="assocPartyPositionName" />
|
|
231 | 228 |
</div> |
232 | 229 |
</div> |
233 | 230 |
<div class="control-group"> |
234 |
<label class="control-label" for="origFAX">Fax</label>
|
|
231 |
<label class="control-label" for="assocPartyEmail">Email</label>
|
|
235 | 232 |
<div class="controls"> |
236 |
<input type="text" name="origFAX" id="origFAX" value="[%origFAX%]">
|
|
233 |
<input type="text" name="assocPartyEmail" id="assocPartyEmail" />
|
|
237 | 234 |
</div> |
238 | 235 |
</div> |
239 | 236 |
<div class="control-group"> |
240 |
<label class="control-label" for="origDelivery">Street Address</label>
|
|
237 |
<label class="control-label" for="assocPartyEmail">Online Link</label>
|
|
241 | 238 |
<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> |
|
239 |
<input type="text" name="assocPartyURL" id="assocPartyURL" placeholder="URL"/> |
|
244 | 240 |
</div> |
245 | 241 |
</div> |
246 | 242 |
<div class="control-group"> |
247 |
<label class="control-label" for="origCity">City</label>
|
|
243 |
<label class="control-label" for="assocPartyPhone">Phone</label>
|
|
248 | 244 |
<div class="controls"> |
249 |
<input type="text" name="origCity" id="origCity" value="[%origCity%]">
|
|
245 |
<input type="text" name="assocPartyPhone" id="assocPartyPhone"/>
|
|
250 | 246 |
</div> |
251 | 247 |
</div> |
252 | 248 |
<div class="control-group"> |
253 |
<label class="control-label" for="origState">U.S. State or Territory</label>
|
|
249 |
<label class="control-label" for="assocPartyFAX">Fax</label>
|
|
254 | 250 |
<div class="controls"> |
255 |
<select name="origState" id="origState"> |
|
251 |
<input type="text" name="assocPartyFAX" id="assocPartyFAX" /> |
|
252 |
</div> |
|
253 |
</div> |
|
254 |
<div class="control-group"> |
|
255 |
<label class="control-label" for="assocPartyDelivery">Street Address</label> |
|
256 |
<div class="controls"> |
|
257 |
<textarea class="span8" name="assocPartyDelivery" id="assocPartyDelivery" placeholder="(number, street, unit, etc.; comma-separated)"></textarea> |
|
258 |
</div> |
|
259 |
</div> |
|
260 |
<div class="control-group"> |
|
261 |
<label class="control-label" for="assocPartyCity">City</label> |
|
262 |
<div class="controls"> |
|
263 |
<input type="text" name="assocPartyCity" id="assocPartyCity" /> |
|
264 |
</div> |
|
265 |
</div> |
|
266 |
<div class="control-group"> |
|
267 |
<label class="control-label" for="assocPartyState">U.S. State or Territory</label> |
|
268 |
<div class="controls"> |
|
269 |
<select name="assocPartyState" id="assocPartyState"> |
|
256 | 270 |
[% IF form == 're_entry' %] |
257 |
<option selected>[%origState%]</option>
|
|
271 |
<option selected>[%assocPartyState%]</option>
|
|
258 | 272 |
[% ELSE %] |
259 | 273 |
<option>Select state or territory here.</option> |
260 | 274 |
[% END %] |
... | ... | |
318 | 332 |
</div> |
319 | 333 |
</div> |
320 | 334 |
<div class="control-group"> |
321 |
<label class="control-label" for="origStateOther">Other State/Province</label>
|
|
335 |
<label class="control-label" for="assocPartyStateOther">Other State/Province</label>
|
|
322 | 336 |
<div class="controls"> |
323 |
<input type="text" name="origStateOther" id="origStateOther" value="[%origStateOther%]">
|
|
337 |
<input type="text" name="assocPartyStateOther" id="assocPartyStateOther" />
|
|
324 | 338 |
</div> |
325 | 339 |
</div> |
326 | 340 |
<div class="control-group"> |
327 |
<label class="control-label" for="origZip">Postal Code</label>
|
|
341 |
<label class="control-label" for="assocPartyZip">Postal Code</label>
|
|
328 | 342 |
<div class="controls"> |
329 |
<input type="text" name="origZIP" id="origZip" value="[%origZIP%]">
|
|
343 |
<input type="text" name="assocPartyZip" id="assocPartyZip" />
|
|
330 | 344 |
</div> |
331 | 345 |
</div> |
332 | 346 |
<div class="control-group"> |
333 |
<label class="control-label" for="origCountry">Country</label>
|
|
347 |
<label class="control-label" for="assocPartyCountry">Country</label>
|
|
334 | 348 |
<div class="controls"> |
335 |
<input type="text" name="origCountry" id="origCountry" value="[%origCountry%]">
|
|
349 |
<input type="text" name="assocPartyCountry" id="assocPartyCountry" />
|
|
336 | 350 |
</div> |
337 | 351 |
</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 | 352 |
<div class="control-group"> |
353 |
<label class="control-label" for="aoFirstName">First Name</label> |
|
354 | 353 |
<div class="controls"> |
355 |
<input type="text" name="aoFirstName" id="AONameFirst""> |
|
354 |
<button type="button" class="btn" id="addPartyButton" onClick="addAssociatedParty()">Add Person or Organization</button> |
|
355 |
<button type="button" class="btn" style="visibility: hidden" id="updatePartyButton" onClick="updateAssociatedParty()">Update Person or Organization</button> |
|
356 | 356 |
</div> |
357 | 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> |
|
358 |
|
|
359 |
<table class="table table-striped table-bordered table-hover" id="partyTable"> |
|
360 |
[% cnt = 0 %] |
|
361 |
<tbody> |
|
362 |
[% WHILE cnt < partyCount %] |
|
363 |
[% SET partyId = "partyId${cnt}" %] |
|
364 |
[% SET partyFirstName = "partyFirstName${cnt}" %] |
|
365 |
[% SET partyLastName = "partyLastName${cnt}" %] |
|
366 |
[% SET partyRole = "partyRole${cnt}" %] |
|
367 |
[% SET partyOrgName = "partyOrgName${cnt}" %] |
|
368 |
[% SET partyPositionName = "partyPositionName${cnt}" %] |
|
369 |
[% SET partyEmail = "partyEmail${cnt}" %] |
|
370 |
[% SET partyURL = "partyURL${cnt}" %] |
|
371 |
[% SET partyPhone = "partyPhone${cnt}" %] |
|
372 |
[% SET partyFAX = "partyFAX${cnt}" %] |
|
373 |
[% SET partyDelivery = "partyDelivery${cnt}" %] |
|
374 |
[% SET partyCity = "partyCity${cnt}" %] |
|
375 |
[% SET partyState = "partyState${cnt}" %] |
|
376 |
[% SET partyStateOther = "partyStateOther${cnt}" %] |
|
377 |
[% SET partyZIP = "partyZIP${cnt}" %] |
|
378 |
[% SET partyCountry = "partyCountry${cnt}" %] |
|
379 |
[% SET roles = { |
|
380 |
principalInvestigator = 'Principal Investigator', |
|
381 |
coPrincipalInvestigator = 'Co-Principal Investigator', |
|
382 |
collaboratingPrincipalInvestigator = 'Collaborating-Principal Investigator', |
|
383 |
creator = 'Creator (Author/Owner/Originator)', |
|
384 |
contact = 'Contact', |
|
385 |
metadataProvider = 'Metadata Provider', |
|
386 |
custodianSteward = 'Custodian/Steward', |
|
387 |
publisher = 'Publisher', |
|
388 |
user = 'User'} %] |
|
389 |
<tr id="[% $partyId %]"> |
|
390 |
<input type="hidden" name="partyId" value="[% $partyId %]" /> |
|
391 |
<input type="hidden" name="partyFirstName" value="[% $partyFirstName %]" /> |
|
392 |
<input type="hidden" name="partyLastName" value="[% $partyLastName %]" /> |
|
393 |
<input type="hidden" name="partyRole" value="[% $partyRole %]" /> |
|
394 |
<input type="hidden" name="partyOrgName" value="[% $partyOrgName %]" /> |
|
395 |
<input type="hidden" name="partyPositionName" value="[% $partyPositionName %]" /> |
|
396 |
<input type="hidden" name="partyEmail" value="[% $partyEmail %]" /> |
|
397 |
<input type="hidden" name="partyURL" value="[% $partyURL %]" /> |
|
398 |
<input type="hidden" name="partyPhone" value="[% $partyPhone %]" /> |
|
399 |
<input type="hidden" name="partyFAX" value="[% $partyFAX %]" /> |
|
400 |
<input type="hidden" name="partyDelivery" value="[% $partyDelivery %]" /> |
|
401 |
<input type="hidden" name="partyCity" value="[% $partyCity %]" /> |
|
402 |
<input type="hidden" name="partyState" value="[% $partyState %]" /> |
|
403 |
<input type="hidden" name="partyStateOther" value="[% $partyStateOther %]" /> |
|
404 |
<input type="hidden" name="partyZIP" value="[% $partyZIP %]" /> |
|
405 |
<input type="hidden" name="partyCountry" value="[% $partyCountry %]" /> |
|
406 |
[% IF $partyFirstName != '' && $partyLastName != '' %] |
|
407 |
<td>[% $partyFirstName %]</td> |
|
408 |
<td>[% $partyLastName %]</td> |
|
409 |
[%- pRole = $partyRole -%] |
|
410 |
<td>[% roles.$pRole %]</td> |
|
411 |
|
|
412 |
[% ELSE %] |
|
413 |
[% IF $partyOrgName != '' %] |
|
414 |
<td colspan="2">[% $partyOrgName %]</td> |
|
415 |
[%- pRole = $partyRole -%] |
|
416 |
<td>[% roles.$pRole %]</td> |
|
417 |
[% ELSE %] |
|
418 |
<td colspan="2">[% $partyPositionName %]</td> |
|
419 |
[%- pRole = $partyRole -%] |
|
420 |
<td>[% roles.$pRole %]</td> |
|
421 |
[% END %] |
|
422 |
[% END %] |
|
423 |
<td style="text-align: center"> |
|
424 |
<a style="cursor:pointer"> |
|
425 |
<i onClick="moveUpRow(event)" class="icon-arrow-up" alt="Move Up"></i> |
|
426 |
</a> |
|
427 |
</td> |
|
428 |
<td style="text-align: center"> |
|
429 |
<a style="cursor:pointer"> |
|
430 |
<i onClick="moveDownRow(event, 'partyRowMarker')" class="icon-arrow-down" alt="Move Down"></i> |
|
431 |
</a> |
|
432 |
</td> |
|
433 |
<td style="text-align: center"> |
|
434 |
<a style="cursor:pointer"> |
|
435 |
<i class="icon-pencil" alt="Edit" onclick="editParty(event)"></i> |
|
436 |
</a> |
|
437 |
</td> |
|
438 |
<td style="text-align: center"> |
|
439 |
<a style="cursor:pointer"> |
|
440 |
<i class="icon-remove-sign" onClick="delRow(event)" alt="Delete"></i> |
|
441 |
</a> |
|
442 |
</td> |
|
443 |
</tr> |
|
444 |
[% cnt = cnt + 1 %] |
|
445 |
[% END %] |
|
446 |
<tr id="partyRowMarker"> |
|
447 |
<td colspan="7"> |
|
448 |
<input type="hidden" name="partyCount" value="[% partyCount %]" id="partyCount" /> |
|
449 |
</td> |
|
450 |
</tr> |
|
451 |
</tbody> |
|
452 |
</table> |
|
453 |
</div> |
|
438 | 454 |
</div> |
439 | 455 |
|
440 | 456 |
<!-- ABSTRACT --> |
... | ... | |
442 | 458 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseAbstract" > |
443 | 459 |
Abstract |
444 | 460 |
</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>
|
|
461 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DataSetAbstract"><i class="icon-info-sign"></i></a>
|
|
446 | 462 |
</div> |
447 | 463 |
<div id="collapseAbstract" class="accordion-body collapse in"> |
448 | 464 |
<div class="accordion-inner"> |
... | ... | |
464 | 480 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseKeywords"> |
465 | 481 |
Keywords |
466 | 482 |
</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>
|
|
483 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#KeywordInformation"><i class="icon-info-sign"></i></a>
|
|
468 | 484 |
</div> |
469 | 485 |
<div id="collapseKeywords" class="accordion-body collapse in"> |
470 | 486 |
<div class="accordion-inner"> |
... | ... | |
518 | 534 |
[% numKey = 0 %] |
519 | 535 |
[% IF keyCount %] |
520 | 536 |
[% numKey = keyCount %] |
521 |
[% numAO = aoCount %] |
|
522 | 537 |
<tr class="sectbody" id="keywordHRRow"> |
523 | 538 |
<td colSpan="6"> |
524 | 539 |
<hr width = "85%"/> |
... | ... | |
576 | 591 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemporal"> |
577 | 592 |
Temporal Coverage |
578 | 593 |
</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>
|
|
594 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#TemporalCoverageOfData"><i class="icon-info-sign"></i></a>
|
|
580 | 595 |
</div> |
581 | 596 |
<div id="collapseTemporal" class="accordion-body collapse in"> |
582 | 597 |
<div class="accordion-inner"> |
... | ... | |
689 | 704 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseSpatial"> |
690 | 705 |
Spatial Coverage |
691 | 706 |
</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>
|
|
707 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#SpatialCoverageOfData"><i class="icon-info-sign"></i></a>
|
|
693 | 708 |
</div> |
694 | 709 |
<div id="collapseSpatial" class="accordion-body collapse in"> |
695 | 710 |
<div class="accordion-inner"> |
... | ... | |
744 | 759 |
|
745 | 760 |
<td Align="left" colspan="2"> |
746 | 761 |
[% IF form == 're_entry' && hemisphLat1 == "N"%] |
747 |
<label class="radio inline">
|
|
762 |
<label class="radio"> |
|
748 | 763 |
<input type="radio" name="hemisphLat1" value="N" CHECKED> |
749 | 764 |
North |
750 | 765 |
</label> |
751 | 766 |
[%ELSE%] |
752 |
<label class="radio inline">
|
|
767 |
<label class="radio"> |
|
753 | 768 |
<input type="radio" name="hemisphLat1" value="N"> |
754 | 769 |
North |
755 | 770 |
</label> |
756 | 771 |
[%END%] |
757 | 772 |
[% IF form == 're_entry' && hemisphLat1 == "S"%] |
758 |
<label class="radio inline">
|
|
773 |
<label class="radio"> |
|
759 | 774 |
<input type="radio" name="hemisphLat1" value="S" CHECKED> |
760 | 775 |
South |
761 | 776 |
</label> |
762 | 777 |
[%ELSE%] |
763 |
<label class="radio inline">
|
|
778 |
<label class="radio"> |
|
764 | 779 |
<input type="radio" name="hemisphLat1" value="S"> |
765 | 780 |
South |
766 | 781 |
</label> |
... | ... | |
783 | 798 |
|
784 | 799 |
<td align="left" colspan="2"> |
785 | 800 |
[% IF form == 're_entry' && hemisphLong1 == "W"%] |
786 |
<label class="radio inline">
|
|
801 |
<label class="radio"> |
|
787 | 802 |
<input type="radio" name="hemisphLong1" value="W" CHECKED> |
788 | 803 |
West |
789 | 804 |
</label> |
790 | 805 |
[%ELSE%] |
791 |
<label class="radio inline">
|
|
806 |
<label class="radio"> |
|
792 | 807 |
<input type="radio" name="hemisphLong1" value="W"> |
793 | 808 |
West |
794 | 809 |
</label> |
795 | 810 |
[%END%] |
796 | 811 |
[% IF form == 're_entry' && hemisphLong1 == "E"%] |
797 |
<label class="radio inline">
|
|
812 |
<label class="radio"> |
|
798 | 813 |
<input type="radio" name="hemisphLong1" value="E" CHECKED> |
799 | 814 |
East |
800 | 815 |
</label> |
801 | 816 |
[%ELSE%] |
802 |
<label class="radio inline">
|
|
817 |
<label class="radio"> |
|
803 | 818 |
<input type="radio" name="hemisphLong1" value="E"> |
804 | 819 |
East |
805 | 820 |
</label> |
... | ... | |
819 | 834 |
|
820 | 835 |
<td align="left" colspan="2"> |
821 | 836 |
[% IF form == 're_entry' && hemisphLat2 == "N"%] |
822 |
<label class="radio inline">
|
|
837 |
<label class="radio"> |
|
823 | 838 |
<input type="radio" name="hemisphLat2" value="N" CHECKED> |
824 | 839 |
North |
825 | 840 |
</label> |
826 | 841 |
[%ELSE%] |
827 |
<label class="radio inline">
|
|
842 |
<label class="radio"> |
|
828 | 843 |
<input type="radio" name="hemisphLat2" value="N"> |
829 | 844 |
North |
830 | 845 |
</label> |
831 | 846 |
[%END%] |
832 | 847 |
[% IF form == 're_entry' && hemisphLat2 == "S"%] |
833 |
<label class="radio inline">
|
|
848 |
<label class="radio"> |
|
834 | 849 |
<input type="radio" name="hemisphLat2" value="S" CHECKED> |
835 | 850 |
South |
836 | 851 |
</label> |
837 | 852 |
[%ELSE%] |
838 |
<label class="radio inline">
|
|
853 |
<label class="radio"> |
|
839 | 854 |
<input type="radio" name="hemisphLat2" value="S"> |
840 | 855 |
South |
841 | 856 |
</label> |
... | ... | |
850 | 865 |
<td align="left" colspan="2"> |
851 | 866 |
|
852 | 867 |
[% IF form == 're_entry' && hemisphLong2 == "W"%] |
853 |
<label class="radio inline">
|
|
868 |
<label class="radio"> |
|
854 | 869 |
<input type="radio" name="hemisphLong2" value="W" CHECKED> |
855 | 870 |
West |
856 | 871 |
</label |
857 | 872 |
[%ELSE%] |
858 |
<label class="radio inline">
|
|
873 |
<label class="radio"> |
|
859 | 874 |
<input type="radio" name="hemisphLong2" value="W"> |
860 | 875 |
West |
861 | 876 |
</label> |
862 | 877 |
[%END%] |
863 | 878 |
[% IF form == 're_entry' && hemisphLong2 == "E"%] |
864 |
<label class="radio inline">
|
|
879 |
<label class="radio"> |
|
865 | 880 |
<input type="radio" name="hemisphLong2" value="E" CHECKED> |
866 | 881 |
East |
867 | 882 |
</label> |
868 | 883 |
[%ELSE%] |
869 |
<label class="radio inline">
|
|
884 |
<label class="radio"> |
|
870 | 885 |
<input type="radio" name="hemisphLong2" value="E"> |
871 | 886 |
East |
872 | 887 |
</label> |
... | ... | |
895 | 910 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTaxonomic"> |
896 | 911 |
Taxonomic Coverage |
897 | 912 |
</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>
|
|
913 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#TaxonomicCoverage"><i class="icon-info-sign"></i></a>
|
|
899 | 914 |
</div> |
900 | 915 |
<div id="collapseTaxonomic" class="accordion-body collapse in"> |
901 | 916 |
<div class="accordion-inner"> |
... | ... | |
998 | 1013 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseMethods"> |
999 | 1014 |
Data Collection Methods |
1000 | 1015 |
</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>
|
|
1016 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#Methods"><i class="icon-info-sign"></i></a>
|
|
1002 | 1017 |
</div> |
1003 | 1018 |
<div id="collapseMethods" class="accordion-body collapse in"> |
1004 | 1019 |
<div class="accordion-inner"> |
... | ... | |
1056 | 1071 |
</div> |
1057 | 1072 |
|
1058 | 1073 |
[% END %] |
1059 |
|
|
1060 |
|
|
1061 |
<!-- DATA SET CONTACT --> |
|
1074 |
|
|
1075 |
<!-- DISTRIBUTION INFO --> |
|
1062 | 1076 |
<div class="accordion-heading"> |
1063 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseContact">
|
|
1064 |
Data Set Contact
|
|
1077 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseDistribution">
|
|
1078 |
Distribution Information
|
|
1065 | 1079 |
</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>
|
|
1080 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#DistributionIinformation"><i class="icon-info-sign"></i></a>
|
|
1067 | 1081 |
</div> |
1068 |
<div id="collapseContact" class="accordion-body collapse in">
|
|
1082 |
<div id="collapseDistribution" class="accordion-body collapse in">
|
|
1069 | 1083 |
<div class="accordion-inner"> |
1070 | 1084 |
<!-- 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 |
|
|
1085 |
<!-- |
|
1076 | 1086 |
<div class="control-group"> |
1077 |
<label class="control-label" for="origNamefirstContact">*First Name</label>
|
|
1087 |
<label class="control-label" for="identifier">Data Set Identifier</label>
|
|
1078 | 1088 |
<div class="controls"> |
1079 |
<input type="text" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]"> |
|
1089 |
<input type="text" name="identifier" value="[%identifier%]"> |
|
1090 |
<span class="help-block"> |
|
1091 |
If available, please enter a name or number that uniquely identifies and |
|
1092 |
describes concisely the data set. Alternatively, provide other pertinent |
|
1093 |
information that can identify and locate the data set within your site's |
|
1094 |
data management system.</span> |
|
1080 | 1095 |
</div> |
1081 | 1096 |
</div> |
1097 |
--> |
|
1098 |
|
|
1099 |
<!-- BEGIN BRL MULTIPLE ALTERNATE IDENTIFIERS --> |
|
1082 | 1100 |
<div class="control-group"> |
1083 |
<label class="control-label" for="origNamelastContact">*Last Name</label>
|
|
1101 |
<label class="control-label" for="identifier">Alternate Identifier</label>
|
|
1084 | 1102 |
<div class="controls"> |
1085 |
<input type="text" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]"> |
|
1103 |
<input name="identifier" id="identifier"> |
|
1104 |
<span class="help-block"> |
|
1105 |
If available, please enter a name or number that uniquely identifies and |
|
1106 |
describes concisely the data set. Alternatively, provide other pertinent |
|
1107 |
information that can identify and locate the data set within your site's |
|
1108 |
data management system.</span> |
|
1086 | 1109 |
</div> |
1087 | 1110 |
</div> |
1088 | 1111 |
<div class="control-group"> |
1089 |
<label class="control-label" for="origNameOrgContact">Organization Name</label>
|
|
1112 |
<label class="control-label" for="addIdentifierButton"></label>
|
|
1090 | 1113 |
<div class="controls"> |
1091 |
<input type="text" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]">
|
|
1114 |
<input type="button" class="btn" value="Add Identifier" onClick="addIdentifier()">
|
|
1092 | 1115 |
</div> |
1093 | 1116 |
</div> |
1117 |
|
|
1094 | 1118 |
<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 %] |
|
1119 |
<label class="control-label" for="identifierTable"></label> |
|
1100 | 1120 |
<div class="controls"> |
1101 |
<input type="text" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]"> |
|
1121 |
<table> |
|
1122 |
<tr id="addIdentifier"> |
|
1123 |
<td colspan="6"> |
|
1124 |
</tr> |
|
1125 |
[% numIdentifier = 0 %] |
|
1126 |
[% IF identifierCount %] |
|
1127 |
[% numIdentifier = identifierCount %] |
|
1128 |
<tr class="sectbody" id="identifierHRRow"> |
|
1129 |
<td colSpan="6"> |
|
1130 |
<hr width = "85%"/> |
|
1131 |
</td> |
|
1132 |
</tr> |
|
1133 |
[% END %] |
|
1134 |
<input type="hidden" name="identifierCount" value="[%numIdentifier%]" id="identifierCount"> |
|
1135 |
|
|
1136 |
[% cnt = 1 %] |
|
1137 |
[% WHILE cnt <= numIdentifier%] |
|
1138 |
<tr class="sectbody"> |
|
1139 |
<td class="rightCol"> |
|
1140 |
<a style="cursor:pointer"> |
|
1141 |
<i onClick="cleanTextNodes('identifierHRRow', 'addidentifierrow');moveUpRow(event)" |
|
1142 |
class="icon-arrow-up" |
|
1143 |
alt="Move Up"></i> |
|
1144 |
</a> |
|
1145 |
<a style="cursor:pointer"> |
|
1146 |
<i onClick="cleanTextNodes('identifierHRRow', 'addidentifierrow');moveDownRow(event, 'addidentifierrow')" |
|
1147 |
class="icon-arrow-down" |
|
1148 |
alt="Move Down"></i> |
|
1149 |
</a> |
|
1150 |
<a style="cursor:pointer"> |
|
1151 |
<i class="icon-remove-sign" |
|
1152 |
onClick="delRow(event)" alt="Delete"></i> |
|
1153 |
</a> |
|
1154 |
</td> |
|
1155 |
[% SET id = "identifierValue${cnt}" %] |
|
1156 |
<td colspan="5" align ="left" style="cursor:pointer" |
|
1157 |
onClick="identifierEditRow(event, 0, '[%$id%]')"> |
|
1158 |
Identifier: [%$id%] |
|
1159 |
<input name="identifier" type="hidden" value="[%$id%]"/> |
|
1160 |
</tr> |
|
1161 |
[% cnt = cnt + 1 %] |
|
1162 |
[% END %] |
|
1163 |
|
|
1164 |
<tr class="sectbody" id="addidentifierrow"> |
|
1165 |
<td class="bordertop" valign="top" align="right"></td> |
|
1166 |
<td class="bordertop" align="left" colspan="5"></td> |
|
1167 |
</tr> |
|
1168 |
|
|
1169 |
</table> |
|
1102 | 1170 |
</div> |
1103 | 1171 |
</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 | 1172 |
|
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 --> |
|
1173 |
<!-- END BRL ALTERNATE IDENTIFIERS --> |
|
1174 |
|
|
1175 |
|
|
1229 | 1176 |
<!-- |
1230 | 1177 |
<div class="control-group"> |
1231 | 1178 |
<label class="control-label" for="identifier">Data Set Identifier</label> |
... | ... | |
1404 | 1351 |
data-trigger="click" |
1405 | 1352 |
data-placement="top" |
1406 | 1353 |
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>."
|
|
1354 |
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/licenses/by/4.0/'>Creative Commons Attribution 4.0 License</a>."
|
|
1408 | 1355 |
title="">CC-BY 4.0</div> |
1409 | 1356 |
</label> |
1410 | 1357 |
|
... | ... | |
1467 | 1414 |
</div> |
1468 | 1415 |
|
1469 | 1416 |
<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 | 1417 |
<label class="control-label" for="addComments">Additional Information</label> |
1477 | 1418 |
<div class="controls"> |
1478 | 1419 |
<textarea class="span8" rows="6" cols="60" name="addComments">[%addComments%]</textarea> |
... | ... | |
1490 | 1431 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseUploadData"> |
1491 | 1432 |
Upload Data |
1492 | 1433 |
</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>
|
|
1434 |
<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#UploadData"><i class="icon-info-sign"></i></a>
|
|
1494 | 1435 |
</div> |
1495 | 1436 |
<div id="collapseUploadData" class="accordion-body collapse in"> |
1496 | 1437 |
<div class="accordion-inner"> |
1497 | 1438 |
|
1498 | 1439 |
<!-- 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 %] |
|
1440 |
<div class="control-group"> |
|
1441 |
<label class="control-label">Upload Data File</label> |
|
1442 |
<div class="controls"> |
|
1443 |
<input type="file" id="file_element" name="file_1" /> |
|
1444 |
[% IF form == 're_entry' && upCount %] |
|
1445 |
[% cnt = 0 %] |
|
1446 |
[% WHILE cnt < upCount %] |
|
1447 |
[% SET fileSum = "upload_${cnt}" %] |
|
1448 |
[% SET fileName = "uploadname_${cnt}" %] |
|
1449 |
[% SET fileType = "uploadtype_${cnt}" %] |
|
1450 |
[% SET filePerm = "uploadperm_${cnt}" %] |
|
1451 |
[% IF fileSum %] |
|
1452 |
<input type="hidden" name="[%fileSum%]" value="[% $fileSum %]" /> |
|
1453 |
<input type="hidden" name="[%fileName%]" value="[% $fileName %]" /> |
|
1454 |
<input type="hidden" name="[%fileType%]" value="[% $fileType %]" /> |
|
1455 |
[% END %] |
|
1456 |
[% cnt = cnt + 1 %] |
|
1457 |
[% END %] |
|
1458 |
<input type="hidden" id="upCount" name="upCount" value="[%upCount%]" /> |
|
1459 |
[% END %] |
|
1460 |
|
|
1461 |
<input type="hidden" id="fileCount" name="fileCount" value="[%fileCount%]" /> |
|
1462 |
</div> |
|
1463 |
</div> |
|
1464 |
<table class="table table-striped table-bordered" id="files_list"> |
|
1465 |
[% IF form == 're_entry' && upCount %] |
|
1466 |
[% cnt = 0 %] |
|
1521 | 1467 |
|
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> |
|
1468 |
[% WHILE cnt < upCount %] |
|
1469 |
[% SET fileName = "uploadname_${cnt}" %] |
|
1470 |
[% SET filePerm = "uploadperm_${cnt}" %] |
|
1471 |
[% IF $filePerm == 'public' %] |
|
1472 |
[% SET perm_a = "checked" %] |
|
1473 |
[% SET perm_b = "" %] |
|
1474 |
[% ELSE %] |
|
1475 |
[% SET perm_a = "" %] |
|
1476 |
[% SET perm_b = "checked" %] |
|
1477 |
[% END %] |
|
1478 |
[% IF fileName %] |
|
1479 |
<tr> |
|
1480 |
<td>[% $fileName %]</td> |
|
1481 |
<td> |
|
1482 |
<input type="radio" name="[% filePerm %]" value="public" [% perm_a %] /> Public |
|
1483 |
</td> |
|
1484 |
<td> |
|
1485 |
<input type="radio" name="[% filePerm %]" value="private" [% perm_b %] /> Private |
|
1486 |
</td> |
|
1487 |
<td> |
|
1488 |
<input type="button" class="btn" value="Delete" onclick="deleteFile(event, [% fileName %]);"/> |
|
1489 |
</td> |
|
1490 |
</tr> |
|
1491 |
[% END %] |
|
1492 |
|
|
1493 |
[% cnt = cnt + 1 %] |
|
1494 |
[% END %] |
|
1495 |
[% END %] |
|
1567 | 1496 |
</table> |
1568 | 1497 |
|
1569 | 1498 |
<script language="JavaScript" type="text/JavaScript"> |
1570 | 1499 |
Also available in: Unified diff
Merge changes from the 2.6.0 release.