1
0

customcss.blade.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @extends('admin.partial.template-full')
  2. @section('section')
  3. </div>
  4. <div class="header bg-primary pb-3 mt-n4">
  5. <div class="container-fluid">
  6. <div class="header-body">
  7. <div class="row align-items-center py-4">
  8. <div class="col-lg-6 col-7">
  9. <p class="display-1 text-white d-inline-block mb-0">Custom CSS</p>
  10. <p class="lead mb-0 text-white">Customize your instance with custom css.</p>
  11. </div>
  12. </div>
  13. </div>
  14. </div>
  15. </div>
  16. <div class="container-fluid mt-4">
  17. <div class="col-12 col-md-6">
  18. <form method="post">
  19. @csrf
  20. <div class="form-group">
  21. <div class="custom-control custom-checkbox">
  22. <input
  23. type="checkbox"
  24. name="show"
  25. class="custom-control-input"
  26. id="customCheck1"
  27. {{ (bool) config_cache('uikit.show_custom.css') ? 'checked' : null}}
  28. >
  29. <label class="custom-control-label" for="customCheck1">Enable Custom CSS</label>
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label for="css" class="font-weight-bold">Custom CSS</label>
  34. <textarea
  35. class="form-control"
  36. id="css"
  37. name="css"
  38. rows="5">{!!config_cache('uikit.custom.css')!!}</textarea>
  39. </div>
  40. <button class="btn btn-primary">Save</button>
  41. </form>
  42. </div>
  43. </div>
  44. @endsection