base.blade.php 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>
  6. Домашняя страница
  7. </title>
  8. <link rel="stylesheet" type="text/css" href="{{ asset('css/taskList.css') }}">
  9. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  10. <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
  11. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  12. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  13. <script>
  14. function deleteInstance(id) {
  15. let del = window.location.href[window.location.href.length - 1] !== '/' ? '/delete/' : "delete/"
  16. window.location.href = window.location.href + del + id
  17. }
  18. function editInstance(id) {
  19. let edit = window.location.href[window.location.href.length - 1] !== '/' ? '/edit/' : "edit/"
  20. window.location.href = window.location.href + edit + id
  21. }
  22. </script>
  23. <style>
  24. .but {
  25. cursor: pointer;
  26. }
  27. </style>
  28. </head>
  29. <body>
  30. <div class="container row">
  31. @yield("content")
  32. </div>
  33. </body>
  34. </html>