pixelfed/resources/views/account/verify_email.blade.php

48 lines
1.8 KiB
PHP
Raw Permalink Normal View History

2018-06-14 05:30:43 +00:00
@extends('layouts.app')
@section('content')
<div class="container mt-4">
<div class="col-12 col-md-8 offset-md-2">
@if (session('status'))
<div class="alert alert-success">
2018-08-24 00:57:32 +00:00
<p class="font-weight-bold mb-0">{{ session('status') }}</p>
</div>
@endif
@if (session('error'))
<div class="alert alert-danger">
<p class="font-weight-bold mb-0">{{ session('error') }}</p>
2018-06-14 05:30:43 +00:00
</div>
@endif
2021-11-09 06:02:34 +00:00
@if(Auth::user()->email_verified_at)
<p class="lead text-center mt-5">Your email is already verified. <a href="/" class="font-weight-bold">Click here</a> to go home.</p>
@else
<div class="card shadow-none border">
2018-06-14 05:30:43 +00:00
<div class="card-header font-weight-bold bg-white">Confirm Email Address</div>
<div class="card-body">
2021-11-09 06:02:34 +00:00
<p class="lead text-break">You need to confirm your email address <span class="font-weight-bold">{{Auth::user()->email}}</span> before you can proceed.</p>
@if(!$recentSent)
2018-06-14 05:30:43 +00:00
<form method="post">
@csrf
<button type="submit" class="btn btn-primary btn-block py-1 font-weight-bold">Send Confirmation Email</button>
</form>
2021-11-09 06:02:34 +00:00
@else
<button class="btn btn-primary btn-block py-1 font-weight-bold" disabled>Confirmation Email Sent</button>
@endif
<p class="mt-3 mb-0 small text-muted"><a href="/settings/email" class="font-weight-bold">Click here</a> to change your email address.</p>
2018-06-14 05:30:43 +00:00
</div>
</div>
2021-11-09 06:02:34 +00:00
@if($recentSent)
<div class="card mt-3 border shadow-none">
<div class="card-body">
<p class="mb-0 text-muted">If you are experiencing issues receiving your email confirmation, you can <a href="/i/verify-email/request" class="font-weight-bold">request manual verification</a>.</p>
</div>
</div>
@endif
@endif
2018-06-14 05:30:43 +00:00
</div>
</div>
@endsection