Bootstrap 4への移行完了

This commit is contained in:
shibafu
2017-11-06 00:49:10 +09:00
parent 2038b5e7c3
commit 58258f8fe3
26 changed files with 154 additions and 18972 deletions

View File

@@ -1,75 +1,46 @@
@extends('layouts.app')
@extends('layouts.base')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Reset Password</div>
<h2>パスワードの再発行</h2>
<hr>
<div class="row justify-content-center my-5">
<div class="col-12 text-center">
<p>新しいパスワードを入力し、<strong>パスワードを変更</strong>ボタンを押してください。</p>
</div>
<div class="col-lg-6">
<form method="post" action="{{ route('password.request') }}">
{{ csrf_field() }}
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group">
<label for="email"><span class="oi oi-envelope-closed"></span> メールアドレス</label>
<input id="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" type="text" value="{{ old('email') }}" required>
@if ($errors->has('email'))
<div class="invalid-feedback">{{ $errors->first('email') }}</div>
@endif
<form class="form-horizontal" method="POST" action="{{ route('password.request') }}">
{{ csrf_field() }}
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email" class="col-md-4 control-label">E-Mail Address</label>
<div class="col-md-6">
<input id="email" type="email" class="form-control" name="email" value="{{ $email or old('email') }}" required autofocus>
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
<label for="password" class="col-md-4 control-label">Password</label>
<div class="col-md-6">
<input id="password" type="password" class="form-control" name="password" required>
@if ($errors->has('password'))
<span class="help-block">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
<label for="password-confirm" class="col-md-4 control-label">Confirm Password</label>
<div class="col-md-6">
<input id="password-confirm" type="password" class="form-control" name="password_confirmation" required>
@if ($errors->has('password_confirmation'))
<span class="help-block">
<strong>{{ $errors->first('password_confirmation') }}</strong>
</span>
@endif
</div>
</div>
<div class="form-group">
<div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">
Reset Password
</button>
</div>
</div>
</form>
</div>
</div>
<div class="form-group">
<label for="password"><span class="oi oi-key"></span> パスワード</label>
<input id="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" type="password" required>
@if ($errors->has('password'))
<div class="invalid-feedback">{{ $errors->first('password') }}</div>
@endif
</div>
<div class="form-group">
<label for="password-confirm">パスワードの再入力</label>
<input id="password-confirm" name="password_confirmation" class="form-control" type="password" required>
@if ($errors->has('password_confirmation'))
<div class="invalid-feedback">{{ $errors->first('password_confirmation') }}</div>
@endif
</div>
<button class="btn btn-primary" type="submit">パスワードを変更</button>
</form>
</div>
</div>
</div>