mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Add admin page edit view
This commit is contained in:
parent
1e02bb5446
commit
5057730c9d
1 changed files with 45 additions and 0 deletions
45
resources/views/admin/pages/edit.blade.php
Normal file
45
resources/views/admin/pages/edit.blade.php
Normal file
|
@ -0,0 +1,45 @@
|
|||
@extends('admin.partial.template')
|
||||
|
||||
@section('section')
|
||||
<div class="title">
|
||||
<h3 class="font-weight-bold">Edit Page</h3>
|
||||
<p class="lead">{{request()->query('page')}}</p>
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
<div>
|
||||
<div id="editor" style="height: 400px">
|
||||
<p class="lead">PixelFed is a federated image sharing platform, powered by the <a href="#">ActivityPub</a> protocol.</p>
|
||||
</div>
|
||||
<p class="mt-3 text-right mb-0">
|
||||
<a class="btn btn-primary font-weight-bold" href="#">Save</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('styles')
|
||||
<link href="https://cdn.quilljs.com/1.3.6/quill.snow.css" rel="stylesheet">
|
||||
<style type="text/css">
|
||||
.ql-container {
|
||||
box-sizing: border-box;
|
||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",
|
||||
Roboto,Helvetica,Arial,sans-serif;
|
||||
font-size: 16px;
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
@push('scripts')
|
||||
<!-- Include the Quill library -->
|
||||
<script src="https://cdn.quilljs.com/1.3.6/quill.js"></script>
|
||||
|
||||
<!-- Initialize Quill editor -->
|
||||
<script>
|
||||
var quill = new Quill('#editor', {
|
||||
theme: 'snow'
|
||||
});
|
||||
</script>
|
||||
@endpush
|
Loading…
Reference in a new issue