Project

General

Profile

« Previous | Next » 

Revision 8059

clean up the modal guide - finally working. except for the section #anchors

View differences:

lib/style/common/templates/metacatui/entryForm.tmpl
8 8
	<!-- CONTENT SECTION
9 9
    ======================================================================= -->
10 10
	<article id="RegistryEntryForm">
11
	
12
		<!-- Modal area for the guide-->
13
		<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%]&amp;stage=guide">
14
		  <div class="modal-header">
15
		    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
16
		    <h3 id="myModalLabel"></h3>
17
		  </div>
18
		  <div class="modal-body">
19
		  	<p>Loading...</p>
20
		  </div>
21
		  <div class="modal-footer">
22
		    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
23
		    <!--<button class="btn btn-primary" data-dismiss="modal">Ok</button>-->
24
		  </div>
25
		</div>
26
		<script language="JavaScript" type="text/JavaScript">
27
			// get it out of special containers with 'position: blah' CSS
28
			$('#myModal').appendTo("body");
29
		</script>
11 30
		
12 31
		<div class="container">
13 32
		
......
67 86
							<a class="accordion-toggle" data-toggle="collapse" data-target="#collapseSubmitter" href="#none">
68 87
								Submitter  
69 88
							</a>
70
							<button data-toggle="modal" data-target="#myModal" role="button" class="btn" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter" >SHOW</button>
71
							
72
							<a data-toggle="modal" data-target="#myModal" role="button" class="btn" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter" ><i class="icon-question-sign"></i></a>
89
							<a data-toggle="modal" data-target="#myModal" role="button" href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter" ><i class="icon-question-sign"></i></a>
73 90
							<!--<a href="[% cgiPrefix %]/register-dataset.cgi?cfg=[%cfg%]&amp;stage=guide#Submitter"><i class="icon-question-sign"></i></a>-->
74 91
						</div>
75 92
						<div id="collapseSubmitter" class="accordion-body collapse in">
......
1410 1427
			
1411 1428
		</div>
1412 1429
		
1413
		<!-- Modal area for the guide-->
1414
		<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%]&amp;stage=guide">
1415
		  <div class="modal-header">
1416
		    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
1417
		    <h3 id="myModalLabel">Registry Guide</h3>
1418
		  </div>
1419
		  <div class="modal-body">
1420
		  	<p>Loading...</p>
1421
		  </div>
1422
		  <div class="modal-footer">
1423
		    <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
1424
		    <button class="btn btn-primary" data-dismiss="modal">Ok</button>
1425
		  </div>
1426
		</div>
1427
		<script language="JavaScript" type="text/JavaScript">
1428
			// get it out of special containers with 'position: blah' CSS
1429
			$('#myModal').appendTo("body");
1430
		</script>
1431
		
1432 1430
	</article>

Also available in: Unified diff