Admin can now hopefully add a passkey to their account
This commit is contained in:
parent
cadd58187a
commit
2fb8339d91
16 changed files with 351 additions and 40 deletions
18
resources/views/admin/passkeys/index.blade.php
Normal file
18
resources/views/admin/passkeys/index.blade.php
Normal 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
|
|
@ -54,6 +54,6 @@
|
|||
|
||||
<h2>Passkeys</h2>
|
||||
<p>
|
||||
List passkeys here?
|
||||
Manager <a href="/admin/passkeys">your passkeys</a>.
|
||||
</p>
|
||||
@stop
|
||||
|
|
|
@ -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')))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue