<!DOCTYPE html>
<html lang="en">
	<head>
	    <meta charset="utf-8">
	    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	    <title><?php echo $__env->yieldContent('title', Config::get('site.name')); ?></title>
	    <meta name="description" content="">
	    <?php echo HTML::style('favicon.png', array('rel' => 'shortcut icon')); ?>
	    
	    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>

	    <?php echo HTML::style('css/bootstrap.css'); ?>	    
	    <?php echo HTML::style('less/admin.less', array('rel'=>'stylesheet/less', 'type'=>'text/css')); ?>
	    
	    <script type="text/javascript">
		    less = {
		        env: "production", // or "production"
		        async: false,       // load imports async
		        fileAsync: true,   // load imports async when in a page under a file protocol
		        functions: {},      // user functions, keyed by name
		        relativeUrls: false,// whether to adjust url's to be relative if false, url's are already relative to the entry less file
		    };
		</script>
	    <?php echo HTML::script('js/less-1.4.1.min.js'); ?> 
	</head>
	<body style="background-color: #eee;padding-top:80px;">			
	    <section id="content">
	    	<div class="container">	    	
				<form method="post" class="form-signin">
					
					<h2 class="form-signin-heading">Please Login</h2>
					<?php if($errors->has()): ?>
						<div class="alert alert-danger">
						<?php foreach ($errors->all() as $row): ?>
					      <div><?php echo $row; ?></div>
					  	<?php endforeach; ?>
					  	</div>
					<?php endif; ?>	
				  	<p>
				  		<input type="text" name="username" id="username" class="form-control" placeholder="Username" />
				  	</p>
				  	<p>
				  		<input type="password" name="password" id="password" class="form-control" placeholder="Password" />
				  	</p>
				    <p>
				        <button class="btn btn-lg btn-primary btn-block" type="submit">Login</button>
					</p>
				</form>
	    	</div>
	    </section>
    	
    	<footer id="footer">
    		
    	</footer>
    	<script src="//code.jquery.com/jquery.js"></script>
    	<?php echo HTML::script('/js/bootstrap.min.js'); ?>
    	<?php echo $__env->yieldContent('scripts'); ?>
	</body>
</html>
