		<div class="row login">
			<div class="col-lg-offset-4 col-lg-4">
				<div class="bs-component form-horizontal" align="center">
					<img src="<?php echo base_url(); ?>/dist/img/logo.png" class="logo" id="logo"/>
				
					<div class="well" style="position: relative;display:none;" id="camer">
						<canvas width="122" height="122" id="webcodecam-canvas"></canvas>
						<div class="scanner-laser laser-rightBottom" style="opacity: 0.5;"></div>
						<div class="scanner-laser laser-rightTop" style="opacity: 0.5;"></div>
						<div class="scanner-laser laser-leftBottom" style="opacity: 0.5;"></div>
						<div class="scanner-laser laser-leftTop" style="opacity: 0.5;"></div>
					</div>
						
					<?php echo $this->session->flashdata('Login'); ?>
					<?php echo form_open('vote/login'); ?>
						<div class="form-group">
							<div class="col-lg-12" align="center">

								<label class="col-lg-6 control-label">Kode Pemilihan <div class='label label-info' id="play"><i class="fa fa-camera fa-fw"></i> QR-Code</div></label> 
								<div class="col-lg-6">
									<?php echo form_input($code); ?><p id="scanned-QR"></p> <button type="submit" class="btn btn-primary">Masuk</button>
								</div>
							<!--	<button type="reset" class="btn btn-danger">Batal</button> -->
								
							</div>
						</div> 
					<?php echo form_close(); ?> 
					
				</div>
			</div>
		</div>

                	               
<select class="form-control" id="camera-select" style="display: none"></select>
<div id="decode-img"></div><div id="grab-img"></div><div id="pause"></div><div id="stop"></div>
<img width="0" height="0" id="scanned-img" src="" style="display: none">
                            
                        
                   
		
		<script>
			var halaman = '<?php echo site_url(); ?>';
		</script>
			<script type="text/javascript" src="<?php echo base_url(); ?>/dist/js/qrcode/filereader.js"></script>
			<script type="text/javascript" src="<?php echo base_url(); ?>/dist/js/qrcode/qrcodelib.js"></script>
			<script type="text/javascript" src="<?php echo base_url(); ?>/dist/js/qrcode/webcodecamjs.js"></script>
			<script type="text/javascript" src="<?php echo base_url(); ?>/dist/js/qrcode/main.js"></script>

		<script>
			$(document).ready(function(){
				$("#play").click(function(){
					$("#logo").hide();
					$("#camer").fadeIn();
				});
			});
		</script>
    </body>
</html>
                