mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 00:03:16 +00:00
Update 2fa checkpoint view design
This commit is contained in:
parent
506f95c6b1
commit
86c472ac19
1 changed files with 58 additions and 45 deletions
|
@ -1,17 +1,28 @@
|
|||
@extends('layouts.blank')
|
||||
|
||||
@push('styles')
|
||||
<link href="{{ mix('css/landing.css') }}" rel="stylesheet">
|
||||
<link rel="preload" as="image" href="{{ url('/_landing/bg.jpg')}}" />
|
||||
@endpush
|
||||
|
||||
@section('content')
|
||||
<div class="container mt-5">
|
||||
<div class="page-wrapper">
|
||||
<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">Verify Two Factor Code</p>
|
||||
</div>
|
||||
<div class="alert alert-info small">
|
||||
<a href="/">
|
||||
<img src="/img/pixelfed-icon-white.svg" height="60px">
|
||||
</a>
|
||||
<h1 class="pt-4 pb-1">2FA Checkpoint</h1>
|
||||
<p class="font-weight-light lead">
|
||||
Enter the 2FA code from your device.
|
||||
</p>
|
||||
<p class="text-muted small pb-3">
|
||||
If you lose access to your 2FA device, contact the admins.
|
||||
</p>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card bg-glass">
|
||||
<div class="card-body">
|
||||
<form method="POST">
|
||||
@csrf
|
||||
|
@ -31,7 +42,7 @@
|
|||
|
||||
<div class="form-group row mb-0">
|
||||
<div class="col-md-12">
|
||||
<button type="submit" class="btn btn-success btn-block font-weight-bold">
|
||||
<button type="submit" class="btn btn-success btn-block rounded-pill font-weight-bold">
|
||||
{{ __('Verify') }}
|
||||
</button>
|
||||
|
||||
|
@ -40,14 +51,16 @@
|
|||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d-flex justify-content-between pt-4 small">
|
||||
<span class="text-lighter text-decoration-none">Logged in as: <span class="font-weight-bold text-muted">{{Auth::user()->username}}</span></span>
|
||||
<span>
|
||||
<a class="text-decoration-none text-muted font-weight-bold" href="{{ route('logout') }}" onclick="event.preventDefault();document.getElementById('logout-form').submit();">Logout</a>
|
||||
<form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
|
||||
<div class="d-flex justify-content-between my-3">
|
||||
<p class="mb-0 small">
|
||||
<span class="text-muted">Logged in as:</span> {{request()->user()->username}}
|
||||
</p>
|
||||
|
||||
<form action="/logout" method="post">
|
||||
@csrf
|
||||
<button type="submit" class="btn btn-link p-0 btn-sm text-white font-weight-bold">Logout</button>
|
||||
</form>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue