1
0
Fork 0
forked from mirror/pixelfed

Add admin page edit view

This commit is contained in:
Daniel Supernault 2018-11-03 22:16:40 -06:00
parent 1e02bb5446
commit 5057730c9d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View 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