Update authorize view

This commit is contained in:
Daniel Supernault 2019-10-02 13:25:35 -06:00
parent 7c17c0e4ff
commit b5a83d9e8b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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>