Revision 7907
Added by ben leinfelder over 11 years ago
lib/style/common/templates/metacatui/entryForm.tmpl | ||
---|---|---|
423 | 423 |
</div> |
424 | 424 |
</div> |
425 | 425 |
|
426 |
<!-- TEMPLATE --> |
|
427 |
<div class="accordion-heading"> |
|
428 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemplate" href="#none"> |
|
429 |
Template |
|
430 |
</a> |
|
431 |
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#BasicInformation"><i class="icon-question-sign"></i></a> |
|
432 |
</div> |
|
433 |
<div id="collapseTemplate" class="accordion-body collapse in"> |
|
434 |
<div class="accordion-inner"> |
|
435 |
<!-- the INPUT --> |
|
436 |
<div class="control-group"> |
|
437 |
<label class="control-label" for="template">*template</label> |
|
438 |
<div class="controls"> |
|
439 |
<input type="text" name="template" value="[%template%]"> |
|
440 |
</div> |
|
441 |
</div> |
|
442 |
|
|
443 |
</div> |
|
444 |
</div> |
|
445 |
|
|
446 | 426 |
[% IF modules.keyword == 'true' %] |
447 | 427 |
<!-- KEYWORDS --> |
448 | 428 |
<div class="accordion-heading"> |
... | ... | |
550 | 530 |
|
551 | 531 |
</div> |
552 | 532 |
</div> |
553 |
[% END %] |
|
533 |
[% END %] |
|
534 |
|
|
535 |
<!-- TEMPLATE --> |
|
536 |
<div class="accordion-heading"> |
|
537 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemplate" href="#none"> |
|
538 |
Template |
|
539 |
</a> |
|
540 |
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#BasicInformation"><i class="icon-question-sign"></i></a> |
|
541 |
</div> |
|
542 |
<div id="collapseTemplate" class="accordion-body collapse in"> |
|
543 |
<div class="accordion-inner"> |
|
544 |
<!-- the INPUT --> |
|
545 |
<div class="control-group"> |
|
546 |
<label class="control-label" for="template">*template</label> |
|
547 |
<div class="controls"> |
|
548 |
<input type="text" name="template" value="[%template%]"> |
|
549 |
</div> |
|
550 |
</div> |
|
551 |
|
|
552 |
</div> |
|
553 |
</div> |
|
554 |
|
|
555 |
[% IF modules.temporal == 'true' %] |
|
556 |
<!-- TEMPORAL COVERAGE --> |
|
557 |
<div class="accordion-heading"> |
|
558 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemporal" href="#none"> |
|
559 |
Template |
|
560 |
</a> |
|
561 |
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#TemporalCoverageOfData"><i class="icon-question-sign"></i></a> |
|
562 |
</div> |
|
563 |
<div id="collapseTemporal" class="accordion-body collapse in"> |
|
564 |
<div class="accordion-inner"> |
|
565 |
<!-- the INPUT --> |
|
566 |
<div class="row-fluid"> |
|
567 |
|
|
568 |
<div class="span6"> |
|
569 |
<p>Start date</p> |
|
570 |
<div class="control-group"> |
|
571 |
[% IF required.temporal == 'true' %] |
|
572 |
<label class="control-label" for="beginningYear">*Year (yyyy)</label> |
|
573 |
[% ELSE %] |
|
574 |
<label class="control-label" for="beginningYear">Year (yyyy)</label> |
|
575 |
[% END %] |
|
576 |
<div class="controls"> |
|
577 |
<input type="text" name="beginningYear" value="[%beginningYear%]" size="8" maxlength="4"> |
|
578 |
</div> |
|
579 |
</div> |
|
580 |
<div class="control-group"> |
|
581 |
<label class="control-label" for="beginningMonth">Month</label> |
|
582 |
<div class="controls"> |
|
583 |
<select name="beginningMonth"> |
|
584 |
[% IF form == 're_entry' && beginningMonth != ""%] |
|
585 |
<option selected>[%beginningMonth%]</option> |
|
586 |
[% END %] |
|
587 |
<option>MM</option> <option>01</option> <option>02</option> <option>03</option> |
|
588 |
<option>04</option> <option>05</option> <option>06</option> <option>07</option> |
|
589 |
<option>08</option> <option>09</option> <option>10</option> <option>11</option> |
|
590 |
<option>12</option> |
|
591 |
</select> |
|
592 |
</div> |
|
593 |
</div> |
|
594 |
<div class="control-group"> |
|
595 |
<label class="control-label" for="beginningDay">Day</label> |
|
596 |
<div class="controls"> |
|
597 |
<select name="beginningDay"> |
|
598 |
[% IF form == 're_entry' && beginningDay != ""%] |
|
599 |
<option selected>[%beginningDay%]</option> |
|
600 |
[% END %] |
|
601 |
<option>DD</option> <option>01</option> <option>02</option> <option>03</option> |
|
602 |
<option>04</option> <option>05</option> <option>06</option> <option>07</option> |
|
603 |
<option>08</option> <option>09</option> <option>10</option> <option>11</option> |
|
604 |
<option>12</option> <option>13</option> <option>14</option> <option>15</option> |
|
605 |
<option>16</option> <option>17</option> <option>18</option> <option>19</option> |
|
606 |
<option>20</option> <option>21</option> <option>22</option> <option>23</option> |
|
607 |
<option>24</option> <option>25</option> <option>26</option> <option>27</option> |
|
608 |
<option>28</option> <option>29</option> <option>30</option> <option>31</option> |
|
609 |
</select> |
|
610 |
</div> |
|
611 |
</div> |
|
612 |
</div> |
|
613 |
<div class="span6"> |
|
614 |
<p>End date</p> |
|
615 |
<span class="help-block">Note: Leave "Stop Date" blank if your data set is open-ended.</span> |
|
616 |
<div class="control-group"> |
|
617 |
<label class="control-label" for="endingYear">Year (yyyy)</label> |
|
618 |
<div class="controls"> |
|
619 |
<input type="text" name="endingYear" value="[%endingYear%]" size="8" maxlength="4"> |
|
620 |
</div> |
|
621 |
</div> |
|
622 |
<div class="control-group"> |
|
623 |
<label class="control-label" for="endingMonth">Month</label> |
|
624 |
<div class="controls"> |
|
625 |
<select name="endingMonth"> |
|
626 |
[% IF form == 're_entry' && endingMonth != ""%] |
|
627 |
<option selected>[%endingMonth%]</option> |
|
628 |
[% END %] |
|
629 |
<option>MM</option> <option>01</option> <option>02</option> <option>03</option> |
|
630 |
<option>04</option> <option>05</option> <option>06</option> <option>07</option> |
|
631 |
<option>08</option> <option>09</option> <option>10</option> <option>11</option> |
|
632 |
<option>12</option> |
|
633 |
</select> |
|
634 |
</div> |
|
635 |
</div> |
|
636 |
<div class="control-group"> |
|
637 |
<label class="control-label" for="endingDay">Day</label> |
|
638 |
<div class="controls"> |
|
639 |
<select name="endingDay"> |
|
640 |
[% IF form == 're_entry' && endingDay != ""%] |
|
641 |
<option selected>[%endingDay%]</option> |
|
642 |
[% END %] |
|
643 |
<option>DD</option> <option>01</option> <option>02</option> <option>03</option> |
|
644 |
<option>04</option> <option>05</option> <option>06</option> <option>07</option> |
|
645 |
<option>08</option> <option>09</option> <option>10</option> <option>11</option> |
|
646 |
<option>12</option> <option>13</option> <option>14</option> <option>15</option> |
|
647 |
<option>16</option> <option>17</option> <option>18</option> <option>19</option> |
|
648 |
<option>20</option> <option>21</option> <option>22</option> <option>23</option> |
|
649 |
<option>24</option> <option>25</option> <option>26</option> <option>27</option> |
|
650 |
<option>28</option> <option>29</option> <option>30</option> <option>31</option> |
|
651 |
</select> |
|
652 |
</div> |
|
653 |
</div> |
|
654 |
</div |
|
655 |
</div> |
|
656 |
|
|
657 |
</div> |
|
658 |
</div> |
|
554 | 659 |
|
660 |
[% END %] |
|
661 |
|
|
555 | 662 |
|
556 |
[% IF modules.temporal == 'true' %] |
|
557 |
|
|
558 |
<table class="tables" cellpadding="5" cellspacing="0"> |
|
559 |
<tr class="sectheader"> |
|
560 |
<td colspan="5" align="left"> |
|
561 |
<span class="label">TEMPORAL COVERAGE OF DATA</span> |
|
562 |
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#TemporalCoverageOfData" target="guide" class="smalltext">(What's this?)</a> |
|
563 |
</td> |
|
564 |
<td class="rightCol"><span><a onClick="temporalBit=swap(event, 'temporalTable', temporalBit)" style="cursor:pointer">Hide</a></span></td> |
|
565 |
</tr> |
|
566 |
</table> |
|
567 |
|
|
568 |
<table class="tables" cellpadding="5" cellspacing="0" id="temporalTable"> |
|
569 |
<tr class="sectbody"> |
|
570 |
<td/> |
|
571 |
<td align="left"><span class="label">Start Date</span></td> |
|
572 |
<td/> |
|
573 |
<td align="left"><span class="label">Stop Date</span></td> |
|
574 |
<td colspan="2"></td> |
|
575 |
</tr> |
|
576 |
|
|
577 |
<tr class="sectbody"> |
|
578 |
<td class="rightCol"> |
|
579 |
[% IF required.temporal == 'true' %] |
|
580 |
<span class="label">*Year (yyyy)</span> |
|
581 |
[% ELSE %] |
|
582 |
<span class="label">Year (yyyy)</span> |
|
583 |
[% END %]</td> |
|
584 |
<td align="left" style="width:15%"><input type="TEXT" name="beginningYear" value="[%beginningYear%]" size="8" maxlength="4"></td> |
|
585 |
<td class="rightCol"><span class="label">Year (yyyy)</span></td> |
|
586 |
<td align="left"><input type="TEXT" name="endingYear" value="[%endingYear%]" size="8" maxlength="4"></td> |
|
587 |
<td colspan="3"></td> |
|
588 |
</tr> |
|
589 |
|
|
590 |
|
|
591 |
<tr class="sectbody"> |
|
592 |
<td class="rightCol"> |
|
593 |
<span class="label">Month</span> |
|
594 |
</td> |
|
595 |
<td align="left"><select name="beginningMonth"> |
|
596 |
[% IF form == 're_entry' && beginningMonth != ""%] |
|
597 |
<option selected>[%beginningMonth%]</option> |
|
598 |
[% END %] |
|
599 |
<option>MM</option> <option>01</option> <option>02</option> <option>03</option> |
|
600 |
<option>04</option> <option>05</option> <option>06</option> <option>07</option> |
|
601 |
<option>08</option> <option>09</option> <option>10</option> <option>11</option> |
|
602 |
<option>12</option> |
|
603 |
</select></td> |
|
604 |
|
|
605 |
<td class="rightCol"><span class="label">Month</span></td> |
|
606 |
<td align="left"> <select name="endingMonth"> |
|
607 |
[% IF form == 're_entry' && endingMonth != ""%] |
|
608 |
<option selected>[%endingMonth%]</option> |
|
609 |
[% END %] |
|
610 |
<option>MM</option> <option>01</option> <option>02</option> <option>03</option> |
|
611 |
<option>04</option> <option>05</option> <option>06</option> <option>07</option> |
|
612 |
<option>08</option> <option>09</option> <option>10</option> <option>11</option> |
|
613 |
<option>12</option> |
|
614 |
</select></td> <td colspan="2"></td></tr> |
|
615 |
|
|
616 |
<tr class="sectbody"> |
|
617 |
<td class="rightCol"> |
|
618 |
<span class="label">Day</span> |
|
619 |
</td> |
|
620 |
|
|
621 |
<td align="left"><select name="beginningDay"> |
|
622 |
[% IF form == 're_entry' && beginningDay != ""%] |
|
623 |
<option selected>[%beginningDay%]</option> |
|
624 |
[% END %] |
|
625 |
<option>DD</option> <option>01</option> <option>02</option> <option>03</option> |
|
626 |
<option>04</option> <option>05</option> <option>06</option> <option>07</option> |
|
627 |
<option>08</option> <option>09</option> <option>10</option> <option>11</option> |
|
628 |
<option>12</option> <option>13</option> <option>14</option> <option>15</option> |
|
629 |
<option>16</option> <option>17</option> <option>18</option> <option>19</option> |
|
630 |
<option>20</option> <option>21</option> <option>22</option> <option>23</option> |
|
631 |
<option>24</option> <option>25</option> <option>26</option> <option>27</option> |
|
632 |
<option>28</option> <option>29</option> <option>30</option> <option>31</option> |
|
633 |
</select></td> |
|
634 |
|
|
635 |
<td class="rightCol"><span class="label">Day</span></td> |
|
636 |
<td align="left"><select name="endingDay"> |
|
637 |
[% IF form == 're_entry' && endingDay != ""%] |
|
638 |
<option selected>[%endingDay%]</option> |
|
639 |
[% END %] |
|
640 |
<option>DD</option> <option>01</option> <option>02</option> <option>03</option> |
|
641 |
<option>04</option> <option>05</option> <option>06</option> <option>07</option> |
|
642 |
<option>08</option> <option>09</option> <option>10</option> <option>11</option> |
|
643 |
<option>12</option> <option>13</option> <option>14</option> <option>15</option> |
|
644 |
<option>16</option> <option>17</option> <option>18</option> <option>19</option> |
|
645 |
<option>20</option> <option>21</option> <option>22</option> <option>23</option> |
|
646 |
<option>24</option> <option>25</option> <option>26</option> <option>27</option> |
|
647 |
<option>28</option> <option>29</option> <option>30</option> <option>31</option> |
|
648 |
</select></td> |
|
649 |
<td colspan="2"></td></tr> |
|
650 |
<tr class="sectbody"> |
|
651 |
<td></td><td align="left" colspan="5"> |
|
652 |
<span class="label">Note: </span><span class="regtext">Leave "Stop Date" blank if your data set is open-ended.</span> |
|
653 |
</td></tr> |
|
654 |
</table> |
|
655 |
[% END %] |
|
656 |
|
|
657 | 663 |
[% IF modules.spatial == 'true' %] |
658 | 664 |
|
659 | 665 |
<table class="tables" cellpadding="5" cellspacing="0"> |
Also available in: Unified diff
restyle temporal section. https://projects.ecoinformatics.org/ecoinfo/issues/5951