<!DOCTYPE html>
<html lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="utf-8">
	<title><?php echo $__env->yieldContent('title'); ?> | Jobbag</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<link rel="stylesheet" href="<?php echo e(asset('/assets/css/styles.css?v1.0.9')); ?>">
	<?php echo $__env->yieldContent('style'); ?>
  
	<link rel="shortcut icon" href="<?php echo e(asset('/assets/images/logo-cmc.png')); ?>">
	<link rel="apple-touch-icon-precomposed" href="<?php echo e(asset('/assets/images/apple-touch-icon-120x120-precomposed.png')); ?>">
	<link rel="apple-touch-icon-precomposed" sizes="58x58" href="<?php echo e(asset('/assets/images/apple-touch-icon-58x58-precomposed.png')); ?>">
	<link rel="apple-touch-icon-precomposed" sizes="80x80" href="<?php echo e(asset('/assets/images/apple-touch-icon-80x80-precomposed.png')); ?>">
	<link rel="apple-touch-icon-precomposed" sizes="120x120" href="<?php echo e(asset('/assets/images/apple-touch-icon-120x120-precomposed.png')); ?>">
	<link rel="apple-touch-icon-precomposed" sizes="152x152" href="<?php echo e(asset('/assets/images/apple-touch-icon-152x152-precomposed.png')); ?>">
	<meta name="apple-mobile-web-app-title" content="CMC JobBag">
</head>

<body>

<?php if(Auth::check()): ?>
	<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
	    <div class="container-fluid">
	        <div class="navbar-header">
	            <a class="navbar-brand" href="<?php echo e(route('dashboard')); ?>"><span>CMC</span> JobBag</a>
	            <ul class="user-menu">
	                <li class="dropdown pull-right">
	                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo e(Auth::user()->name); ?> <span class="caret"></span></a>
	                    <ul class="dropdown-menu" role="menu">
	                        <li><a href="<?php echo e(action('UserController@getProfile')); ?>"><svg class="glyph stroked male-user"><use xlink:href="#stroked-male-user"></use></svg> Profile</a></li>
	                        <?php if (app('Illuminate\Contracts\Auth\Access\Gate')->check('manage_user')): ?>
	                        <li><a href="<?php echo e(action('UserController@index')); ?>"><svg class="glyph stroked lock"><use xlink:href="#stroked-lock"/></svg> Users</a></li>
	                        <li><a href="<?php echo e(action('CompanyController@index')); ?>"><svg class="glyph stroked home"><use xlink:href="#stroked-home"/></svg> Companies</a></li>
	                        <?php endif; ?>
	                        <li><a href="<?php echo e(action('ClientController@index')); ?>"><svg class="glyph stroked star"><use xlink:href="#stroked-star"/></svg> Clients</a></li>
	                        <li><a href="<?php echo e(URL('logout')); ?>"><svg class="glyph stroked cancel"><use xlink:href="#stroked-cancel"></use></svg> Logout</a></li>
	                    </ul>
	                </li>
	            </ul>
	        </div>
	                        
	    </div>
	</nav>
<?php endif; ?>



<?php echo $__env->yieldContent('content'); ?>



<script src="<?php echo e(asset('/assets/js/scripts.js?v1.0.2')); ?>"></script>
<?php echo $__env->yieldContent('script'); ?>

</body>

</html>