Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created May 10, 2020 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/0285ab9ec8e00a6395925c1cb86ea897 to your computer and use it in GitHub Desktop.
Save parzibyte/0285ab9ec8e00a6395925c1cb86ea897 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield("titulo")</title>
<link rel="stylesheet" href="{{url("/css/estilos.css")}}">
<link rel="stylesheet" href="{{url("/css/all.min.css")}}">
<link rel="stylesheet" href="{{url("/css/bulma.min.css")}}"/>
<script type="text/javascript">
const URL_BASE = "{{url("/")}}",
URL_BASE_API = "{{url("/api")}}",
TOKEN_CSRF = "{{csrf_token()}}";
</script>
<script src="{{url("/js/principal.js?q=") . time()}}"></script>
<script src="{{url("/js/wireframe.js?q=") . time()}}"></script>
<script src="{{url("/js/utiles.js")}}"></script>
<script src="{{url("/js/vue.js")}}"></script>
</head>
<body>
@if(Auth::check())
<nav class="navbar is-transparent has-shadow is-spaced">
<div class="navbar-brand">
<a class="navbar-item" href="#">
<img class="logo" style="max-height: 100%;" src="{{url("/img/logo.png") }}"
alt="Aquí el logotipo de la empresa"
width="150" height="20">
</a>
<div id="intercambiarMenu" class="navbar-burger burger" data-target="menuPrincipal">
<span></span>
<span></span>
<span></span>
</div>
</div>
<div id="menuPrincipal" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="{{ route("areas") }}">
<span class="icon has-text-danger">
<i class="fa fa-home"></i>
</span>&nbsp;Áreas
</a>
<a class="navbar-item" href="{{ route("responsables") }}">
<span class="icon has-text-success">
<i class="fa fa-users"></i>
</span>&nbsp;Responsables
</a>
<a class="navbar-item" href="{{ route("articulos") }}">
<span class="icon has-text-info">
<i class="fa fa-box"></i>
</span>&nbsp;Inventario
</a>
<a class="navbar-item" href="#">
<span class="icon has-text-info">
<i class="fa fa-chart-line"></i>
</span>&nbsp;Reportes
</a>
</div>
<div class="navbar-end">
<div class="navbar-item">
<div class="field is-grouped">
<a class="button"
href="{{route("logout")}}">
<strong>Salir</strong>&nbsp;({{Auth::user()->nombre}})
<span class="icon has-text-danger">
<i class="fa fa-sign-out-alt"></i>
</span>
</a>
</div>
</div>
</div>
</div>
</nav>
@endif
<section class="section" style="padding-top: 0.3rem;">
@yield("contenido")
</section>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment