Get rid of resources directory. Unnecessary.

This commit is contained in:
Taylor Otwell
2014-12-05 16:35:05 -06:00
parent 2d6b5c20fc
commit 0f88129356
20 changed files with 1 additions and 1 deletions

View File

@@ -1,8 +0,0 @@
@import "variables";
@import "bootstrap";
@import "partials/buttons";
@import "partials/navigation";
@import "pages/auth";
@import "pages/welcome";

View File

@@ -1,4 +0,0 @@
#forgot-password-link {
padding-top: 7px;
vertical-align: middle;
}

View File

@@ -1,70 +0,0 @@
#welcome .jumbotron {
background: $primary;
color: lighten($primary, 35%);
margin-top: -20px;
}
#welcome .jumbotron__header,
.jumbotron h1 {
font-weight: bold;
color: white;
margin-top: 0;
margin-bottom: 25px;
}
#welcome .jumbotron__body {
max-width: 80%;
margin-bottom: 0;
line-height: 1.6em;
}
#welcome .jumbotron__header, .jumbotron h1 {
font-weight: lighter;
}
#welcome h2 {
margin-bottom: 20px;
}
#welcome .steps {
max-width: 80%;
padding-left: 0;
list-style: none;
counter-reset: welcome-steps;
}
#welcome .steps > .steps__item {
margin-bottom: 2.5em;
padding: 19px;
border: 1px solid $gray-lighter;
border-radius: 4px;
overflow: hidden;
// The step number.
&:before {
content: counter(welcome-steps);
counter-increment: welcome-steps;
width: 50px;
height: 50px;
float: left;
margin-right: 1em;
background: $gray-lighter;
border-radius: 50%;
font: bold 2em monospace;
text-align: center;
line-height: 49px;
}
.body {
float: left;
}
h2 {
font-weight: bold;
margin-top: 0;
}
p:last-child {
margin-bottom: 0;
}
}

View File

@@ -1,3 +0,0 @@
.fa-btn {
margin-right: 10px;
}

View File

@@ -1,5 +0,0 @@
.navbar-avatar {
border-radius: 999px;
margin: -11px 10px -10px 0;
padding: 0;
}

View File

@@ -1,3 +0,0 @@
$font-family-sans-serif: "Lato", Helvetica, Arial, sans-serif;
$primary: #F55430;

View File

@@ -1,19 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
'previous' => '&laquo; Previous',
'next' => 'Next &raquo;',
];

View File

@@ -1,22 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Password Reminder Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are the default lines which match reasons
| that are given by the password broker for a password update attempt
| has failed, such as for an invalid token or invalid new password.
|
*/
"password" => "Passwords must be at least six characters and match the confirmation.",
"user" => "We can't find a user with that e-mail address.",
"token" => "This password reset token is invalid.",
"sent" => "Password reset link sent!",
"reset" => "Password has been reset!",
];

View File

@@ -1,107 +0,0 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
"accepted" => "The :attribute must be accepted.",
"active_url" => "The :attribute is not a valid URL.",
"after" => "The :attribute must be a date after :date.",
"alpha" => "The :attribute may only contain letters.",
"alpha_dash" => "The :attribute may only contain letters, numbers, and dashes.",
"alpha_num" => "The :attribute may only contain letters and numbers.",
"array" => "The :attribute must be an array.",
"before" => "The :attribute must be a date before :date.",
"between" => [
"numeric" => "The :attribute must be between :min and :max.",
"file" => "The :attribute must be between :min and :max kilobytes.",
"string" => "The :attribute must be between :min and :max characters.",
"array" => "The :attribute must have between :min and :max items.",
],
"boolean" => "The :attribute field must be true or false.",
"confirmed" => "The :attribute confirmation does not match.",
"date" => "The :attribute is not a valid date.",
"date_format" => "The :attribute does not match the format :format.",
"different" => "The :attribute and :other must be different.",
"digits" => "The :attribute must be :digits digits.",
"digits_between" => "The :attribute must be between :min and :max digits.",
"email" => "The :attribute must be a valid email address.",
"filled" => "The :attribute field is required.",
"exists" => "The selected :attribute is invalid.",
"image" => "The :attribute must be an image.",
"in" => "The selected :attribute is invalid.",
"integer" => "The :attribute must be an integer.",
"ip" => "The :attribute must be a valid IP address.",
"max" => [
"numeric" => "The :attribute may not be greater than :max.",
"file" => "The :attribute may not be greater than :max kilobytes.",
"string" => "The :attribute may not be greater than :max characters.",
"array" => "The :attribute may not have more than :max items.",
],
"mimes" => "The :attribute must be a file of type: :values.",
"min" => [
"numeric" => "The :attribute must be at least :min.",
"file" => "The :attribute must be at least :min kilobytes.",
"string" => "The :attribute must be at least :min characters.",
"array" => "The :attribute must have at least :min items.",
],
"not_in" => "The selected :attribute is invalid.",
"numeric" => "The :attribute must be a number.",
"regex" => "The :attribute format is invalid.",
"required" => "The :attribute field is required.",
"required_if" => "The :attribute field is required when :other is :value.",
"required_with" => "The :attribute field is required when :values is present.",
"required_with_all" => "The :attribute field is required when :values is present.",
"required_without" => "The :attribute field is required when :values is not present.",
"required_without_all" => "The :attribute field is required when none of :values are present.",
"same" => "The :attribute and :other must match.",
"size" => [
"numeric" => "The :attribute must be :size.",
"file" => "The :attribute must be :size kilobytes.",
"string" => "The :attribute must be :size characters.",
"array" => "The :attribute must contain :size items.",
],
"unique" => "The :attribute has already been taken.",
"url" => "The :attribute format is invalid.",
"timezone" => "The :attribute must be a valid zone.",
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap attribute place-holders
| with something more reader friendly such as E-Mail Address instead
| of "email". This simply helps us make messages a little cleaner.
|
*/
'attributes' => [],
];

