Last active
August 29, 2015 14:13
-
-
Save shinigamicorei7/4d22f95b4d495ee6d8bf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!Doctype html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Sign in</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> | |
<!-- Open Sans font desde Google CDN --> | |
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300&subset=latin" rel="stylesheet" type="text/css"> | |
<!-- Bootstrap 3 --> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> | |
</head> | |
<body> | |
<div class="container"> | |
<div class="col-md-4 col-md-offset-4" style="padding-top: 45px;"> | |
{{ Form::open(['class' => 'panel panel-default']) }}{{-- aqui usaran la ruta dependiendo de que usuario esten usando "'route'=>'login-admin-post o login-user-post'" --}} | |
<div class="panel-heading"> | |
<h1 class="panel-title">Sign in to your Account</h1> | |
</div> | |
<div class="panel-body"> | |
<div class="form-group {{ $errors->has('username') ? 'has-error' : '' }}"> | |
<input type="text" name="username" class="form-control" placeholder="Username" /> | |
{{ $errors->first('username','<p class="help-block">:message</p>') }} | |
</div> | |
<div class="form-group {{ $errors->has('password') ? 'has-error' : '' }}"> | |
<input type="password" name="password" class="form-control" placeholder="Password" /> | |
{{ $errors->first('password','<p class="help-block">:message</p>') }} | |
</div> | |
</div> | |
<div class="panel-footer"> | |
<input type="submit" class="btn btn-primary btn-block" value="Sign in"/> | |
</div> | |
{{ Form::close() }} | |
@if(Session::has('error')) | |
<div class="alert alert-danger"> | |
{{ Session::get('error') }} | |
</div> | |
@endif | |
</div> | |
</div> | |
<!-- Get jQuery from Google CDN --> | |
<!--[if !IE]> --> | |
<script type="text/javascript"> window.jQuery || document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js">'+"<"+"/script>"); </script> | |
<!-- <![endif]--> | |
<!--[if lte IE 9]> | |
<script type="text/javascript"> window.jQuery || document.write('<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">'+"<"+"/script>"); </script> | |
<![endif]--> | |
<!-- BootstrapJS --> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment