2018-10-16 13:42:43 +02:00
|
|
|
<body class="app header-fixed sidebar-fixed aside-menu-fixed sidebar-lg-show">
|
|
|
|
<header class="app-header navbar">
|
|
|
|
<button class="navbar-toggler sidebar-toggler d-lg-none mr-auto" type="button" data-toggle="sidebar-show">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
2018-10-17 14:26:27 +02:00
|
|
|
<a class="navbar-brand" href="https://invoiceninja.com">
|
2018-11-07 06:22:36 +01:00
|
|
|
<img class="navbar-brand-full" src="/images/logo.png" width="50" height="50" alt="Invoice Ninja Logo">
|
|
|
|
<img class="navbar-brand-minimized" src="/images/logo.png" width="30" height="30" alt="Invoice Ninja Logo">
|
2018-10-16 13:42:43 +02:00
|
|
|
</a>
|
|
|
|
<button class="sidebar-minimizer brand-minimizer" type="button">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
2018-10-17 14:26:27 +02:00
|
|
|
|
2018-10-16 13:42:43 +02:00
|
|
|
<ul class="nav navbar-nav ml-auto">
|
2018-11-02 11:54:46 +01:00
|
|
|
<li class="nav-item dropdown d-md-down-none" style="padding-left:20px; padding-right: 20px;">
|
2018-10-17 14:26:27 +02:00
|
|
|
<a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
2018-10-16 13:42:43 +02:00
|
|
|
<i class="icon-list"></i>
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="badge badge-pill badge-warning">15</span>
|
2018-10-16 13:42:43 +02:00
|
|
|
</a>
|
2018-10-17 14:26:27 +02:00
|
|
|
<div class="dropdown-menu dropdown-menu-right dropdown-menu-lg">
|
|
|
|
<div class="dropdown-header text-center">
|
|
|
|
<strong>You have 5 pending tasks</strong>
|
|
|
|
</div>
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<div class="small mb-1">Mr Miyagi todos
|
|
|
|
<span class="float-right">
|
|
|
|
<strong>0%</strong>
|
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</div>
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="progress progress-xs">
|
2018-11-02 11:54:46 +01:00
|
|
|
<div class="progress-bar bg-info" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
|
2018-10-17 14:26:27 +02:00
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</a>
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<div class="small mb-1">First, wash all car.
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="float-right">
|
|
|
|
<strong>25%</strong>
|
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</div>
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="progress progress-xs">
|
|
|
|
<div class="progress-bar bg-danger" role="progressbar" style="width: 25%" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div>
|
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</a>
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<div class="small mb-1">Then wax. Wax on...
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="float-right">
|
|
|
|
<strong>50%</strong>
|
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</div>
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="progress progress-xs">
|
2018-11-02 11:54:46 +01:00
|
|
|
<div class="progress-bar bg-warning" role="progressbar" style="width: 50%" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100"></div>
|
2018-10-17 14:26:27 +02:00
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</a>
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<div class="small mb-1">No questions!
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="float-right">
|
|
|
|
<strong>75%</strong>
|
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</div>
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="progress progress-xs">
|
|
|
|
<div class="progress-bar bg-info" role="progressbar" style="width: 75%" aria-valuenow="75" aria-valuemin="0" aria-valuemax="100"></div>
|
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</a>
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<div class="small mb-1">Wax on... wax off. Wax on... wax off.
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="float-right">
|
|
|
|
<strong>100%</strong>
|
|
|
|
</span>
|
2018-11-02 11:54:46 +01:00
|
|
|
</div>
|
2018-10-17 14:26:27 +02:00
|
|
|
<span class="progress progress-xs">
|
|
|
|
<div class="progress-bar bg-success" role="progressbar" style="width: 100%" aria-valuenow="100" aria-valuemin="0" aria-valuemax="100"></div>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
<a class="dropdown-item text-center" href="#">
|
|
|
|
<strong>View all tasks</strong>
|
|
|
|
</a>
|
|
|
|
</div>
|
2018-10-16 13:42:43 +02:00
|
|
|
</li>
|
2018-10-17 14:26:27 +02:00
|
|
|
|
2018-11-02 11:54:46 +01:00
|
|
|
<li class="nav-item dropdown d-md-down-none" style="padding-left:20px; padding-right: 20px;">
|
2018-10-16 13:42:43 +02:00
|
|
|
<a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
2018-11-02 11:54:46 +01:00
|
|
|
<i class="fa fa-building" aria-hidden="true"></i> {{ $current_company->present()->name() }}
|
2018-10-16 13:42:43 +02:00
|
|
|
</a>
|
2018-11-02 11:54:46 +01:00
|
|
|
<div class="dropdown-menu dropdown-menu-right dropdown-menu-lg">
|
2018-10-16 13:42:43 +02:00
|
|
|
<div class="dropdown-header text-center">
|
2018-11-02 11:54:46 +01:00
|
|
|
<strong>@lang('texts.manage_companies')</strong>
|
2018-10-16 13:42:43 +02:00
|
|
|
</div>
|
2018-11-02 11:54:46 +01:00
|
|
|
|
|
|
|
@foreach($companies as $company) <!-- List all remaining companies here-->
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<div class="small mb-1">{{ $company->present()->name }}
|
|
|
|
<span class="float-right">
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<span class="progress progress-xs">
|
|
|
|
<div class="progress-bar bg-info" role="progressbar" style="width: 0%" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
@endforeach
|
|
|
|
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
|
|
|
|
<!-- Add Company-->
|
|
|
|
@if(count($companies) < 5)
|
|
|
|
<a class="dropdown-item" href="{{ route('user.logout') }}">
|
|
|
|
<i class="fa fa-plus"></i> @lang('texts.add_company')</a>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
2018-11-07 06:22:36 +01:00
|
|
|
<img class="img-avatar" src="/images/logo.png" alt=""> {{ auth()->user()->present()->name }}
|
2018-11-02 11:54:46 +01:00
|
|
|
</a>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right">
|
2018-10-16 13:42:43 +02:00
|
|
|
<div class="dropdown-header text-center">
|
|
|
|
<strong>Settings</strong>
|
|
|
|
</div>
|
|
|
|
<a class="dropdown-item" href="#">
|
|
|
|
<i class="fa fa-user"></i> Profile</a>
|
2018-10-17 14:26:27 +02:00
|
|
|
<a class="dropdown-item" href="{{ route('user.settings') }}">
|
|
|
|
<i class="fa fa-wrench"></i> @lang('texts.settings')</a>
|
|
|
|
|
|
|
|
<div class="dropdown-divider"></div>
|
|
|
|
<a class="dropdown-item" href="{{ route('user.logout') }}">
|
2018-10-16 13:42:43 +02:00
|
|
|
<i class="fa fa-lock"></i> Logout</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<button class="navbar-toggler aside-menu-toggler d-md-down-none" type="button" data-toggle="aside-menu-lg-show">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<button class="navbar-toggler aside-menu-toggler d-lg-none" type="button" data-toggle="aside-menu-show">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
</header>
|
2018-11-07 10:36:42 +01:00
|
|
|
<div class="app-body">
|