Project

General

Profile

Revision 7921

restyle contact section, first pass. https://projects.ecoinformatics.org/ecoinfo/issues/5951

View differences:

entryForm.tmpl
31 31
						<p>
32 32
							The ID of this data set is: <a href="[% metacatUrl %]?action=read&qformat=[% cfg %]&docid=[% docid %]">[% docid %]</a>
33 33
						</p>	
34
\					[%END%]
34
					[%END%]
35 35
				
36 36
				[% END %]
37 37
				
......
170 170
								<div class="control-group">
171 171
									<label class="control-label" for="origNamefirst0">*First Name</label>
172 172
									<div class="controls">
173
										<input type="text" name="origNamefirst0" value="[%origNamefirst0%]">
173
										<input type="text" name="origNamefirst0" id="origNameFirst" value="[%origNamefirst0%]">
174 174
									</div>
175 175
								</div>
176 176
								<div class="control-group">
177 177
									<label class="control-label" for="origNamelast0">*Last Name</label>
178 178
									<div class="controls">
179
										<input type="text" name="origNamelast0" value="[%origNamelast0%]">
179
										<input type="text" name="origNamelast0" id="origNameLast" value="[%origNamelast0%]">
180 180
									</div>
181 181
								</div>
182 182
								<div class="control-group">
183 183
									<label class="control-label" for="origNameOrg">Organization Name</label>
184 184
									<div class="controls">
185
										<input type="text" name="origNameOrg" value="[%origNameOrg%]">
185
										<input type="text" name="origNameOrg" id="origNameOrg" value="[%origNameOrg%]">
186 186
									</div>
187 187
								</div>
188 188
								<div class="control-group">
189 189
									<label class="control-label" for="origEmail">Email</label>
190 190
									<div class="controls">
191
										<input type="text" name="origEmail" value="[%origEmail%]">
191
										<input type="text" name="origEmail" id="origEmail" value="[%origEmail%]">
192 192
									</div>
193 193
								</div>
194 194
								<div class="control-group">
195 195
									<label class="control-label" for="origPhone">Phone</label>
196 196
									<div class="controls">
197
										<input type="text" name="origPhone" value="[%origPhone%]">
197
										<input type="text" name="origPhone" id="origPhone" value="[%origPhone%]">
198 198
									</div>
199 199
								</div>
200 200
								<div class="control-group">
201 201
									<label class="control-label" for="origFAX">Fax</label>
202 202
									<div class="controls">
203
										<input type="text" name="origFAX" value="[%origFAX%]">
203
										<input type="text" name="origFAX" id="origFAX" value="[%origFAX%]">
204 204
									</div>
205 205
								</div>
206 206
								<div class="control-group">
......
213 213
								<div class="control-group">
214 214
									<label class="control-label" for="origCity">City</label>
215 215
									<div class="controls">
216
										<input type="text" name="origCity" value="[%origCity%]">
216
										<input type="text" name="origCity" id="origCity" value="[%origCity%]">
217 217
									</div>
218 218
								</div>
219 219
								<div class="control-group">
......
287 287
								<div class="control-group">
288 288
									<label class="control-label" for="origStateOther">Other State/Province</label>
289 289
									<div class="controls">
290
										<input type="text" name="origStateOther" value="[%origStateOther%]">
290
										<input type="text" name="origStateOther" id="origStateOther" value="[%origStateOther%]">
291 291
									</div>
292 292
								</div>
293 293
								<div class="control-group">
294 294
									<label class="control-label" for="origZip">Postal Code</label>
295 295
									<div class="controls">
296
										<input type="text" name="origZip" value="[%origZip%]">
296
										<input type="text" name="origZip" id="origZip" value="[%origZip%]">
297 297
									</div>
298 298
								</div>
299 299
								<div class="control-group">
300 300
									<label class="control-label" for="origCountry">Country</label>
301 301
									<div class="controls">
302
										<input type="text" name="origCountry" value="[%origCountry%]">
302
										<input type="text" name="origCountry" id="origCountry" value="[%origCountry%]">
303 303
									</div>
304 304
								</div>
305 305
								
306
								
307 306
						    </div>
308 307
						</div>
309 308
						
......
948 947
						</div>
949 948
						
950 949
					[% END %]  
951
   
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%]&amp;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 950
						
973
						
974 951
					[% IF modules.method == 'true' %]
975 952
  
976 953
						<!-- METHODS -->
......
1036 1013
						</div>
1037 1014
						
1038 1015
					[% END %]
1016
					
1039 1017
						
1018
						<!-- DATA SET CONTACT -->
1019
						<div class="accordion-heading">
1020
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseContact" href="#none">
1021
								Data Set Contact  
1022
							</a>
1023
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress"><i class="icon-question-sign"></i></a>
1024
						</div>
