1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 16:13:20 +01:00
invoiceninja/resources/views/portal/default/header.blade.php

61 lines
3.4 KiB
PHP
Raw Normal View History

2019-07-20 12:57:23 +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>
<a class="navbar-brand" href="{!! $settings->website ?: 'https://invoiceninja.com' !!}">
<img class="navbar-brand-full" src="{!! $settings->company_logo ?: '/images/logo.png' !!}" width="50" height="50" alt="Invoice Ninja Logo">
<img class="navbar-brand-minimized" src="{!! $settings->company_logo ?: '/images/logo.png' !!}" width="30" height="30" alt="Invoice Ninja Logo">
2019-07-20 12:57:23 +02:00
</a>
2019-08-21 01:17:46 +02:00
<button class="navbar-toggler sidebar-toggler sidebar-minimizer" type="button" data-toggle="sidebar-show">
<span class="navbar-toggler-icon"></span>
</button>
2019-07-20 12:57:23 +02:00
<ul class="nav navbar-nav ml-auto">
<li class="nav-item dropdown d-md-down-none" style="padding-left:20px; padding-right: 20px;">
<a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
2019-07-22 05:54:34 +02:00
<i class="fa fa-envelope" aria-hidden="true"></i>
2019-07-20 12:57:23 +02:00
<span class="badge badge-pill badge-warning">15</span>
</a>
<div class="dropdown-menu dropdown-menu-right dropdown-menu-lg">
<div class="dropdown-header text-center">
2019-09-26 15:15:25 +02:00
<strong>{{ trans('texts.notifications')}}</strong>
2019-07-20 12:57:23 +02:00
</div>
<a class="dropdown-item" href="#">
<div class="small mb-1">Mr Miyagi todos
<span class="float-right">
<strong>0%</strong>
</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>
<a class="dropdown-item text-center" href="#">
2019-09-26 15:15:25 +02:00
<strong>{{ trans('texts.more')}}</strong>
2019-07-20 12:57:23 +02:00
</a>
</div>
</li>
2019-07-23 05:31:53 +02:00
<li class="nav-item dropdown" style="padding-right: 20px;">
2019-07-20 12:57:23 +02:00
<a class="nav-link" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
2019-08-13 11:20:55 +02:00
@if(auth()->user()->avatar)
<img class="img-avatar" src="{{ auth()->user()->avatar }}" alt="" class="img-fluid"> {{ auth()->user()->present()->name() }}
@else
<img class="img-avatar" src="/images/logo.png" alt="" class="img-fluid"> {{ auth()->user()->present()->name() }}
@endif
2019-07-20 12:57:23 +02:00
</a>
2019-07-23 05:31:53 +02:00
<div class="dropdown-menu dropdown-menu-sm">
2019-07-20 12:57:23 +02:00
<div class="dropdown-header text-center">
2019-09-26 15:15:25 +02:00
<strong>{{ trans('texts.settings')}} </strong>
2019-07-20 12:57:23 +02:00
</div>
2019-09-26 15:15:25 +02:00
<a class="dropdown-item" href="{{ route('client.profile.edit', ['client_contact' => auth()->user()->hashed_id])}}">
<i class="fa fa-user"></i> @lang('texts.profile')</a>
2019-07-20 12:57:23 +02:00
<div class="dropdown-divider"></div>
2019-07-22 05:54:34 +02:00
<a class="dropdown-item" href="{{ route('client.logout') }}">
2019-09-26 15:15:25 +02:00
<i class="fa fa-lock"></i> @lang('texts.logout')</a>
2019-07-20 12:57:23 +02:00
</div>
</li>
</ul>
2019-08-07 02:44:38 +02:00
</header>