View File

@@ -1,73 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<!-- Application Title -->
<title>Laravel Application</title>
<!-- Bootstrap CSS -->
<link href="/css/app.css" rel="stylesheet">
<link href="/css/vendor/font-awesome.css" rel="stylesheet">
<!-- Web Fonts -->
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic' rel='stylesheet' type='text/css'>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Static navbar -->
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">Laravel</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li><a href="/">Home</a></li>
</ul>
@if (Auth::check())
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="https://www.gravatar.com/avatar/{{{ md5(strtolower(Auth::user()->email)) }}}?s=35" height="35" width="35" class="navbar-avatar">
{{ Auth::user()->name }} <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="/auth/logout"><i class="fa fa-btn fa-sign-out"></i>Logout</a></li>
</ul>
</li>
</ul>
@else
<ul class="nav navbar-nav navbar-right">
<li><a href="/auth/login"><i class="fa fa-btn fa-sign-in"></i>Login</a></li>
<li><a href="/auth/register"><i class="fa fa-btn fa-user"></i>Register</a></li>
</ul>
@endif
</div>
</div>
</nav>
@yield('content')
<!-- Bootstrap JavaScript -->
<script src="/js/vendor/jquery.js"></script>
<script src="/js/vendor/bootstrap.js"></script>
</body>
</html>

View File

@@ -1,51 +0,0 @@
@extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Login</div>
<div class="panel-body">
@include('partials.errors.basic')
<form class="form-horizontal" role="form" method="POST" action="/auth/login">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group">
<label for="email" class="col-sm-3 control-label">Email</label>
<div class="col-sm-6">
<input type="email" id="email" name="email" class="form-control" placeholder="Email" autocapitalize="off" value="{{ old('email') }}">
</div>
</div>
<div class="form-group">
<label for="password" class="col-sm-3 control-label">Password</label>
<div class="col-sm-6">
<input type="password" name="password" class="form-control" placeholder="Password">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-6">
<div class="checkbox">
<label>
<input type="checkbox" name="remember"> Remember Me
</label>
</div>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-3">
<button type="submit" class="btn btn-primary"><i class="fa fa-btn fa-sign-in"></i>Login</button>
</div>
<div class="col-sm-3">
<div id="forgot-password-link" class="text-right"><a href="/password/email">Forgot Your Password?</a></div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@stop

View File

@@ -1,39 +0,0 @@
@extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Forgotten Password</div>
<div class="panel-body">
@include('partials.errors.basic')
@if (Session::has('status'))
<div class="alert alert-success">
{{ Session::get('status') }}
</div>
@endif
<form class="form-horizontal" role="form" method="POST" action="/password/email">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group">
<label for="email" class="col-sm-3 control-label">Email</label>
<div class="col-sm-6">
<input type="email" id="email" name="email" class="form-control" placeholder="Email" autocapitalize="off" value="{{ old('email') }}">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-3">
<button type="submit" class="btn btn-primary"><i class="fa fa-btn fa-envelope"></i>Send Password Reset Link</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@stop