1025
						<div id="collapseContact" class="accordion-body collapse in">
1026
							<div class="accordion-inner">
1027
								<!--  the INPUT -->
1028
        						<div class="control-group">
1029
									<label class="control-label" for="useOrigAddress"></label>
1030
									<div class="controls">
1031
										<input type="CHECKBOX" name="useOrigAddress" onClick="copyContact()" id="copyCheckBox" [%useOrigAddress%]>
1032
        								<span class="help-block">Use the same name and address as the <em>PRINCIPAL DATA SET OWNER</em> above.</span>
1033
									</div>
1034
								</div>
1035
								<div class="control-group">
1036
									<label class="control-label" for="origNamefirstContact">*First Name</label>
1037
									<div class="controls">
1038
										<input type="text" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]">
1039
									</div>
1040
								</div>
1041
								<div class="control-group">
1042
									<label class="control-label" for="origNamelastContact">*Last Name</label>
1043
									<div class="controls">
1044
										<input type="text" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]">
1045
									</div>
1046
								</div>
1047
								<div class="control-group">
1048
									<label class="control-label" for="origNameOrgContact">Organization Name</label>
1049
									<div class="controls">
1050
										<input type="text" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]">
1051
									</div>
1052
								</div>
1053
								<div class="control-group">
1054
									[% IF required.contactEmailAddress == 'true' %]
1055
										<label class="control-label" for="origEmailContact">*Email</label>
1056
									[% ELSE %]
1057
										<label class="control-label" for="origEmailContact">Email</label>
1058
									[% END %]
1059
									<div class="controls">
1060
										<input type="text" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]">
1061
									</div>
1062
								</div>
1063
								<div class="control-group">
1064
									<label class="control-label" for="origPhoneContact">Phone</label>
1065
									<div class="controls">
1066
										<input type="text" name="origPhoneContact" id="contactPhone" value="[%origPhoneContact%]">
1067
									</div>
1068
								</div>
1069
								<div class="control-group">
1070
									<label class="control-label" for="origFAXContact">Fax</label>
1071
									<div class="controls">
1072
										<input type="text" name="origFAXContact" id="contactFAX" value="[%origFAXContact%]">
1073
									</div>
1074
								</div>
1075
								<div class="control-group">
1076
									<label class="control-label" for="origDeliveryContact">Street Address</label>
1077
									<div class="controls">
1078
										<textarea id="contactDelivery" name="origDeliveryContact">[%origDeliveryContact%]</textarea>
1079
										<span class="help-block">(number, street, unit, etc.; comma-separated)</span>
1080
									</div>
1081
								</div>
1082
								<div class="control-group">
1083
									<label class="control-label" for="origCityContact">City</label>
1084
									<div class="controls">
1085
										<input type="text" name="origCityContact" id="origCity" value="[%origCityContact%]">
1086
									</div>
1087
								</div>
1088
								<div class="control-group">
1089
									<label class="control-label" for="origStateContact">U.S. State or Territory</label>
1090
									<div class="controls">
1091
										<select name="origStateContact" id="contactState">
1092
											[% IF form == 're_entry' %]
1093
												<option selected>[%origStateContact%]</option>
1094
											[% ELSE %]
1095
												<option>Select state or territory here.</option>
1096
											[% END %]
1097
											<option>Alabama</option>
1098
											<option>Alaska</option>
1099
											<option>American Samoa</option>
1100
											<option>Arizona</option>
1101
											<option>Arkansas</option>
1102
											<option>California</option>
1103
											<option>Colorado</option>
1104
											<option>Connecticut</option>
1105
											<option>Delaware</option>
1106
											<option>District of Columbia</option>
1107
											<option>Florida</option>
1108
											<option>Georgia</option>
1109
											<option>Guam</option>
1110
											<option>Hawaii</option>
1111
											<option>Idaho</option>
1112
											<option>Illinois</option>
1113
											<option>Indiana</option>
1114
											<option>Iowa</option>
1115
											<option>Kansas</option>
1116
											<option>Kentucky</option>
1117
											<option>Louisiana</option>
1118
											<option>Maine</option>
1119
											<option>Maryland</option>
1120
											<option>Massachusetts</option>
1121
											<option>Michigan</option>
1122
											<option>Minnesota</option>
1123
											<option>Mississippi</option>
1124
											<option>Missouri</option>
1125
											<option>Montana</option>
1126
											<option>Nebraska</option>
1127
											<option>Nevada</option>
1128
											<option>New Hampshire</option>
1129
											<option>New Jersey</option>
1130
											<option>New Mexico</option>
1131
											<option>New York</option>
1132
											<option>North Carolina</option>
1133
											<option>North Dakota</option>
1134
											<option>Northern Mariana Islands</option>
1135
											<option>Ohio</option>
1136
											<option>Oklahoma</option>
