Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <!doctype html>
  2. <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <!-- CSRF Token -->
  7. <meta name="csrf-token" content="{{ csrf_token() }}">
  8. <title>{{ $title ?? 'Login' }}</title>
  9. <!-- Scripts -->
  10. {{-- <script src="{{ asset('js/app.js') }}" defer></script> --}}
  11. <!-- Fonts -->
  12. <link rel="dns-prefetch" href="//fonts.gstatic.com">
  13. <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
  14. <!-- Styles -->
  15. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
  16. {{-- <link href="{{ asset('css/app.css') }}" rel="stylesheet"> --}}
  17. </head>
  18. <body>
  19. <div id="app">
  20. <nav class="navbar navbar-expand-md navbar-light bg-white shadow-sm">
  21. <div class="container">
  22. <a class="navbar-brand" href="{{ route('admin.dashboard') }}">
  23. {{ config('app.name', 'Laravel') }}
  24. </a>
  25. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="{{ __('Toggle navigation') }}">
  26. <span class="navbar-toggler-icon"></span>
  27. </button>
  28. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  29. <!-- Left Side Of Navbar -->
  30. <ul class="navbar-nav mr-auto">
  31. </ul>
  32. <!-- Right Side Of Navbar -->
  33. <ul class="navbar-nav ml-auto">
  34. <!-- Authentication Links -->
  35. @guest
  36. <li class="nav-item">
  37. <a class="nav-link" href="{{ route('login') }}">{{ __('Login') }}</a>
  38. </li>
  39. @if (Route::has('register'))
  40. <li class="nav-item">
  41. <a class="nav-link" href="{{ route('register') }}">{{ __('Register') }}</a>
  42. </li>
  43. @endif
  44. @else
  45. <li class="nav-item dropdown">
  46. <a id="navbarDropdown" class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" v-pre>
  47. {{ Auth::user()->name }} <span class="caret"></span>
  48. </a>
  49. <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
  50. <a class="dropdown-item" href="{{ route('logout') }}"
  51. onclick="event.preventDefault();
  52. document.getElementById('logout-form').submit();">
  53. {{ __('Logout') }}
  54. </a>
  55. <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
  56. @csrf
  57. </form>
  58. </div>
  59. </li>
  60. @endguest
  61. </ul>
  62. </div>
  63. </div>
  64. </nav>
  65. <main class="py-4">
  66. @yield('content')
  67. </main>
  68. </div>
  69. <script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
  70. <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
  71. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
  72. </body>
  73. </html>