2021-04-16 01:00:00 +02:00
|
|
|
@extends('layouts.sidebar')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
2022-03-23 13:57:20 +01:00
|
|
|
<script src="{{ asset('resources/ckeditor/ckeditor.js') }}"></script>
|
2022-12-22 09:51:19 +01:00
|
|
|
|
2022-11-08 16:11:59 +01:00
|
|
|
<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">
|
2021-04-16 01:00:00 +02:00
|
|
|
|
|
|
|
<form action="{{ route('editSite') }}" enctype="multipart/form-data" method="post">
|
|
|
|
@csrf
|
|
|
|
<div class="form-group col-lg-8">
|
2022-12-22 09:51:19 +01:00
|
|
|
<label>Site logo</label>@if(file_exists(base_path("littlelink/images/").findFile('avatar')))<a title="Remove icon" class="hvr-grow p-1 text-danger" style="padding-left:5px;" href="{{ route('delAvatar') }}"><i class="bi bi-trash-fill"></i></a>@endif
|
2021-04-16 01:00:00 +02:00
|
|
|
<input type="file" class="form-control-file" name="image">
|
|
|
|
</div>
|
2022-11-29 23:33:25 +01:00
|
|
|
<div class="form-group col-lg-8">
|
2022-12-22 09:51:19 +01:00
|
|
|
<label>Favicon</label>@if(file_exists(base_path("littlelink/images/").findFile('favicon')))<a title="Remove icon" class="hvr-grow p-1 text-danger" style="padding-left:5px;" href="{{ route('delFavicon') }}"><i class="bi bi-trash-fill"></i></a>@endif
|
2022-11-29 23:33:25 +01:00
|
|
|
<input type="file" class="form-control-file" name="icon">
|
|
|
|
</div>
|
2021-04-16 01:00:00 +02:00
|
|
|
<div class="form-group col-lg-8">
|
2022-03-23 13:57:20 +01:00
|
|
|
<h3>Home message</h3>
|
|
|
|
<textarea class="form-control ckeditor" name="message" rows="3">{{ $home_message }}</textarea>
|
2021-04-16 01:00:00 +02:00
|
|
|
</div>
|
|
|
|
<button type="submit" class="mt-3 ml-3 btn btn-info">Submit</button>
|
|
|
|
</form>
|
|
|
|
|
2022-11-08 16:11:59 +01:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2021-04-16 01:00:00 +02:00
|
|
|
@endsection
|