1137
											<option>Oregon</option>
1138
											<option>Pennsylvania</option>
1139
											<option>Puerto Rico</option>
1140
											<option>Rhode Island</option>
1141
											<option>South Carolina</option>
1142
											<option>South Dakota</option>
1143
											<option>Tennessee</option>
1144
											<option>Texas</option>
1145
											<option>Utah</option>
1146
											<option>Vermont</option>
1147
											<option>Virgin Islands</option>
1148
											<option>Virginia</option>
1149
											<option>Washington</option>
1150
											<option>West Virginia</option>
1151
											<option>Wisconsin</option>
1152
											<option>Wyoming</option>
1153
										</select>
1154
									</div>
1155
								</div>
1156
								<div class="control-group">
1157
									<label class="control-label" for="origStateOtherContact">Other State/Province</label>
1158
									<div class="controls">
1159
										<input type="text" name="origStateOtherContact" id="contactStateOther" value="[%origStateOtherContact%]">
1160
									</div>
1161
								</div>
1162
								<div class="control-group">
1163
									<label class="control-label" for="origZIPContact">Postal Code</label>
1164
									<div class="controls">
1165
										<input type="text" name="origZIPContact" id="contactZip" value="[%origZIPContact%]">
1166
									</div>
1167
								</div>
1168
								<div class="control-group">
1169
									<label class="control-label" for="origCountryContact">Country</label>
1170
									<div class="controls">
1171
										<input type="text" name="origCountryContact" id="contactCountry" value="[%origCountryContact%]">
1172
									</div>
1173
								</div>
1174
								
1175
						    </div>
1176
						</div>
1177
						
1178
						<!-- TEMPLATE -->
1179
						<div class="accordion-heading">
1180
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemplate" href="#none">
1181
								Template  
1182
							</a>
1183
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#BasicInformation"><i class="icon-question-sign"></i></a>
1184
						</div>
1185
						<div id="collapseTemplate" class="accordion-body collapse in">
1186
							<div class="accordion-inner">
1187
								<!--  the INPUT -->
1188
								<div class="control-group">
1189
									<label class="control-label" for="template">*template</label>
1190
									<div class="controls">
1191
										<input type="text" name="template" value="[%template%]">
1192
									</div>
1193
								</div>
1194
								
1195
						    </div>
1196
						</div>
1197
						
1040 1198
   
1041
  <table class="tables" cellpadding="5" cellspacing="0">    
1042
    <tr class="sectheader">
1043
      <td colspan="5" align="left">
1044
        <span class="label">DATA SET CONTACT</span>
1045
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DataSetContactAddress" target="guide" class="smalltext">(What's this?)</a>
1046
      </td>
1047
      <td class="rightCol"><span><a onClick="dscBit=swap(event, 'dscTable', dscBit)" style="cursor:pointer">Hide</a></span></td>
1048
    </tr>
1049
  </table>
1050

  
1051
   <table class="tables" cellpadding="5" cellspacing="0" id="dscTable">  
1052
  <tr class="sectbody"><td valign="top" align="left" colspan="6">
1053
        <input type="CHECKBOX" name="useOrigAddress" onClick="copyContact()" id="copyCheckBox" [%useOrigAddress%]>
1054
        <span class="regtext">Use the same name and address as the <span class="label">PRINCIPAL DATA SET OWNER</span> above.</span></td></tr> 
1055
   <tr class="sectbody">
1056
      <td class="rightCol"><span class="label">*First Name</span></td>
1057
      <td colspan="5"><input type="TEXT" name="origNamefirstContact" id="contactNameFirst" value="[%origNamefirstContact%]" class="shortwidth"></td></tr>
1058
    <tr class="sectbody">
1059
      <td class="rightCol"><span class="label">*Last Name</span>
1060
      <td colspan="5"><input type="TEXT" name="origNamelastContact" id="contactNameLast" value="[%origNamelastContact%]" class="shortwidth"></td></tr>
1061
    <tr class="sectbody">
1062
      <td class="rightCol"><span class="label">Organization Name</span>
1063
      <td colspan="5"><input type="TEXT" name="origNameOrgContact" id="contactNameOrg" value="[%origNameOrgContact%]" class="longwidth"></td></tr>
1064
    <tr class="sectbody">      
1065
      [% IF required.contactEmailAddress == 'true' %]
1066
        <td class="rightCol"><span class="label">*E-Mail</span>
1067
      [% ELSE %]
1068
        <td class="rightCol"><span class="label">E-Mail</span>
1069
      [% END %]
1070
      <td colspan="5"><input type="TEXT" name="origEmailContact" id="contactEmail" value="[%origEmailContact%]" class="shortwidth"></td></tr>
1071
    <tr class="sectbody">
1072
      <td class="rightCol"><span class="label">Phone</span>
