Add a config display page for the micropub client
This commit is contained in:
parent
2f5ad52181
commit
aca16c9d0b
4 changed files with 30 additions and 0 deletions
14
resources/views/micropub/config.blade.php
Normal file
14
resources/views/micropub/config.blade.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
@extends('master')
|
||||
|
||||
@section('title')
|
||||
Micropub Config «
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
<p>The values for your micropub endpoint.</p>
|
||||
<dl>
|
||||
<dt>Me (your url)</dt><dd>{{ $data['me'] }}</dd>
|
||||
<dt>Token</dt><dd>{{ $data['token'] }}</dd>
|
||||
<dt>Syndication Targets</dt><dd>{{ $data['syndication'] }}</dd>
|
||||
</dl>
|
||||
@stop
|
|
@ -20,6 +20,7 @@ New Note «
|
|||
</form>
|
||||
@else
|
||||
<p>You are authenticated as <code>{{ $url }}</code>, <a href="/logout">log out</a>.</p>
|
||||
<p>Check your <a href="{{ route('micropub-config') }}">configuration</a>.</p>
|
||||
@endif
|
||||
@include('templates.new-note-form', [
|
||||
'micropub' => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue