From 997da7a7e97aa5b95a38b158cf9d67a22e40a765 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Wed, 15 Mar 2017 12:24:06 +0000 Subject: [PATCH] Update views for the micropub client --- resources/views/micropub/config.blade.php | 4 +- .../views/templates/new-note-form.blade.php | 38 +++++++++++++++++-- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/resources/views/micropub/config.blade.php b/resources/views/micropub/config.blade.php index 8ad97248..fd06d71e 100644 --- a/resources/views/micropub/config.blade.php +++ b/resources/views/micropub/config.blade.php @@ -9,6 +9,8 @@ Micropub Config «
Me (your url)
{{ $data['me'] }}
Token
{{ $data['token'] }}
-
Syndication Targets
{{ $data['syndication'] }}
+
Syndication Targets
    @foreach ($data['syndication'] as $syn)
  • {{ $syn['name'] }} ({{ $syn['target'] }})
  • @endforeach
+
Media Endpoint
{{ $data['media-endpoint'] }}
+

Re-query the endpoint.

@stop diff --git a/resources/views/templates/new-note-form.blade.php b/resources/views/templates/new-note-form.blade.php index 50267cf9..10066955 100644 --- a/resources/views/templates/new-note-form.blade.php +++ b/resources/views/templates/new-note-form.blade.php @@ -22,7 +22,7 @@ @if($syndication)
-
@endif -
- Refresh Syndication Targets -
+ @if($mediaURLs) + + Clear media + @endif @endif +@if(!$mediaEndpoint)
+@endif
+
+ + +@endif