1073
      <td colspan="5"><input type="TEXT" name="origPhoneContact" id="contactPhone" value="[%origPhoneContact%]" class="shortwidth"></td></tr>
1074
    <tr class="sectbody"> 
1075
      <td class="rightCol"><span class="label">FAX</span>
1076
      <td colspan="5"><input type="TEXT" name="origFAXContact" id="contactFAX" value="[%origFAXContact%]" class="shortwidth"></td></tr>
1077
    <tr class="sectbody"><td valign="top" align="right"><span class="label">Street<br>Information</td>
1078
      <td colspan="5"><textarea rows="3" cols="30" name="origDeliveryContact" id="contactDelivery">[%origDeliveryContact%]</textarea><br><span class="smalltext">(number, street, unit, etc.; comma-separated)</span></td></tr>
1079
    <tr class="sectbody">    
1080
      <td class="rightCol"><span class="label">City</span>
1081
      <td colspan="5"><input type="TEXT" name="origCityContact" id="contactCity" value="[%origCityContact%]" class="shortwidth"></td></tr>
1082
    <tr class="sectbody">
1083
      <td class="rightCol"><span class="label">U.S. State or Territory</span>
1084
      <td colspan="5"><select id="contactState" name="origStateContact" class="shortwidth">
1085
      [% IF form == 're_entry' %]  
1086
              <option>[%origStateContact%]</option>
1087
      [% ELSE %]
1088
                <option>Select state or territory here.</option>
1089
            [% END %]
1090
          <option>Alabama</option>
1091
            <option>Alaska</option>
1092
            <option>American Samoa</option>
1093
            <option>Arizona</option>
1094
            <option>Arkansas</option>
1095
            <option>California</option>
1096
            <option>Colorado</option>
1097
            <option>Connecticut</option>
1098
            <option>Delaware</option>
1099
            <option>District of Columbia</option>
1100
            <option>Florida</option>
1101
            <option>Georgia</option>
1102
            <option>Guam</option>
1103
            <option>Hawaii</option>
1104
            <option>Idaho</option>
1105
            <option>Illinois</option>
1106
            <option>Indiana</option>
1107
            <option>Iowa</option>
1108
            <option>Kansas</option>
1109
            <option>Kentucky</option>
1110
            <option>Louisiana</option>
1111
            <option>Maine</option>
1112
            <option>Maryland</option>
1113
            <option>Massachusetts</option>
1114
            <option>Michigan</option>
1115
            <option>Minnesota</option>
1116
            <option>Mississippi</option>
1117
            <option>Missouri</option>
1118
            <option>Montana</option>
1119
            <option>Nebraska</option>
1120
            <option>Nevada</option>
1121
            <option>New Hampshire</option>
1122
            <option>New Jersey</option>
1123
            <option>New Mexico</option>
1124
            <option>New York</option>
1125
            <option>North Carolina</option>
1126
            <option>North Dakota</option>
1127
            <option>Northern Mariana Islands</option>
1128
            <option>Ohio</option>
1129
            <option>Oklahoma</option>
1130
            <option>Oregon</option>
1131
            <option>Pennsylvania</option>
1132
            <option>Puerto Rico</option>
1133
            <option>Rhode Island</option>
1134
            <option>South Carolina</option>
1135
            <option>South Dakota</option>
1136
            <option>Tennessee</option>
1137
            <option>Texas</option>
1138
            <option>Utah</option>
1139
            <option>Vermont</option>
1140
            <option>Virgin Islands</option>
1141
            <option>Virginia</option>
1142
            <option>Washington</option>
1143
            <option>West Virginia</option>
1144
            <option>Wisconsin</option>
1145
            <option>Wyoming</option>
1146
          </select></td></tr>
1147
     <tr class="sectbody">
1148
        <td class="rightCol"><span class="label">Other State/Province</span>
1149
  <td colspan="5"><input type="TEXT" name="origStateOtherContact" id="contactStateOther" value="[%origStateOtherContact%]" class="shortwidth"></td></tr>
1150
     <tr class="sectbody">     
1151
        <td class="rightCol"><span class="label">Postal Code</span>
1152
  <td colspan="5"><input type="TEXT" name="origZIPContact" class="shortwidth" id="contactZip" value="[%origZIPContact%]"></td></tr>
1153
     <tr class="sectbody">
1154
        <td class="rightCol"><span class="label">Country</span>
1155
        <td colspan="5"><input type="TEXT" name="origCountryContact" id="contactCountry" value="[%origCountryContact%]" class="shortwidth"></td></tr>
1156
     </table>
1157
   
1158 1199
  <table class="tables" cellpadding="5" cellspacing="0">  
1159 1200
    <tr class="sectheader">
1160 1201
      <td colspan="5" align="left">

Also available in: Unified diff