<?php
	include("corps_html.php");
?>	

<script>
function selection_bloc()
{
	var bloc = document.getElementById('bloc').value;
	//alert(bloc);
	//window.location = "passage.php?val=element";
	window.location.replace("passage.php?bloc=" + bloc);
}	
</script>

<body>
	<div class="layout">
	
<?php
	include("header.php");
?>	
		
<!-- Main -->
		<div class="main">
			<div class="container">
				<div class="row">
				
				<div class="col-md-8">
						<!-- Content -->
						
						<div class="content">
							<div class="page-header">
								<!--<h3>Interface du gestionnaire de projets</h3> -->
								<h2><i class="icon-bullhorn"></i> <span>Liste des blocs</span></h2>
							</div>
							<!-- Single Page -->
								<div class="page">
								<div class="examples">
								<!--	<div class="topic">DOCTYPE</div> -->
								<select class="form-control" size = "10" name="bloc" id="bloc">
								<option value="Ibias" selected="selected">Ibias</option>
								<option value="Vcore">Vcore</option>
								<option value="I2C">I2C</option>
								<option value="CP">CP</option>
								<option value="Power">Power</option>
								</select>
								<br/>
								<input class="btn btn-primary" type="submit" value="Selection" id="submit" onclick="selection_bloc()" />
								</div>	
								
								<div class="clear"></div>
								<div class="clear"></div>
								</div>
								<!-- End Single Page -->
						</div>
						<!-- End Content -->
				</div>
					
				</div>
			</div>
		</div>
<!-- End Main -->
		
<?php
	include("footer.php");
?>			

</body>
</html>
