Admin can now hopefully add a passkey to their account

This commit is contained in:
Jonny Barnes 2023-09-25 18:31:38 +01:00
parent cadd58187a
commit 2fb8339d91
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
16 changed files with 351 additions and 40 deletions

View file

@ -0,0 +1,18 @@
@extends('master')
@section('title')Passkeys « Admin CP « @stop
@section('content')
<h1>Passkeys</h1>
@if(count($passkeys) > 0)
<p>You have the following passkeys saved:</p>
<ul>
@foreach($passkeys as $passkey)
<li>{{ $passkey->passkey_id }}</li>
@endforeach
</ul>
@else
<p>You have no passkey saved.</p>
@endif
<button type="button" class="add-passkey">Add Passkey</button>
@stop

View file

@ -54,6 +54,6 @@
<h2>Passkeys</h2>
<p>
List passkeys here?
Manager <a href="/admin/passkeys">your passkeys</a>.
</p>
@stop

View file

@ -2,6 +2,7 @@
<html lang="en-GB">
<head>
<meta charset="UTF-8">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('title'){{ config('app.name') }}</title>
<meta name="viewport" content="width=device-width">
@if (!empty(config('app.font_link')))