pedi2/resources/views/layouts/app.blade.php

43 lines
1.6 KiB
PHP
Raw Normal View History

2022-01-08 02:53:00 -03:00
<!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', 'Pedidos del MPS') : config('app.name', 'Pedidos del MPS')}}</title>
2022-04-11 22:17:10 -03:00
<link rel="icon" type="image/x-icon" href="/assets/favicon.png">
2022-01-08 02:53:00 -03:00
<!-- Fonts -->
2022-04-11 22:17:10 -03:00
<script src="https://kit.fontawesome.com/9235d1c676.js" crossorigin="anonymous"></script>
2023-09-05 18:47:09 -03:00
<link rel="stylesheet" href="{{ mix('css/app.css') }}">
@yield('stylesheets')
2022-01-08 02:53:00 -03:00
</head>
<body class="has-navbar-fixed-top">
2022-05-25 19:03:29 -03:00
<div id="root">
<comunes-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>
</comunes-nav-bar>
<pedidos-nav-migas></pedidos-nav-migas>
2022-01-08 02:53:00 -03:00
2022-05-18 17:46:47 -03:00
<main id="main" class="py-4 has-top-padding">
<pedidos-cartel-pedido-aprobado></pedidos-cartel-pedido-aprobado>
2022-01-08 02:53:00 -03:00
@yield('content')
</main>
</div>
<!-- Scripts -->
2023-09-05 18:47:09 -03:00
<script src="{{ mix('js/app.js') }}" defer></script>
@yield('scripts')
2022-01-08 02:53:00 -03:00
</body>
</html>