Project

General

Profile

« Previous | Next » 

Revision 7926

View differences:

lib/style/common/templates/metacatui/entryForm.tmpl
1173 1173
						    </div>
1174 1174
						</div>
1175 1175
						
1176
						<!-- DISTRIBUTION INFO -->
1177
						<div class="accordion-heading">
1178
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseDistribution" href="#none">
1179
								Distribution Information  
1180
							</a>
1181
							<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation"><i class="icon-question-sign"></i></a>
1182
						</div>
1183
						<div id="collapseDistribution" class="accordion-body collapse in">
1184
							<div class="accordion-inner">
1185
								<!--  the INPUT -->
1186
								<div class="control-group">
1187
									<label class="control-label" for="identifier">Data Set Identifier</label>
1188
									<div class="controls">
1189
										<input type="text" name="identifier" value="[%identifier%]">
1190
										<span class="help-block">
1191
									     If available, please enter a name or number that uniquely identifies and
1192
									     describes concisely the data set. Alternatively, provide other pertinent
1193
									     information that can identify and locate the data set within your site's
1194
									     data management system.</span>
1195
									</div>
1196
								</div>
1197
								<div class="control-group">
1198
									<label class="control-label" for="dataMedium">*Data Medium</label>
1199
									<div class="controls">
1200
										[% IF form == 're_entry' && (dataMedium == "digital " || dataMedium == "digital")  %]  
1201
											<label class"radio inline">
1202
									            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital" CHECKED>
1203
									            Digital
1204
									        </label>
1205
								        [%ELSE%]
1206
								        	<label class"radio inline">
1207
									            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital">
1208
									            Digital
1209
									        </label> 
1210
								        [% END %]
1211
								        [% IF form == 're_entry' && (dataMedium == "hardcopy " || dataMedium == "hardcopy") %]  
1212
								        	<label class"radio inline">
1213
								           		<input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy" CHECKED>
1214
								           		Hardcopy
1215
								           	</label>
1216
								        [%ELSE%]
1217
								        	<label class"radio inline">
1218
												<input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy">
1219
								           		Hardcopy
1220
								           	</label>
1221
								        [% END %]
1222
								        [% IF form == 're_entry' && dataMedium == "other" %]
1223
								        	<label class"radio inline">
1224
									           <input type="radio" name="dataMedium" value="other" onClick="handleOther(1, 'otherDM')" CHECKED>
1225
									           Other
1226
									        </label>    
1227
								        [%ELSE%]
1228
								        	<label class"radio inline">
1229
								           		<input type="radio"  name="dataMedium" onClick="handleOther(1, 'otherDM')" value="other">
1230
								           		Other
1231
								           	</label>									           		
1232
								        [% END %]
1233
								  		<input type="text" name="dataMediumOther" value="[%dataMediumOther%]" id="otherDM"></input>
1234
									</div>
1235
								</div>
1236
								
1237
								<div class="control-group">
1238
									<label class="control-label" for="useConstraints">*Usage Rights</label>
1239
									<div class="controls">
1240
										[% IF form == 're_entry' && useConstraints == "no restrictions" %]
1241
											<label class"radio inline">      
1242
												<input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions" CHECKED>
1243
												No restrictions
1244
											</label>	
1245
										[%ELSE%]
1246
											<label class"radio inline">
1247
									            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions">
1248
									            No restrictions
1249
									        </label>
1250
										[%END%]
1251
										[% IF form == 're_entry' && useConstraints == "Obtain permission from data set owner(s)" %]   
1252
											<label class"radio inline">   
1253
										        <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" CHECKED>
1254
										        Obtain permission from data set owner(s)
1255
										    </label> 
1256
										[%ELSE%]
1257
											<label class"radio inline">
1258
									            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)">
1259
									            Obtain permission from data set owner(s)
1260
									        </label>
1261
										[%END%]
1262
										
1263
										[% IF form == 're_entry' && useConstraints == "other" %] 
1264
											<label class"radio inline">     
1265
												<input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" CHECKED>
1266
											    Other
1267
											</label>    
1268
									    [%ELSE%]
1269
									    	<label class"radio inline">
1270
												<input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other">
1271
												Other
1272
											</label>	
1273
									    [%END%]
1274
										<input type="text" name="useConstraintsOther" id="otherUC" value="[%useConstraintsOther%]" size="49">
1275
									</div>
1276
								</div>
1277
								
1278
								<div class="control-group">
1279
									<label class="control-label" for="url">URL</label>
1280
									<div class="controls">
1281
										<input type="text" name="url" value="[%url%]">
1282
									</div>
1283
								</div>
1284
								<div class="control-group">
1285
									<label class="control-label" for="addComments">Additional Information</label>
1286
									<div class="controls">
1287
										<textarea rows="6" cols="60" name="addComments">[%addComments%]</textarea>
1288
									</div>
1289
								</div>
1290
								
1291
						    </div>
1292
						</div>
1293
						
1294
						
1176 1295
						<!-- TEMPLATE -->
1177 1296
						<div class="accordion-heading">
1178 1297
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseTemplate" href="#none">
......
1192 1311
								
1193 1312
						    </div>
1194 1313
						</div>
1195
						
1196 1314
   
1197
  <table class="tables" cellpadding="5" cellspacing="0">  
1198
    <tr class="sectheader">
1199
      <td colspan="5" align="left">
