Revision 7917
Added by ben leinfelder over 11 years ago
lib/style/common/templates/metacatui/entryForm.tmpl | ||
---|---|---|
846 | 846 |
</div> |
847 | 847 |
|
848 | 848 |
[% END %] |
849 |
|
|
850 |
<!-- TEMPLATE --> |
|
851 |
<div class="accordion-heading"> |
|
852 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemplate" href="#none"> |
|
853 |
Template |
|
854 |
</a> |
|
855 |
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#BasicInformation"><i class="icon-question-sign"></i></a> |
|
856 |
</div> |
|
857 |
<div id="collapseTemplate" class="accordion-body collapse in"> |
|
858 |
<div class="accordion-inner"> |
|
859 |
<!-- the INPUT --> |
|
860 |
<div class="control-group"> |
|
861 |
<label class="control-label" for="template">*template</label> |
|
862 |
<div class="controls"> |
|
863 |
<input type="text" name="template" value="[%template%]"> |
|
864 |
</div> |
|
865 |
</div> |
|
866 |
|
|
867 |
</div> |
|
868 |
</div> |
|
869 | 849 |
|
870 | 850 |
|
871 | 851 |
[% IF modules.taxonomic == 'true' %] |
... | ... | |
970 | 950 |
[% END %] |
971 | 951 |
|
972 | 952 |
|
953 |
<!-- TEMPLATE --> |
|
954 |
<div class="accordion-heading"> |
|
955 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemplate" href="#none"> |
|
956 |
Template |
|
957 |
</a> |
|
958 |
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#BasicInformation"><i class="icon-question-sign"></i></a> |
|
959 |
</div> |
|
960 |
<div id="collapseTemplate" class="accordion-body collapse in"> |
|
961 |
<div class="accordion-inner"> |
|
962 |
<!-- the INPUT --> |
|
963 |
<div class="control-group"> |
|
964 |
<label class="control-label" for="template">*template</label> |
|
965 |
<div class="controls"> |
|
966 |
<input type="text" name="template" value="[%template%]"> |
|
967 |
</div> |
|
968 |
</div> |
|
969 |
|
|
970 |
</div> |
|
971 |
</div> |
|
972 |
|
|
973 |
|
|
974 |
[% IF modules.method == 'true' %] |
|
975 |
|
|
976 |
<!-- METHODS --> |
|
977 |
<div class="accordion-heading"> |
|
978 |
<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseMethods" href="#none"> |
|
979 |
Data Collection Methods |
|
980 |
</a> |
|
981 |
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#Methods"><i class="icon-question-sign"></i></a> |
|
982 |
</div> |
|
983 |
<div id="collapseMethods" class="accordion-body collapse in"> |
|
984 |
<div class="accordion-inner"> |
|
985 |
<!-- the INPUT --> |
|
986 |
<div class="control-group"> |
|
987 |
<label class="control-label" for="methodTitle">Method Title</label> |
|
988 |
<div class="controls"> |
|
989 |
<input type="text" name="methodTitle" value="[%methodTitle%]"> |
|
990 |
</div> |
|
991 |
</div> |
|
992 |
<div class="control-group"> |
|
993 |
<label class="control-label" for="methodPara">Method Description</label> |
|
994 |
<div class="controls"> |
|
995 |
<table> |
|
996 |
[% IF !methodPara %] |
|
997 |
<tr><td><textarea rows="6" cols="60" name="methodPara"></textarea></td></tr> |
|
998 |
[% END %] |
|
999 |
[% FOREACH para = methodPara %] |
|
1000 |
<tr><td><textarea rows="6" cols="60" name="methodPara">[% para %]</textarea></td></tr> |
|
1001 |
[% END %] |
|
1002 |
<tr class="sectbody" id="addparabutton1"> |
|
1003 |
<td></td> |
|
1004 |
<td colspan="5" align="left"> |
|
1005 |
<input type="button" value="Add Paragraph to Method Description" onClick="addParagraph()"> |
|
1006 |
</td> |
|
1007 |
</tr> |
|
1008 |
</table> |
|
1009 |
</div> |
|
1010 |
</div> |
|
1011 |
|
|
1012 |
|
|
1013 |
</div> |
|
1014 |
</div> |
|
1015 |
|
|
1016 |
[% END %] |
|
1017 |
|
|
973 | 1018 |
|
974 |
[% IF modules.method == 'true' %] |
|
975 |
<table class="tables" cellpadding="5" cellspacing="0"> |
|
976 |
<tr class="sectheader"> |
|
977 |
<td colspan="5" align="left"> |
|
978 |
<span class="label">DATA COLLECTION METHODS</span> |
|
979 |
<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&stage=guide#Methods" target="guide" class="smalltext">(What's this?)</a> |
|
980 |
</td> |
|
981 |
<td class="rightCol"><span><a onClick="methodBit=swap(event, 'methodTable', methodBit)" style="cursor:pointer">Hide</a></span></td> |
|
982 |
</tr> |
|
983 |
</table> |
|
984 |
|
|
985 |
<table class="tables" cellpadding="5" cellspacing="0" id="methodTable"> |
|
986 |
|
|
987 |
<tr class="sectbody"> |
|
988 |
<td class="rightCol"><span class="label">Method Title</span></td> |
|
989 |
<td colspan="5" align="left"><input type="text" name="methodTitle" value="[%methodTitle%]" class="longwidth"></td></tr> |
|
990 |
|
|
991 |
<tr class="sectbody"><td valign="top" class="rightCol"><span class="label">Method Description</span> |
|
992 |
<td colspan="5" align="left"> |
|
993 |
[% IF !methodPara %] |
|
994 |
<textarea rows="6" cols="60" name="methodPara"></textarea> |
|
995 |
[% END %] |
|
996 |
[% FOREACH para = methodPara %] |
|
997 |
<textarea rows="6" cols="60" name="methodPara">[% para %]</textarea> |
|
998 |
[% END %] |
|
999 |
</td></tr> |
|
1000 |
|
|
1001 |
<tr class="sectbody" id="addparabutton1"> |
|
1002 |
<td ></td> |
|
1003 |
<td colspan="5" align="left"> |
|
1004 |
<input type="button" value="Add Paragraph to Method Description" |
|
1005 |
onClick="addParagraph()"></td></tr> |
|
1006 |
|
|
1007 |
|
|
1008 | 1019 |
<tr class="sectbody"> |
1009 | 1020 |
<td valign="top" align="right" class="bordertop"> |
1010 | 1021 |
<span class="label">Extent of Study Description</span> |
Also available in: Unified diff
restyle methods section, first pass. https://projects.ecoinformatics.org/ecoinfo/issues/5951