View File

@@ -1,51 +0,0 @@
@extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Register</div>
<div class="panel-body">
@include('partials.errors.basic')
<form class="form-horizontal" role="form" method="POST" action="/auth/register">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group">
<label for="name" class="col-sm-3 control-label">Name</label>
<div class="col-sm-6">
<input type="text" id="name" name="name" class="form-control" placeholder="Name" value="{{ old('name') }}">
</div>
</div>
<div class="form-group">
<label for="email" class="col-sm-3 control-label">Email</label>
<div class="col-sm-6">
<input type="email" id="email" name="email" class="form-control" placeholder="Email" autocapitalize="off" value="{{ old('email') }}">
</div>
</div>
<div class="form-group">
<label for="password" class="col-sm-3 control-label">Password</label>
<div class="col-sm-6">
<input type="password" name="password" class="form-control" placeholder="Password">
</div>
</div>
<div class="form-group">
<label for="password_confirmation" class="col-sm-3 control-label">Confirm Password</label>
<div class="col-sm-6">
<input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-3">
<button type="submit" class="btn btn-primary"><i class="fa fa-btn fa-user"></i>Register</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@stop

View File

@@ -1,46 +0,0 @@
@extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<div class="panel-body">
@include('partials.errors.basic')
<form class="form-horizontal" role="form" method="POST" action="/password/reset">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group">
<label for="email" class="col-sm-3 control-label">Email</label>
<div class="col-sm-6">
<input type="email" id="email" name="email" class="form-control" placeholder="Email" autocapitalize="off" value="{{ old('email') }}">
</div>
</div>
<div class="form-group">
<label for="password" class="col-sm-3 control-label">Password</label>
<div class="col-sm-6">
<input type="password" name="password" class="form-control" placeholder="Password">
</div>
</div>
<div class="form-group">
<label for="password_confirmation" class="col-sm-3 control-label">Confirm Password</label>
<div class="col-sm-6">
<input type="password" name="password_confirmation" class="form-control" placeholder="Confirm Password">
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-3 col-sm-3">
<button type="submit" class="btn btn-primary"><i class="fa fa-btn fa-refresh"></i>Reset Password</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@stop

View File

@@ -1,15 +0,0 @@
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
</head>
<body>
<h2>Password Reset</h2>
<div>
To reset your password, complete this form: {{ url('password/reset', [$token]) }}.<br><br>
This link will expire in {{ config('auth.reminder.expire', 60) }} minutes.
</div>
</body>
</html>

View File

@@ -1 +0,0 @@
Be right back!

View File

@@ -1,18 +0,0 @@
@extends('app')
@section('content')
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Dashboard</div>
<div class="panel-body">
Application dashboard.
</div>
</div>
</div>
</div>
</div>
@stop

View File

@@ -1,10 +0,0 @@
@if (count($errors) > 0)
<div class="alert alert-danger">
<strong>Whoops!</strong> There were some problems with your input.<br><br>
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif

View File

@@ -1,60 +0,0 @@
@extends('app')
@section('content')
<div id="welcome">
<div class="jumbotron">
<div class="container">
<h1 class="jumbotron__header">You have arrived.</h1>
<p class="jumbotron__body">
Laravel is a web application framework with expressive, elegant syntax. We believe development
must be an enjoyable, creative experience. Enjoy the fresh air.
</p>
</div>
</div>
<div class="container">
<ol class="steps">
<li class="steps__item">
<div class="body">
<h2>Go Exploring</h2>
<p>
Review <code>app/Http/routes.php</code> to learn how HTTP requests are
routed to controllers.
</p>
<p>
We've included simple login and registration screens to get you started.
</p>
</div>
</li>
<li class="steps__item">
<div class="body">
<h2>Master Your Craft</h2>
<p>
Ready to keep learning more about Laravel? Start here:
</p>
<ul>
<li><a href="http://laravel.com/docs">Laravel Documentation</a></li>
<li><a href="https://laracasts.com">Laravel 5 From Scratch (via Laracasts)</a></li>
</ul>
</div>
</li>
<li class="steps__item">
<div class="body">
<h2>Forge Ahead</h2>
<p>
When you're finished building your application, Laravel still has your back. Check out <a href="https://forge.laravel.com">Laravel Forge</a>.
</p>
</div>
</li>
</ol>
</div>
</div>
@stop