1200
        <span class="label">DISTRIBUTION INFORMATION</span>
1201
        <a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#DistributionIinformation" target="guide" class="smalltext">(What's this?)</a>
1202
      </td>
1203
      <td class="rightCol"><span><a onClick="distBit=swap(event, 'distTable', distBit)" style="cursor:pointer">Hide</a></span></td>
1204
    </tr>
1205
  </table>
1206

  
1207
   <table class="tables" cellpadding="5" cellspacing="0" id="distTable">  
1208
  <tr class="sectbody"><td class="rightCol"><span class="label">Data Set Identifier</span></td>
1209
  <td colspan="5"><input type="TEXT" name="identifier" value="[%identifier%]" class="longwidth"></td></tr>
1210
  <tr class="sectbody"><td valign="top" align="right"><span class="label">Note:</span></td>
1211
     <td colspan="4" align="left"><span class="regtext">
1212
     If available, please enter a name or number that uniquely identifies and<br>
1213
     describes concisely the data set. Alternatively, provide other pertinent<br>
1214
     information that can identify and locate the data set within your site's<br>
1215
     data management system.</span></td><td></td></tr>
1216
  
1217
    <tr class="sectbody">
1218
        <td class="rightCol"><span class="label">*Data Medium</span></td>
1219
  
1220
        <td colspan="5" align="left">
1221
        [% IF form == 're_entry' && (dataMedium == "digital " || dataMedium == "digital")  %]  
1222
            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital" CHECKED>
1223
            <span class="regtext">Digital&nbsp;&nbsp;</span></input>
1224
        [%ELSE%]
1225
            <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="digital">
1226
            <span class="regtext">Digital&nbsp;&nbsp;</span></input>
1227
        [% END %]
1228
        [% IF form == 're_entry' && (dataMedium == "hardcopy " || dataMedium == "hardcopy") %]  
1229
           <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy" CHECKED>
1230
           <span class="regtext">Hardcopy&nbsp;&nbsp;</span></input>
1231
        [%ELSE%]
1232
           <input type="radio"  name="dataMedium" onClick="handleOther(0, 'otherDM')" value="hardcopy">
1233
           <span class="regtext">Hardcopy&nbsp;&nbsp;</span></input>
1234
        [% END %]
1235
        [% IF form == 're_entry' && dataMedium == "other" %]
1236
           <input type="radio" name="dataMedium" value="other" onClick="handleOther(1, 'otherDM')" CHECKED>
1237
           <span class="regtext">Other&nbsp;</span></input>
1238
        [%ELSE%]
1239
           <input type="radio"  name="dataMedium" onClick="handleOther(1, 'otherDM')" value="other">
1240
           <span class="regtext">Other&nbsp;</span></input>
1241
        [% END %]
1242

  
1243
  <input type="TEXT" name="dataMediumOther" value="[%dataMediumOther%]" id="otherDM" class="shortwidth"></input>
1244
        </td>
1245
    </tr>  
1246
  
1247
  <tr class="sectbody"><td class="rightCol"><span class="label">*Usage Rights</span></td>
1248
      <td colspan="5" align="left">
1249
      
1250
          [% IF form == 're_entry' && useConstraints == "no restrictions" %]      
1251
      <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions" CHECKED>
1252
      <span class="regtext">No restrictions&nbsp;&nbsp;</span>
1253
          [%ELSE%]
1254
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="no restrictions">
1255
            <span class="regtext">No restrictions&nbsp;&nbsp;</span>
1256
          [%END%]
1257
          [% IF form == 're_entry' && useConstraints == "Obtain permission from data set owner(s)" %]      
1258
        <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)" CHECKED>
1259
        <span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
1260
          [%ELSE%]
1261
            <input type="radio"  name="useConstraints" onClick="handleOther(0, 'otherUC')" value="Obtain permission from data set owner(s)">
1262
            <span class="regtext">Obtain permission from data set owner(s)&nbsp;&nbsp;</span>
1263
          [%END%]
1264
          </td></tr>
1265
    
1266

  
1267
   
1268
   <tr class="sectbody"><td></td><td colspan="5" align="left">
1269
 
1270
    [% IF form == 're_entry' && useConstraints == "other" %]      
1271
      <input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other" CHECKED>
1272
      <span class="regtext">Other&nbsp;</span>
1273
    [%ELSE%]
1274
      <input type="radio"  name="useConstraints" onClick="handleOther(1, 'otherUC')" value="other">
1275
      <span class="regtext">Other&nbsp;</span>
1276
    [%END%]
1277
   <input type="TEXT" name="useConstraintsOther" id="otherUC" value="[%useConstraintsOther%]" size="49"></td</tr>
1278
   
1279
   
1280
   <tr class="sectbody"><td class="rightCol"><span class="label">URL</span></td>
1281
   <td colspan="5" align="left"><input type="TEXT" name="url" value="[%url%]" class="longwidth"></td></tr>
1282
   
1283
   <tr class="sectbody"><td valign="top" align="right"><span class="label">Additional Information</span>
1284
   <td colspan="5" align="left"><textarea rows="6" cols="60" name="addComments">[%addComments%]</textarea></td></tr>
1285
   
1286
   </table>
1287
   
1288 1315
  [% IF modules.upload == 'true' %]
1289 1316

  
1290 1317
  <!-- Associated Data -->

Also available in: Unified diff