LinkStack/resources/views/panel/site.blade.php
Julian Prieber 38c856484d Added support for custom favicon
Custom logo and custom favicons can now have any supported format.
2022-11-29 23:33:25 +01:00

32 lines
1.0 KiB
PHP
Executable File

@extends('layouts.sidebar')
@section('content')
<script src="{{ asset('resources/ckeditor/ckeditor.js') }}"></script>
<section class="shadow text-gray-400">
<h2 class="mb-4 card-header"><i class="bi bi-person"> Site</i></h2>
<div class="card-body p-0 p-md-3">
<form action="{{ route('editSite') }}" enctype="multipart/form-data" method="post">
@csrf
<div class="form-group col-lg-8">
<label>Site logo</label>
<input type="file" class="form-control-file" name="image">
</div>
<div class="form-group col-lg-8">
<label>Favicon</label>
<input type="file" class="form-control-file" name="icon">
</div>
<div class="form-group col-lg-8">
<h3>Home message</h3>
<textarea class="form-control ckeditor" name="message" rows="3">{{ $home_message }}</textarea>
</div>
<button type="submit" class="mt-3 ml-3 btn btn-info">Submit</button>
</form>
</div>
</section>
@endsection