1
0

media.blade.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @extends('settings.template')
  2. @section('section')
  3. <div class="title">
  4. <h3 class="font-weight-bold">Media</h3>
  5. </div>
  6. <hr>
  7. <form method="post">
  8. @csrf
  9. <div class="form-group pb-3">
  10. <label class="form-check-label font-weight-bold" for="">Default License</label>
  11. <select class="form-control" name="default">
  12. @foreach(App\Util\Media\License::get() as $license)
  13. <option value="{{$license['id']}}" {{$compose['default_license'] == $license['id'] ? 'selected':''}}>
  14. {{$license['name']}}
  15. @if($license['id'] > 10)
  16. ({{$license['title']}})
  17. @endif
  18. </option>
  19. @endforeach
  20. </select>
  21. <p class="text-muted small help-text">Set a default license for new posts.</p>
  22. </div>
  23. <div class="form-check pb-3">
  24. <input class="form-check-input" type="checkbox" name="sync">
  25. <label class="form-check-label font-weight-bold" for="">Sync Licenses</label>
  26. <p class="text-muted small help-text">Update existing posts with your new default license. You can sync twice every 24 hours.<br />License changes may not be reflected on remote servers.</p>
  27. </div>
  28. <div class="form-check pb-3">
  29. <input class="form-check-input" type="checkbox" name="media_descriptions" {{$compose['media_descriptions'] == $license['id'] ? 'checked':''}}>
  30. <label class="form-check-label font-weight-bold" for="">Require Media Descriptions</label>
  31. <p class="text-muted small help-text">
  32. Briefly describe your media to improve accessibility for vision impaired people. <br />
  33. <span class="font-weight-bold">Not available for mobile or 3rd party apps at this time.</span>
  34. </p>
  35. </div>
  36. <div class="form-group row mt-5 pt-5">
  37. <div class="col-12 text-right">
  38. <hr>
  39. <button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
  40. </div>
  41. </div>
  42. </form>
  43. @endsection