eOSP2/resources/views/layout/app.blade.php

43 lines
1.2 KiB
PHP

<!DOCTYPE>
<html>
<head>
<title>E-OSP</title>
<link rel="stylesheet" href="{{asset('css/app.css')}}">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="{{ asset('css/theme.css') }}">
<meta charset="UTF-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
</head>
<body>
@if( auth()->check() )
{{ auth()->user()->name }}
{{ auth()->user()->surname }}
<a href="/logout">Logout</a>
@else
<a href="/login">Login</a>
<a href="/register">Register</a>
@endif
<div id="header">
<div class="logo"><a href="/register"><img src="../img/logo.png"></a></div>
@include('inc.menu')
<div class="userInfo">
<?php
?>
</div>
</div>
<hr>
<div id="work-space">
@include('inc.left-menu')
@include('inc.center-area')
</div>
</body>
</html>