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

40 lines
991 B
PHP

<!DOCTYPE>
<html>
<head>
<title>E-OSP</title>
<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>