Allow syndication targets to be added/edited in admin interface

This commit is contained in:
Jonny Barnes 2022-10-23 13:11:31 +01:00
parent ea8395a651
commit 0ddec78d09
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
7 changed files with 251 additions and 0 deletions

View file

@ -0,0 +1,22 @@
@extends('master')
@section('title')List Syndication Targets « Admin CP « @stop
@section('content')
<h1>Syndication Targets</h1>
@if($targets->isEmpty())
<p>No saved syndication targets.</p>
@else
<ul>
@foreach($targets as $target)
<li>
{{ $target['uid'] }}
<a href="/admin/syndication/{{ $target['id'] }}/edit">edit?</a>
</li>
@endforeach
</ul>
@endif
<p>
Create a <a href="/admin/syndication/create">new syndication target</a>?
</p>
@stop