mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update authorize view
This commit is contained in:
parent
7c17c0e4ff
commit
b5a83d9e8b
1 changed files with 7 additions and 2 deletions
|
@ -44,13 +44,13 @@
|
||||||
<div class="text-center mb-5">
|
<div class="text-center mb-5">
|
||||||
<img src="/img/pixelfed-icon-grey.svg">
|
<img src="/img/pixelfed-icon-grey.svg">
|
||||||
</div>
|
</div>
|
||||||
<div class="card card-default">
|
<div class="card card-default shadow-none border">
|
||||||
<div class="card-header text-center font-weight-bold bg-white">
|
<div class="card-header text-center font-weight-bold bg-white">
|
||||||
Authorization Request
|
Authorization Request
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<!-- Introduction -->
|
<!-- Introduction -->
|
||||||
<p><strong>{{ $client->name }}</strong> is requesting permission to access your account.</p>
|
<p><strong>{{ $client->name }}</strong> is requesting permission to access your <strong>{{request()->user()->username}}</strong> account.</p>
|
||||||
|
|
||||||
<!-- Scope List -->
|
<!-- Scope List -->
|
||||||
@if (count($scopes) > 0)
|
@if (count($scopes) > 0)
|
||||||
|
@ -85,6 +85,11 @@
|
||||||
<button class="btn btn-outline-danger font-weight-bold">Cancel</button>
|
<button class="btn btn-outline-danger font-weight-bold">Cancel</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
<hr>
|
||||||
|
<p class="mb-0 text-center small text-muted">Click <a href="{{ route('logout') }}" class="font-weight-bold" onclick="event.preventDefault();document.getElementById('logout_auth').submit();">here</a> to log out of this account.</p>
|
||||||
|
<form id="logout_auth" action="{{ route('logout') }}" method="POST" style="display: none;">
|
||||||
|
@csrf
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue