mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 23:13:17 +00:00
47 lines
1.8 KiB
PHP
47 lines
1.8 KiB
PHP
@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">
|
|
<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>
|
|
</div>
|
|
@endif
|
|
|
|
@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">
|
|
<div class="card-header font-weight-bold bg-white">Confirm Email Address</div>
|
|
<div class="card-body">
|
|
<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)
|
|
<form method="post">
|
|
@csrf
|
|
<button type="submit" class="btn btn-primary btn-block py-1 font-weight-bold">Send Confirmation Email</button>
|
|
</form>
|
|
@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>
|
|
</div>
|
|
</div>
|
|
|
|
@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
|
|
</div>
|
|
</div>
|
|
@endsection
|