diff --git a/resources/views/admin/pages/edit.blade.php b/resources/views/admin/pages/edit.blade.php index c40dabdd..bf903304 100644 --- a/resources/views/admin/pages/edit.blade.php +++ b/resources/views/admin/pages/edit.blade.php @@ -1,19 +1,37 @@ @extends('admin.partial.template') +@include('admin.settings.sidebar') + @section('section')

Edit Page

-

{{request()->query('page')}}

+

{{$page->slug}}


-
-

PixelFed is a federated image sharing platform, powered by the ActivityPub protocol.

-
-

- Save + + +

+ Page URL: {{$page->url()}} + Edit

+
+ {!!$page->content!!} +
+
+
+
+ active?'checked="true"':''}}> + +
+ Set Expire Date +
+
+ Preview + Save +
+
@endsection @@ -38,8 +56,29 @@ @endpush \ No newline at end of file diff --git a/resources/views/admin/pages/home.blade.php b/resources/views/admin/pages/home.blade.php new file mode 100644 index 00000000..4cb8c3e0 --- /dev/null +++ b/resources/views/admin/pages/home.blade.php @@ -0,0 +1,47 @@ +@extends('admin.partial.template') + +@include('admin.settings.sidebar') + +@section('section') +
+

Pages

+

Set custom page content

+
+
+ +
+ + + + + + + + + + + @foreach($pages as $page) + + + + + + + @endforeach + +
+ ID + + Slug + + Active + + Updated +
+ {{$page->id}} + {{$page->slug}}{{$page->active ? 'active':'inactive'}}{{$page->updated_at->diffForHumans(null, true, true, true)}}
+
+
+ {{$pages->links()}} +
+@endsection \ No newline at end of file