forked from nathalie/pedi2
		
	
		
			
				
	
	
		
			49 lines
		
	
	
		
			No EOL
		
	
	
		
			1.9 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			49 lines
		
	
	
		
			No EOL
		
	
	
		
			1.9 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <!doctype html>
 | |
| <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
 | |
| <head>
 | |
|     <meta charset="utf-8">
 | |
|     <meta name="viewport" content="width=device-width, initial-scale=1">
 | |
| 
 | |
|     <!-- CSRF Token -->
 | |
|     <meta name="csrf-token" content="{{ csrf_token() }}">
 | |
| 
 | |
|     <title>{{ session("subpedido_nombre") ? "Pedido de " . session("subpedido_nombre") . " - " . config('app.name', 'Compras del MPS') : config('app.name', 'Compras del MPS')}}</title>
 | |
| 
 | |
|     <!-- Scripts -->
 | |
| 
 | |
|     <!-- Fonts -->
 | |
| 
 | |
|     <!-- Styles -->
 | |
|     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.3/css/bulma.min.css">
 | |
|     <link rel="stylesheet" href="{{ asset('css/app.css') }}">
 | |
| 
 | |
| </head>
 | |
| <body>
 | |
|     <div id="app">
 | |
|         <nav-bar>
 | |
|             <template slot="subpedido">{{ session('subpedido_nombre') ? 'Pedido de '. session('subpedido_nombre') : Auth::user()->name }}</template>
 | |
|             <template slot="gdc">{{ session('subpedido_nombre') ? Auth::user()->name : "" }}</template>
 | |
|             <template slot="logout-form">
 | |
|                 <form id="logout-form" action="{{ route('logout') }}" method="POST" class="d-none">
 | |
|                     @csrf
 | |
|                 </form>
 | |
|             </template>
 | |
|         </nav-bar>
 | |
|         <nav-migas inline-template>
 | |
|             <nav class="breadcrumb is-centered has-background-danger-light" aria-label="breadcrumbs" v-show="visible">
 | |
|               <ul>
 | |
|                 <li v-for="(miga, i) in migas" v-bind:class="i==migas.length-1 ? 'is-active' : ''"><a :href="miga.href" v-text="miga.nombre"></a></li>
 | |
|               </ul>
 | |
|             </nav>
 | |
|         </nav-migas>
 | |
| 
 | |
|         <main class="py-4">
 | |
|             @yield('content')
 | |
|         </main>
 | |
|     </div>
 | |
|     <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
 | |
|     <script src="{{ asset('js/app.js') }}" defer></script>
 | |
|     <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
 | |
|     @yield('scripts')
 | |
| </body>
 | |
| </html> | 
