1
0
Fork 0
pixelfed/resources/views/auth/sudo.blade.php

48 lines
2.0 KiB
PHP
Raw Normal View History

2018-09-09 20:21:20 +00:00
@extends('layouts.blank')
@section('content')
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-lg-5">
<div class="text-center">
<img src="/img/pixelfed-icon-color.svg" height="60px">
<p class="font-weight-light h3 py-4">Confirm password to continue</p>
</div>
<div class="card">
<div class="card-body">
<form method="POST">
@csrf
2020-03-15 04:35:35 +00:00
<div class="form-group">
<input id="password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" placeholder="{{__('Password')}}" required>
2018-09-09 20:21:20 +00:00
2020-03-15 04:35:35 +00:00
@if ($errors->has('password'))
<span class="invalid-feedback">
<strong>{{ $errors->first('password') }}</strong>
</span>
@endif
</div>
2018-09-09 20:21:20 +00:00
2020-03-15 04:35:35 +00:00
<div class="form-group">
<div class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input" id="trusted-device" name="trustDevice">
2020-11-22 03:49:51 +00:00
<label class="custom-control-label text-muted" for="trusted-device">Trust this device and don't ask again</label>
2018-09-09 20:21:20 +00:00
</div>
2020-03-15 04:35:35 +00:00
</div>
2018-09-09 20:21:20 +00:00
<div class="form-group row mb-0">
<div class="col-md-12">
<button type="submit" class="btn btn-success btn-block font-weight-bold">
{{ __('Confirm Password') }}
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
@endsection