commit 08-2025
This commit is contained in:
parent
9ae662f63e
commit
480fdc65ed
404 changed files with 65310 additions and 2600431 deletions
|
|
@ -0,0 +1,183 @@
|
|||
|
||||
<div class="alert alert-success bordered-bottom nomargin">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12"><!-- left text -->
|
||||
<p class="font-lato weight-300 size-20 nomargin-bottom">
|
||||
{{ __('website.sales_partner_or_questions') }}
|
||||
</p>
|
||||
@if(Util::isCheckout())
|
||||
@if(isset($order_reference))
|
||||
<h3>
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}" rel="nofollow" class="btn btn-primary btn-lg">{{ __('payment.back_to_shop') }}</a>
|
||||
</h3>
|
||||
@else
|
||||
<h3>
|
||||
{{ __('website.contact_now') }} : <a href="{{ Util::getUserCardBackUrl('/kontakt') }}" rel="nofollow" class="btn btn-primary btn-lg btn-text-500">{{ __('website.to_contact') }}</a>
|
||||
</h3>
|
||||
@endif
|
||||
@else
|
||||
<h3>
|
||||
{{ __('website.contact_now') }} : <a href="{{url('/kontakt')}}" rel="nofollow" class="btn btn-primary btn-lg btn-text-500">{{ __('website.to_contact') }}</a>
|
||||
</h3>
|
||||
@endif
|
||||
</div><!-- /left text -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /CALLOUT -->
|
||||
|
||||
<!-- FOOTER -->
|
||||
<footer id="footer">
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<!-- Footer Logo -->
|
||||
<img class="footer-logo" src="{{asset('/assets/images/logo_dark.png')}}" alt=""/>
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<!-- Contact Address -->
|
||||
<br>
|
||||
<address>
|
||||
<ul class="list-unstyled">
|
||||
@if($user_shop->title)
|
||||
<li class="footer-sprite title">
|
||||
<strong style="color: #97b085; font-size: 1.1em;">{{ $user_shop->title }}</strong>
|
||||
</li>
|
||||
@endif
|
||||
@if($user_shop->getLang('contact'))
|
||||
<li class="footer-sprite address">
|
||||
{!! nl2br($user_shop->getLang('contact')) !!}
|
||||
</li>
|
||||
@endif
|
||||
<li class="footer-sprite">
|
||||
{{ $user_shop->getSubdomain(true) }}
|
||||
</li>
|
||||
</ul>
|
||||
</address>
|
||||
<!-- /Contact Address -->
|
||||
</div>
|
||||
|
||||
@if(Util::isCheckout())
|
||||
<div class="col-md-4">
|
||||
<!-- Links -->
|
||||
<h4 class="letter-spacing-1"> </h4>
|
||||
|
||||
@if(Util::getUserPaymentFor() != 6)
|
||||
@if(isset($order_reference))
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop') }}
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
|
||||
@if(Util::getUserPaymentFor() > 1)
|
||||
<i class="fa fa-chevron-left"></i> {{ __('back') }} {{ Util::getMyMivitaUrl(false) }}
|
||||
@else
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop_shopping_cart') }}
|
||||
@endif
|
||||
</a>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
<!-- /Links -->
|
||||
</div>
|
||||
@else
|
||||
<div class="col-md-4">
|
||||
<!-- Links -->
|
||||
<h4 class="letter-spacing-1">{{ __('website.contents') }}</h4>
|
||||
<ul class="footer-links list-unstyled">
|
||||
<li class="{{ Request::is('/') ? ' active' : '' }}"><a
|
||||
href="{{ url('/') }}">{{ __('website.start') }}</a></li>
|
||||
<li class="{{ Request::is('aloevera') ? ' active' : '' }}"><a
|
||||
href="{{url('/aloevera')}}">{{ __('website.aloe_vera') }} </a></li>
|
||||
<li class="{{ Request::is('produkte/*') ? ' active' : '' }}"><a
|
||||
href="{{url('/produkte/alle-produkte')}}">{{ __('website.productworld') }} </a></li>
|
||||
<li class="{{ Request::is('geschaeftsmodell/*') ? ' active' : '' }}"><a
|
||||
href="{{url('/geschaeftsmodell/karrierechancen')}}">{{ __('website.career_opportunities') }}</a></li>
|
||||
<li class="{{ Request::is('kontakt') ? ' active' : '' }}"><a
|
||||
href="{{url('/kontakt')}}">{{ __('website.contact') }}</a></li>
|
||||
<li class="{{ Request::is('partner') ? ' active' : '' }}"><a
|
||||
href="{{url('/partner')}}">{{ __('website.partner') }}</a></li>
|
||||
@if($user_shop)
|
||||
<li class="{{ Request::is('register_user') ? ' active' : '' }}"><a
|
||||
href="{{url('/registrierung')}}">{{ __('website.register') }}</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
<!-- /Links -->
|
||||
</div>
|
||||
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@if(Yard::instance('shopping')->getShippingFree())
|
||||
<div class="row mt-4 mb-0">
|
||||
<div class="col-md-12 text-center">
|
||||
<p class="alert alert-success">{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance('shopping')->getShippingFree()) }} €</p>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<div class="container">
|
||||
<ul class="pull-right nomargin list-inline mobile-block">
|
||||
<li>© {{ __('website.all_rights_reserved') }}</li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/zahlungsarten') }}">{{ __('website.payment_methods') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/versandkosten') }}">{{ __('website.shipping_costs') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/agb') }}">{{ __('website.gtc') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class=""><a target="_blank"
|
||||
href="{{ asset('download/mivita_widerruf_formular.pdf') }}">{{ __('website.cancellation_policy') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('datenschutz') ? ' active' : '' }}"><a
|
||||
href="{{ url('/datenschutz') }}">{{ __('website.privacy_policy') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('impressum') ? ' active' : '' }} "><a
|
||||
href="{{ url('/impressum') }}">{{ __('website.impress') }}</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div class="bordered-bottom nomargin mt-4 mb-2">
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-1 col-md-2">
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-10 col-md-8 text-center">
|
||||
<div class="row">
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/paypal.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/sofort.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/sepa.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/creditcard.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/vor.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
183
resources/views/web/user/layouts/includes/footer-web.blade.php
Normal file
183
resources/views/web/user/layouts/includes/footer-web.blade.php
Normal file
|
|
@ -0,0 +1,183 @@
|
|||
|
||||
<div class="alert alert-success bordered-bottom nomargin">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12"><!-- left text -->
|
||||
<p class="font-lato weight-300 size-20 nomargin-bottom">
|
||||
{{ __('website.sales_partner_or_questions') }}
|
||||
</p>
|
||||
@if(Util::isCheckout())
|
||||
@if(isset($order_reference))
|
||||
<h3>
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}" rel="nofollow" class="btn btn-primary btn-lg">{{ __('payment.back_to_shop') }}</a>
|
||||
</h3>
|
||||
@else
|
||||
<h3>
|
||||
{{ __('website.contact_now') }} : <a href="{{ Util::getUserCardBackUrl('/kontakt') }}" rel="nofollow" class="btn btn-primary btn-lg btn-text-500">{{ __('website.to_contact') }}</a>
|
||||
</h3>
|
||||
@endif
|
||||
@else
|
||||
<h3>
|
||||
{{ __('website.contact_now') }} : <a href="{{url('/kontakt')}}" rel="nofollow" class="btn btn-primary btn-lg btn-text-500">{{ __('website.to_contact') }}</a>
|
||||
</h3>
|
||||
@endif
|
||||
</div><!-- /left text -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /CALLOUT -->
|
||||
|
||||
<!-- FOOTER -->
|
||||
<footer id="footer">
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<!-- Footer Logo -->
|
||||
<img class="footer-logo" src="{{asset('/assets/images/logo_dark.png')}}" alt=""/>
|
||||
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<!-- Contact Address -->
|
||||
<br>
|
||||
<address>
|
||||
<ul class="list-unstyled">
|
||||
@if($user_shop->title)
|
||||
<li class="footer-sprite title">
|
||||
<strong style="color: #97b085; font-size: 1.1em;">{{ $user_shop->title }}</strong>
|
||||
</li>
|
||||
@endif
|
||||
@if($user_shop->getLang('contact'))
|
||||
<li class="footer-sprite address">
|
||||
{!! nl2br($user_shop->getLang('contact')) !!}
|
||||
</li>
|
||||
@endif
|
||||
<li class="footer-sprite">
|
||||
{{ $user_shop->getSubdomain(true) }}
|
||||
</li>
|
||||
</ul>
|
||||
</address>
|
||||
<!-- /Contact Address -->
|
||||
</div>
|
||||
|
||||
@if(Util::isCheckout())
|
||||
<div class="col-md-4">
|
||||
<!-- Links -->
|
||||
<h4 class="letter-spacing-1"> </h4>
|
||||
|
||||
@if(Util::getUserPaymentFor() != 6)
|
||||
@if(isset($order_reference))
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop') }}
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
|
||||
@if(Util::getUserPaymentFor() > 1)
|
||||
<i class="fa fa-chevron-left"></i> {{ __('back') }} {{ Util::getMyMivitaUrl(false) }}
|
||||
@else
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop_shopping_cart') }}
|
||||
@endif
|
||||
</a>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
<!-- /Links -->
|
||||
</div>
|
||||
@else
|
||||
<div class="col-md-4">
|
||||
<!-- Links -->
|
||||
<h4 class="letter-spacing-1">{{ __('website.contents') }}</h4>
|
||||
<ul class="footer-links list-unstyled">
|
||||
<li class="{{ Request::is('/') ? ' active' : '' }}"><a
|
||||
href="{{ url('/') }}">{{ __('website.start') }}</a></li>
|
||||
<li class="{{ Request::is('aloevera') ? ' active' : '' }}"><a
|
||||
href="{{url('/aloevera')}}">{{ __('website.aloe_vera') }} </a></li>
|
||||
<li class="{{ Request::is('produkte/*') ? ' active' : '' }}"><a
|
||||
href="{{url('/produkte/alle-produkte')}}">{{ __('website.productworld') }} </a></li>
|
||||
<li class="{{ Request::is('geschaeftsmodell/*') ? ' active' : '' }}"><a
|
||||
href="{{url('/geschaeftsmodell/karrierechancen')}}">{{ __('website.career_opportunities') }}</a></li>
|
||||
<li class="{{ Request::is('kontakt') ? ' active' : '' }}"><a
|
||||
href="{{url('/kontakt')}}">{{ __('website.contact') }}</a></li>
|
||||
<li class="{{ Request::is('partner') ? ' active' : '' }}"><a
|
||||
href="{{url('/partner')}}">{{ __('website.partner') }}</a></li>
|
||||
@if($user_shop)
|
||||
<li class="{{ Request::is('register_user') ? ' active' : '' }}"><a
|
||||
href="{{url('/registrierung')}}">{{ __('website.register') }}</a></li>
|
||||
@endif
|
||||
</ul>
|
||||
<!-- /Links -->
|
||||
</div>
|
||||
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@if(Yard::instance('shopping')->getShippingFree())
|
||||
<div class="row mt-4 mb-0">
|
||||
<div class="col-md-12 text-center">
|
||||
<p class="alert alert-success">{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance('shopping')->getShippingFree()) }} €</p>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
<div class="copyright">
|
||||
<div class="container">
|
||||
<ul class="pull-right nomargin list-inline mobile-block">
|
||||
<li>© {{ __('website.all_rights_reserved') }}</li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/zahlungsarten') }}">{{ __('website.payment_methods') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/versandkosten') }}">{{ __('website.shipping_costs') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/agb') }}">{{ __('website.gtc') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class=""><a target="_blank"
|
||||
href="{{ asset('download/mivita_widerruf_formular.pdf') }}">{{ __('website.cancellation_policy') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('datenschutz') ? ' active' : '' }}"><a
|
||||
href="{{ url('/datenschutz') }}">{{ __('website.privacy_policy') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('impressum') ? ' active' : '' }} "><a
|
||||
href="{{ url('/impressum') }}">{{ __('website.impress') }}</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div class="bordered-bottom nomargin mt-4 mb-2">
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-1 col-md-2">
|
||||
</div>
|
||||
<div class="col-xs-12 col-sm-10 col-md-8 text-center">
|
||||
<div class="row">
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/paypal.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/sofort.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/sepa.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/creditcard.png" alt="">
|
||||
</div>
|
||||
|
||||
<div class="col-xs-2 col-sm-2 col-md-2">
|
||||
<img class="img-responsive" src="/images/payments-assets/vor.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -6,14 +6,14 @@
|
|||
<p class="font-lato weight-300 size-20 nomargin-bottom">
|
||||
{{ __('website.sales_partner_or_questions') }}
|
||||
</p>
|
||||
@if(Util::isCheckout())
|
||||
@if(isset($is_checkout) && $is_checkout)
|
||||
@if(isset($order_reference))
|
||||
<h3>
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}" rel="nofollow" class="btn btn-primary btn-lg">{{ __('payment.back_to_shop') }}</a>
|
||||
</h3>
|
||||
@else
|
||||
<h3>
|
||||
{{ __('website.contact_now') }} : <a href="{{ Util::getUserCardBackUrl('/kontakt') }}" rel="nofollow" class="btn btn-primary btn-lg btn-text-500">{{ __('website.to_contact') }}</a>
|
||||
{{ __('website.contact_now') }} : <a href="{{ Util::getUserCardBackUrl('/kontakt', 'checkout') }}" rel="nofollow" class="btn btn-primary btn-lg btn-text-500">{{ __('website.to_contact') }}</a>
|
||||
</h3>
|
||||
@endif
|
||||
@else
|
||||
|
|
@ -60,19 +60,19 @@
|
|||
<!-- /Contact Address -->
|
||||
</div>
|
||||
|
||||
@if(Util::isCheckout())
|
||||
@if(isset($is_checkout) && $is_checkout)
|
||||
<div class="col-md-4">
|
||||
<!-- Links -->
|
||||
<h4 class="letter-spacing-1"> </h4>
|
||||
|
||||
@if(Util::getUserPaymentFor() != 6)
|
||||
@if(Util::getUserPaymentFor('checkout') != 6)
|
||||
@if(isset($order_reference))
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference, 'checkout') }}">
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop') }}
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
|
||||
@if(Util::getUserPaymentFor() > 1)
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show', 'checkout') }}">
|
||||
@if(Util::getUserPaymentFor('checkout') > 1)
|
||||
<i class="fa fa-chevron-left"></i> {{ __('back') }} {{ Util::getMyMivitaUrl(false) }}
|
||||
@else
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop_shopping_cart') }}
|
||||
|
|
@ -111,10 +111,10 @@
|
|||
@endif
|
||||
|
||||
</div>
|
||||
@if(Yard::instance('shopping')->getShippingFree())
|
||||
@if(Yard::instance($yard_instance)->getShippingFree())
|
||||
<div class="row mt-4 mb-0">
|
||||
<div class="col-md-12 text-center">
|
||||
<p class="alert alert-success">{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance('shopping')->getShippingFree()) }} €</p>
|
||||
<p class="alert alert-success">{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance($yard_instance)->getShippingFree()) }} €</p>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
|
@ -127,22 +127,22 @@
|
|||
<li>© {{ __('website.all_rights_reserved') }}</li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/zahlungsarten') }}">{{ __('website.payment_methods') }}</a></li>
|
||||
href="{{ legal_url('/zahlungsarten') }}">{{ __('website.payment_methods') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/versandkosten') }}">{{ __('website.shipping_costs') }}</a></li>
|
||||
href="{{ legal_url('/versandkosten') }}">{{ __('website.shipping_costs') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('agb') ? ' active' : '' }}"><a
|
||||
href="{{ url('/agb') }}">{{ __('website.gtc') }}</a></li>
|
||||
href="{{ legal_url('/agb') }}">{{ __('website.gtc') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class=""><a target="_blank"
|
||||
href="{{ asset('download/mivita_widerruf_formular.pdf') }}">{{ __('website.cancellation_policy') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('datenschutz') ? ' active' : '' }}"><a
|
||||
href="{{ url('/datenschutz') }}">{{ __('website.privacy_policy') }}</a></li>
|
||||
href="{{ legal_url('/datenschutz') }}">{{ __('website.privacy_policy') }}</a></li>
|
||||
<li>•</li>
|
||||
<li class="{{ Request::is('impressum') ? ' active' : '' }} "><a
|
||||
href="{{ url('/impressum') }}">{{ __('website.impress') }}</a></li>
|
||||
href="{{ legal_url('/impressum') }}">{{ __('website.impress') }}</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,297 @@
|
|||
<div id="header" class="sticky clearfix">
|
||||
<style>
|
||||
#header li.quick-cart .quick-cart-box,
|
||||
#header li.quick-user .quick-user-box {
|
||||
-webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
}
|
||||
#header li.quick-cart .quick-cart-footer > span,
|
||||
#header li.quick-user .quick-user-footer > span {
|
||||
background-color: transparent;
|
||||
}
|
||||
.quick-cart-wrapper span.price {
|
||||
color: #666666;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.quick-cart-wrapper h5,
|
||||
.quick-user-wrapper h5 {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-footer,
|
||||
#header li.quick-user .quick-user-footer {
|
||||
padding: 10px 10px 10px 10px;
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-box,
|
||||
#header li.quick-user .quick-user-box {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
#header ul.nav-second-main {
|
||||
margin-top: 25px;
|
||||
}
|
||||
@media only screen and (max-width: 992px){
|
||||
|
||||
#header ul.nav-second-main
|
||||
{
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
#header.fixed ul.nav-second-main {
|
||||
margin-top: 8px;
|
||||
}
|
||||
#header li.quick-cart a.btn-sm,
|
||||
#header li.quick-user a.btn-sm
|
||||
{
|
||||
padding: 8px !important;
|
||||
font-size: 13px;
|
||||
line-height: 1.2em;
|
||||
|
||||
}
|
||||
#header li.quick-cart .quick-cart-box a.btn-default,
|
||||
#header li.quick-user .quick-user-box a.btn-default
|
||||
{
|
||||
background-color: transparent;
|
||||
border: #b0adb3 1px solid;
|
||||
}
|
||||
#topBar {
|
||||
|
||||
}
|
||||
#topBar ul.top-links > li > a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#topBar ul.top-links > li a.active {
|
||||
background-color: #b5c49b;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
@media only screen and (max-width: 992px) {
|
||||
/* Force 60px */
|
||||
#header {
|
||||
height:105px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@if(isset($mylangs))
|
||||
|
||||
<div id="topBar">
|
||||
<div class="container">
|
||||
<ul class="top-links list-inline pull-right">
|
||||
|
||||
<li>
|
||||
@if (isset($mylangs[\App\Services\Shop::getUserShopLang()]))
|
||||
@php($country = $mylangs[\App\Services\Shop::getUserShopLang()])
|
||||
<span>{{ __('Delivery country') }}:</span> <a id="sidepanel_btn" href="#" class="no-text-underline"><img class="flag-lang" src="/images/flags/{{ strtolower($country->code) }}.svg" width="16" height="11" alt="lang" /> {{ $country->getLocated() }}</a>
|
||||
@endif
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-toggle no-text-underline" data-toggle="dropdown" href="#"><span style="text-transform:none;">
|
||||
{{ __('website.language') }} :</span> <img style="height: 16px" width="16" src="{{ asset('images/flags/'.strtolower(\App::getLocale()).'.svg') }}" alt="lang">
|
||||
</a>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
@foreach (\App\Services\UserService::getTransChange() as $code => $name)
|
||||
<li>
|
||||
<a @if(\App::getLocale() === $code) class="active" @endif tabindex="-1" href="{{ route('translation', [$code]) }}">
|
||||
<img style="height: 16px" width="16" src="{{ asset('images/flags/'.strtolower($code).'.svg') }}" alt="lang"> <span style="text-transform:none;">{{ $name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="text-welcome hidden-xs">{{ __('website.welcome') }}, <strong>@if(Auth::check()) {{ Auth::user()->name }} @else {{ __('portal.guest') }} @endif</strong></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<header id="topNav">
|
||||
<div class="container">
|
||||
|
||||
<!-- Mobile Menu Button -->
|
||||
<button class="btn btn-mobile" data-toggle="collapse" data-target=".nav-main-collapse">
|
||||
<i class="fa fa-bars"></i>
|
||||
</button>
|
||||
|
||||
@if(Util::isCheckout())
|
||||
|
||||
@if(isset($order_reference))
|
||||
<a class="logo pull-left" href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
@else
|
||||
<a class="logo pull-left" href="{{ Util::getUserCardBackUrl('/') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
@endif
|
||||
<div class="navbar-collapse pull-right nav-main-collapse collapse">
|
||||
<nav class="nav-main">
|
||||
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
|
||||
<li class="">
|
||||
@if(Util::getUserPaymentFor() != 6)
|
||||
@if(isset($order_reference))
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop') }}
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
|
||||
@if(Util::getUserPaymentFor() > 1)
|
||||
<i class="fa fa-chevron-left"></i> {{ __('back') }} {{ Util::getMyMivitaUrl(false) }}
|
||||
@else
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop_shopping_cart') }}
|
||||
@endif
|
||||
</a>
|
||||
@endif
|
||||
@endif
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@else
|
||||
<ul class="pull-right nav nav-pills nav-second-main has-topBar">
|
||||
<li class="quick-user">
|
||||
<a href="#" style="border: 1px solid #c3c3c3; padding: 10px;">
|
||||
<span style="position: relative; text-align: center;">
|
||||
<i class="fa fa-user"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="quick-user-box" style="display:block;">
|
||||
|
||||
|
||||
<div class="quick-user-wrapper">
|
||||
<h4>Mein Account</h4>
|
||||
@if(Auth::guard('customers')->check())
|
||||
<ul class="list-unstyled">
|
||||
<li><a tabindex="-1" href="{{ route('portal.dashboard') }}"><i class="fa fa-home"></i> {{ __('navigation.dashboard') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_data') }}"><i class="fa fa-bookmark"></i> {{ __('navigation.my_data') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_orders') }}"><i class="fa fa-history"></i> {{ __('navigation.my_orders') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_subscriptions') }}"><i class="fa fa-refresh"></i>{{ __('navigation.myabo') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.settings') }}"><i class="fa fa-cog"></i>{{ __('navigation.settings') }}</a></li>
|
||||
</ul>
|
||||
@endif
|
||||
<div class="quick-user-footer clearfix">
|
||||
@if(Auth::guard('customers')->check())
|
||||
<a href="{{ route('portal.logout') }}" class="btn btn-sm btn-default mt-3"><i class="fa fa-power-off"></i> {{ __('navigation.logout') }} </a>
|
||||
@else
|
||||
<a href="{{ Util::getMyMivitaPortalUrl() }}" class="btn btn-primary btn-block mt-3 faa-parent animated-hover"><i class="fa fa-sign-in"></i> {{ __('website.to_login') }} </a>
|
||||
@endif
|
||||
@if(Auth::guard('user')->check())
|
||||
<a href="{{ Util::getMyMivitaUrl() }}" class="btn btn-sm btn-default mt-3 faa-parent animated-hover"><i class="fa fa-sign-out"></i> {{ __('zum Salescenter') }}</a>
|
||||
@endif
|
||||
<a href="#" class="btn btn-sm btn-default mt-3 quick-user-box-close">{{ __('close') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="quick-cart">
|
||||
<a href="#" style="border: 1px solid #c3c3c3; padding: 10px;">
|
||||
<span style="position: relative">
|
||||
<span class="badge badge-success btn-xs badge-corner faa-horizontal animated">{{ Yard::instance('shopping')->count() }}</span>
|
||||
<i class="fa fa-shopping-cart"></i>
|
||||
</span>
|
||||
|
||||
@if(Yard::instance('shopping')->count())
|
||||
<span class="">{{ \Yard::instance('shopping')->total() }} € </span>
|
||||
@endif
|
||||
</a>
|
||||
<div class="quick-cart-box" style="display: @if(Session::has('show-card-after-add')) block @else none @endif">
|
||||
<h4>{{ __('weborder.shopping_cart') }} </h4>
|
||||
|
||||
<div class="quick-cart-wrapper">
|
||||
@foreach(Yard::instance('shopping')->content() as $row)
|
||||
<a href="{{ url('/produkte/alle-produkte/'.$row->options->slug) }}"><!-- cart item -->
|
||||
@if($row->options->has('image'))
|
||||
<img src="{{ route('product_image', [$row->options->image]) }}" width="50" height="66" alt="">
|
||||
@else
|
||||
<img src="{{ asset('/assets/images/1x1.png') }}" width="50" height="66" alt="">
|
||||
@endif
|
||||
<h5>{{ $row->name }}</h5>
|
||||
<span class="price">{{ $row->qty }}x <strong>{{ $row->price() }} €</strong></span>
|
||||
|
||||
</a><!-- /cart item -->
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="quick-cart-footer clearfix">
|
||||
<div class="text-left">
|
||||
<strong>{{ __('order.subtotal') }}:</strong> <strong class="pull-right">{{ Yard::instance('shopping')->total() }} €</strong>
|
||||
<br>
|
||||
@if(Yard::instance('shopping')->getUserTaxFree())
|
||||
<em style="font-size: 0.9em">{{ __('weborder.excl_VAT_plus_shipping_costs') }} </em>
|
||||
@else
|
||||
<em style="font-size: 0.9em">{{ __('weborder.incl_VAT_plus_shipping_costs') }} </em>
|
||||
@endif
|
||||
@if(Yard::instance('shopping')->getShippingFree())
|
||||
<em style="font-size: 0.9em"><br>{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance('shopping')->getShippingFree()) }} €
|
||||
@if(Yard::instance('shopping')->getShippingFreeMissingValue() > 0)
|
||||
<br>{!! __('weborder.only_missing_free_shipping_costs_from', ['value'=> formatNumber(Yard::instance('shopping')->getShippingFreeMissingValue())]) !!}
|
||||
@else
|
||||
<br><i class="fa fa-check"></i> {{ __('weborder.free_shipping_costs_from') }}
|
||||
@endif
|
||||
</em>
|
||||
@endif
|
||||
</div>
|
||||
<a href="{{ url(Util::getPostRoute().'card/show') }}" class="btn btn-primary btn-text-500 btn-block mt-3 faa-parent animated-hover">{{ __('weborder.to_shopping_cart') }} <i class="fa fa-shopping-cart faa-horizontal"></i></a>
|
||||
|
||||
<a href="#" class="btn btn-sm btn-default mt-3 quick-cart-box-close">{{ __('close') }}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a class="logo pull-left" href="{{ url('/') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
<div class="navbar-collapse pull-right nav-main-collapse collapse">
|
||||
<nav class="nav-main">
|
||||
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
|
||||
<li class="{{ Request::is('/') ? ' active' : '' }}">
|
||||
<a href="/">
|
||||
{{ __('website.start') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('aloevera') ? ' active' : '' }}">
|
||||
<a href="{{url('/aloevera')}}">
|
||||
{{ __('website.aloe_vera') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('produkte/*') ? ' active' : '' }}">
|
||||
<a href="{{url('/produkte/alle-produkte')}}/">
|
||||
{{ __('website.productworld') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('geschaeftsmodell/*') ? ' active' : '' }}">
|
||||
<a href="{{url('/geschaeftsmodell/karrierechancen')}} ">
|
||||
{{ __('website.career_opportunities') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('kontakt') ? ' active' : '' }}">
|
||||
<a href="{{ url('kontakt') }}">
|
||||
{{ __('website.contact') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
|
||||
{{--
|
||||
@dump(session()->all())
|
||||
|
||||
@dump(Auth::guard('customers')->check())
|
||||
|
||||
@dump(Auth::guard('customers')->user())
|
||||
|
||||
@dump(Auth::guard('user')->check())
|
||||
|
||||
@dump(Auth::guard('user')->user())
|
||||
--}}
|
||||
297
resources/views/web/user/layouts/includes/header-web.blade.php
Normal file
297
resources/views/web/user/layouts/includes/header-web.blade.php
Normal file
|
|
@ -0,0 +1,297 @@
|
|||
<div id="header" class="sticky clearfix">
|
||||
<style>
|
||||
#header li.quick-cart .quick-cart-box,
|
||||
#header li.quick-user .quick-user-box {
|
||||
-webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
}
|
||||
#header li.quick-cart .quick-cart-footer > span,
|
||||
#header li.quick-user .quick-user-footer > span {
|
||||
background-color: transparent;
|
||||
}
|
||||
.quick-cart-wrapper span.price {
|
||||
color: #666666;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.quick-cart-wrapper h5,
|
||||
.quick-user-wrapper h5 {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-footer,
|
||||
#header li.quick-user .quick-user-footer {
|
||||
padding: 10px 10px 10px 10px;
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-box,
|
||||
#header li.quick-user .quick-user-box {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
#header ul.nav-second-main {
|
||||
margin-top: 25px;
|
||||
}
|
||||
@media only screen and (max-width: 992px){
|
||||
|
||||
#header ul.nav-second-main
|
||||
{
|
||||
margin-top: 0px;
|
||||
}
|
||||
}
|
||||
#header.fixed ul.nav-second-main {
|
||||
margin-top: 8px;
|
||||
}
|
||||
#header li.quick-cart a.btn-sm,
|
||||
#header li.quick-user a.btn-sm
|
||||
{
|
||||
padding: 8px !important;
|
||||
font-size: 13px;
|
||||
line-height: 1.2em;
|
||||
|
||||
}
|
||||
#header li.quick-cart .quick-cart-box a.btn-default,
|
||||
#header li.quick-user .quick-user-box a.btn-default
|
||||
{
|
||||
background-color: transparent;
|
||||
border: #b0adb3 1px solid;
|
||||
}
|
||||
#topBar {
|
||||
|
||||
}
|
||||
#topBar ul.top-links > li > a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
#topBar ul.top-links > li a.active {
|
||||
background-color: #b5c49b;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
@media only screen and (max-width: 992px) {
|
||||
/* Force 60px */
|
||||
#header {
|
||||
height:105px !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@if(isset($mylangs))
|
||||
|
||||
<div id="topBar">
|
||||
<div class="container">
|
||||
<ul class="top-links list-inline pull-right">
|
||||
|
||||
<li>
|
||||
@if (isset($mylangs[\App\Services\Shop::getUserShopLang()]))
|
||||
@php($country = $mylangs[\App\Services\Shop::getUserShopLang()])
|
||||
<span>{{ __('Delivery country') }}:</span> <a id="sidepanel_btn" href="#" class="no-text-underline"><img class="flag-lang" src="/images/flags/{{ strtolower($country->code) }}.svg" width="16" height="11" alt="lang" /> {{ $country->getLocated() }}</a>
|
||||
@endif
|
||||
</li>
|
||||
<li>
|
||||
<a class="dropdown-toggle no-text-underline" data-toggle="dropdown" href="#"><span style="text-transform:none;">
|
||||
{{ __('website.language') }} :</span> <img style="height: 16px" width="16" src="{{ asset('images/flags/'.strtolower(\App::getLocale()).'.svg') }}" alt="lang">
|
||||
</a>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
@foreach (\App\Services\UserService::getTransChange() as $code => $name)
|
||||
<li>
|
||||
<a @if(\App::getLocale() === $code) class="active" @endif tabindex="-1" href="{{ route('translation', [$code]) }}">
|
||||
<img style="height: 16px" width="16" src="{{ asset('images/flags/'.strtolower($code).'.svg') }}" alt="lang"> <span style="text-transform:none;">{{ $name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li class="text-welcome hidden-xs">{{ __('website.welcome') }}, <strong>@if(Auth::check()) {{ Auth::user()->name }} @else {{ __('portal.guest') }} @endif</strong></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<header id="topNav">
|
||||
<div class="container">
|
||||
|
||||
<!-- Mobile Menu Button -->
|
||||
<button class="btn btn-mobile" data-toggle="collapse" data-target=".nav-main-collapse">
|
||||
<i class="fa fa-bars"></i>
|
||||
</button>
|
||||
|
||||
@if(Util::isCheckout())
|
||||
|
||||
@if(isset($order_reference))
|
||||
<a class="logo pull-left" href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
@else
|
||||
<a class="logo pull-left" href="{{ Util::getUserCardBackUrl('/') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
@endif
|
||||
<div class="navbar-collapse pull-right nav-main-collapse collapse">
|
||||
<nav class="nav-main">
|
||||
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
|
||||
<li class="">
|
||||
@if(Util::getUserPaymentFor() != 6)
|
||||
@if(isset($order_reference))
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop') }}
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
|
||||
@if(Util::getUserPaymentFor() > 1)
|
||||
<i class="fa fa-chevron-left"></i> {{ __('back') }} {{ Util::getMyMivitaUrl(false) }}
|
||||
@else
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop_shopping_cart') }}
|
||||
@endif
|
||||
</a>
|
||||
@endif
|
||||
@endif
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@else
|
||||
<ul class="pull-right nav nav-pills nav-second-main has-topBar">
|
||||
<li class="quick-user">
|
||||
<a href="#" style="border: 1px solid #c3c3c3; padding: 10px;">
|
||||
<span style="position: relative; text-align: center;">
|
||||
<i class="fa fa-user"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="quick-user-box" style="display:block;">
|
||||
|
||||
|
||||
<div class="quick-user-wrapper">
|
||||
<h4>Mein Account</h4>
|
||||
@if(Auth::guard('customers')->check())
|
||||
<ul class="list-unstyled">
|
||||
<li><a tabindex="-1" href="{{ route('portal.dashboard') }}"><i class="fa fa-home"></i> {{ __('navigation.dashboard') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_data') }}"><i class="fa fa-bookmark"></i> {{ __('navigation.my_data') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_orders') }}"><i class="fa fa-history"></i> {{ __('navigation.my_orders') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_subscriptions') }}"><i class="fa fa-refresh"></i>{{ __('navigation.myabo') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.settings') }}"><i class="fa fa-cog"></i>{{ __('navigation.settings') }}</a></li>
|
||||
</ul>
|
||||
@endif
|
||||
<div class="quick-user-footer clearfix">
|
||||
@if(Auth::guard('customers')->check())
|
||||
<a href="{{ route('portal.logout') }}" class="btn btn-sm btn-default mt-3"><i class="fa fa-power-off"></i> {{ __('navigation.logout') }} </a>
|
||||
@else
|
||||
<a href="{{ Util::getMyMivitaPortalUrl() }}" class="btn btn-primary btn-block mt-3 faa-parent animated-hover"><i class="fa fa-sign-in"></i> {{ __('website.to_login') }} </a>
|
||||
@endif
|
||||
@if(Auth::guard('user')->check())
|
||||
<a href="{{ Util::getMyMivitaUrl() }}" class="btn btn-sm btn-default mt-3 faa-parent animated-hover"><i class="fa fa-sign-out"></i> {{ __('zum Salescenter') }}</a>
|
||||
@endif
|
||||
<a href="#" class="btn btn-sm btn-default mt-3 quick-user-box-close">{{ __('close') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="quick-cart">
|
||||
<a href="#" style="border: 1px solid #c3c3c3; padding: 10px;">
|
||||
<span style="position: relative">
|
||||
<span class="badge badge-success btn-xs badge-corner faa-horizontal animated">{{ Yard::instance('shopping')->count() }}</span>
|
||||
<i class="fa fa-shopping-cart"></i>
|
||||
</span>
|
||||
|
||||
@if(Yard::instance('shopping')->count())
|
||||
<span class="">{{ \Yard::instance('shopping')->total() }} € </span>
|
||||
@endif
|
||||
</a>
|
||||
<div class="quick-cart-box" style="display: @if(Session::has('show-card-after-add')) block @else none @endif">
|
||||
<h4>{{ __('weborder.shopping_cart') }} </h4>
|
||||
|
||||
<div class="quick-cart-wrapper">
|
||||
@foreach(Yard::instance('shopping')->content() as $row)
|
||||
<a href="{{ url('/produkte/alle-produkte/'.$row->options->slug) }}"><!-- cart item -->
|
||||
@if($row->options->has('image'))
|
||||
<img src="{{ route('product_image', [$row->options->image]) }}" width="50" height="66" alt="">
|
||||
@else
|
||||
<img src="{{ asset('/assets/images/1x1.png') }}" width="50" height="66" alt="">
|
||||
@endif
|
||||
<h5>{{ $row->name }}</h5>
|
||||
<span class="price">{{ $row->qty }}x <strong>{{ $row->price() }} €</strong></span>
|
||||
|
||||
</a><!-- /cart item -->
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="quick-cart-footer clearfix">
|
||||
<div class="text-left">
|
||||
<strong>{{ __('order.subtotal') }}:</strong> <strong class="pull-right">{{ Yard::instance('shopping')->total() }} €</strong>
|
||||
<br>
|
||||
@if(Yard::instance('shopping')->getUserTaxFree())
|
||||
<em style="font-size: 0.9em">{{ __('weborder.excl_VAT_plus_shipping_costs') }} </em>
|
||||
@else
|
||||
<em style="font-size: 0.9em">{{ __('weborder.incl_VAT_plus_shipping_costs') }} </em>
|
||||
@endif
|
||||
@if(Yard::instance('shopping')->getShippingFree())
|
||||
<em style="font-size: 0.9em"><br>{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance('shopping')->getShippingFree()) }} €
|
||||
@if(Yard::instance('shopping')->getShippingFreeMissingValue() > 0)
|
||||
<br>{!! __('weborder.only_missing_free_shipping_costs_from', ['value'=> formatNumber(Yard::instance('shopping')->getShippingFreeMissingValue())]) !!}
|
||||
@else
|
||||
<br><i class="fa fa-check"></i> {{ __('weborder.free_shipping_costs_from') }}
|
||||
@endif
|
||||
</em>
|
||||
@endif
|
||||
</div>
|
||||
<a href="{{ url(Util::getPostRoute().'card/show') }}" class="btn btn-primary btn-text-500 btn-block mt-3 faa-parent animated-hover">{{ __('weborder.to_shopping_cart') }} <i class="fa fa-shopping-cart faa-horizontal"></i></a>
|
||||
|
||||
<a href="#" class="btn btn-sm btn-default mt-3 quick-cart-box-close">{{ __('close') }}</a>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a class="logo pull-left" href="{{ url('/') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
<div class="navbar-collapse pull-right nav-main-collapse collapse">
|
||||
<nav class="nav-main">
|
||||
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
|
||||
<li class="{{ Request::is('/') ? ' active' : '' }}">
|
||||
<a href="/">
|
||||
{{ __('website.start') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('aloevera') ? ' active' : '' }}">
|
||||
<a href="{{url('/aloevera')}}">
|
||||
{{ __('website.aloe_vera') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('produkte/*') ? ' active' : '' }}">
|
||||
<a href="{{url('/produkte/alle-produkte')}}/">
|
||||
{{ __('website.productworld') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('geschaeftsmodell/*') ? ' active' : '' }}">
|
||||
<a href="{{url('/geschaeftsmodell/karrierechancen')}} ">
|
||||
{{ __('website.career_opportunities') }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="{{ Request::is('kontakt') ? ' active' : '' }}">
|
||||
<a href="{{ url('kontakt') }}">
|
||||
{{ __('website.contact') }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
|
||||
{{--
|
||||
@dump(session()->all())
|
||||
|
||||
@dump(Auth::guard('customers')->check())
|
||||
|
||||
@dump(Auth::guard('customers')->user())
|
||||
|
||||
@dump(Auth::guard('user')->check())
|
||||
|
||||
@dump(Auth::guard('user')->user())
|
||||
--}}
|
||||
|
|
@ -1,11 +1,13 @@
|
|||
<div id="header" class="sticky clearfix">
|
||||
<style>
|
||||
#header li.quick-cart .quick-cart-box {
|
||||
#header li.quick-cart .quick-cart-box,
|
||||
#header li.quick-user .quick-user-box {
|
||||
-webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
-moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.3);
|
||||
}
|
||||
#header li.quick-cart .quick-cart-footer > span {
|
||||
#header li.quick-cart .quick-cart-footer > span,
|
||||
#header li.quick-user .quick-user-footer > span {
|
||||
background-color: transparent;
|
||||
}
|
||||
.quick-cart-wrapper span.price {
|
||||
|
|
@ -13,14 +15,17 @@
|
|||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.quick-cart-wrapper h5 {
|
||||
.quick-cart-wrapper h5,
|
||||
.quick-user-wrapper h5 {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-footer {
|
||||
#header li.quick-cart .quick-cart-footer,
|
||||
#header li.quick-user .quick-user-footer {
|
||||
padding: 10px 10px 10px 10px;
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-box {
|
||||
#header li.quick-cart .quick-cart-box,
|
||||
#header li.quick-user .quick-user-box {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
#header ul.nav-second-main {
|
||||
|
|
@ -36,13 +41,17 @@
|
|||
#header.fixed ul.nav-second-main {
|
||||
margin-top: 8px;
|
||||
}
|
||||
#header li.quick-cart .quick-cart-box a.btn-sm{
|
||||
#header li.quick-cart a.btn-sm,
|
||||
#header li.quick-user a.btn-sm
|
||||
{
|
||||
padding: 8px !important;
|
||||
font-size: 13px;
|
||||
line-height: 1.2em;
|
||||
|
||||
}
|
||||
#header li.quick-cart .quick-cart-box a.btn-default{
|
||||
#header li.quick-cart .quick-cart-box a.btn-default,
|
||||
#header li.quick-user .quick-user-box a.btn-default
|
||||
{
|
||||
background-color: transparent;
|
||||
border: #b0adb3 1px solid;
|
||||
}
|
||||
|
|
@ -72,8 +81,8 @@
|
|||
<ul class="top-links list-inline pull-right">
|
||||
|
||||
<li>
|
||||
@if (isset($mylangs[\App\Services\Shop::getUserShopLang()]))
|
||||
@php($country = $mylangs[\App\Services\Shop::getUserShopLang()])
|
||||
@if (isset($mylangs[\App\Services\Shop::getUserShopLang(null, $yard_instance)]))
|
||||
@php($country = $mylangs[\App\Services\Shop::getUserShopLang(null, $yard_instance)])
|
||||
<span>{{ __('Delivery country') }}:</span> <a id="sidepanel_btn" href="#" class="no-text-underline"><img class="flag-lang" src="/images/flags/{{ strtolower($country->code) }}.svg" width="16" height="11" alt="lang" /> {{ $country->getLocated() }}</a>
|
||||
@endif
|
||||
</li>
|
||||
|
|
@ -91,27 +100,14 @@
|
|||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
{{--
|
||||
<li class="text-welcome hidden-xs">Welcome to Smarty, <strong>John Doe</strong></li>
|
||||
<li>
|
||||
<a class="dropdown-toggle no-text-underline" data-toggle="dropdown" href="#"><i class="fa fa-user hidden-xs"></i> MY ACCOUNT</a>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li><a tabindex="-1" href="#"><i class="fa fa-history"></i> ORDER HISTORY</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a tabindex="-1" href="#"><i class="fa fa-bookmark"></i> MY WISHLIST</a></li>
|
||||
<li><a tabindex="-1" href="#"><i class="fa fa-edit"></i> MY REVIEWS</a></li>
|
||||
<li><a tabindex="-1" href="#"><i class="fa fa-cog"></i> MY SETTINGS</a></li>
|
||||
<li class="divider"></li>
|
||||
<li><a tabindex="-1" href="#"><i class="glyphicon glyphicon-off"></i> LOGOUT</a></li>
|
||||
</ul>
|
||||
</li>--}}
|
||||
|
||||
<li class="text-welcome hidden-xs">{{ __('website.welcome') }}, <strong>@if(Auth::check()) {{ Auth::user()->name }} @else {{ __('portal.guest') }} @endif</strong></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
|
||||
<header id="topNav">
|
||||
<div class="container">
|
||||
|
||||
|
|
@ -120,15 +116,15 @@
|
|||
<i class="fa fa-bars"></i>
|
||||
</button>
|
||||
|
||||
@if(Util::isCheckout())
|
||||
@if(isset($is_checkout) && $is_checkout)
|
||||
|
||||
@if(isset($order_reference))
|
||||
<a class="logo pull-left" href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<a class="logo pull-left" href="{{ Util::getUserShopBackUrl($order_reference, 'checkout') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
@else
|
||||
<a class="logo pull-left" href="{{ Util::getUserCardBackUrl('/') }}">
|
||||
<a class="logo pull-left" href="{{ Util::getUserCardBackUrl('/', 'checkout') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
</a>
|
||||
|
|
@ -137,14 +133,14 @@
|
|||
<nav class="nav-main">
|
||||
<ul id="topMain" class="nav nav-pills nav-main nav-onepage">
|
||||
<li class="">
|
||||
@if(Util::getUserPaymentFor() != 6)
|
||||
@if(Util::getUserPaymentFor('checkout') != 6)
|
||||
@if(isset($order_reference))
|
||||
<a href="{{ Util::getUserShopBackUrl($order_reference) }}">
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop') }}
|
||||
</a>
|
||||
@else
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show') }}">
|
||||
@if(Util::getUserPaymentFor() > 1)
|
||||
<a href="{{ Util::getUserCardBackUrl('/card/show', 'checkout') }}">
|
||||
@if(Util::getUserPaymentFor('checkout') > 1)
|
||||
<i class="fa fa-chevron-left"></i> {{ __('back') }} {{ Util::getMyMivitaUrl(false) }}
|
||||
@else
|
||||
<i class="fa fa-chevron-left"></i> {{ __('payment.back_to_shop_shopping_cart') }}
|
||||
|
|
@ -158,24 +154,57 @@
|
|||
</div>
|
||||
@else
|
||||
<ul class="pull-right nav nav-pills nav-second-main has-topBar">
|
||||
<!-- QUICK SHOP CART -->
|
||||
<li class="quick-cart">
|
||||
<li class="quick-user">
|
||||
<a href="#" style="border: 1px solid #c3c3c3; padding: 10px;">
|
||||
<span style="position: relative; text-align: center;">
|
||||
<i class="fa fa-user"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="quick-user-box" style="display:none;">
|
||||
|
||||
|
||||
<div class="quick-user-wrapper">
|
||||
<h4>Mein Account</h4>
|
||||
@if(Auth::guard('customers')->check())
|
||||
<ul class="list-unstyled">
|
||||
<li><a tabindex="-1" href="{{ route('portal.dashboard') }}"><i class="fa fa-home"></i> {{ __('navigation.dashboard') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_data.edit') }}"><i class="fa fa-bookmark"></i> {{ __('navigation.my_data') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_orders') }}"><i class="fa fa-history"></i> {{ __('navigation.my_orders') }}</a></li>
|
||||
<li><a tabindex="-1" href="{{ route('portal.my_subscriptions') }}"><i class="fa fa-refresh"></i>{{ __('navigation.myabo') }}</a></li>
|
||||
{{-- <li><a tabindex="-1" href="{{ route('portal.settings') }}"><i class="fa fa-cog"></i>{{ __('navigation.settings') }}</a></li> --}}
|
||||
</ul>
|
||||
@endif
|
||||
<div class="quick-user-footer clearfix">
|
||||
@if(Auth::guard('customers')->check())
|
||||
<a href="{{ route('portal.logout') }}" class="btn btn-sm btn-default mt-3"><i class="fa fa-power-off"></i> {{ __('navigation.logout') }} </a>
|
||||
@else
|
||||
<a href="{{ Util::getMyMivitaPortalUrl() }}" class="btn btn-primary btn-block mt-3 faa-parent animated-hover"><i class="fa fa-sign-in"></i> {{ __('website.to_customer_portal') }} </a>
|
||||
@endif
|
||||
@if(Auth::guard('user')->check())
|
||||
<a href="{{ Util::getMyMivitaUrl() }}" class="btn btn-sm btn-default mt-3 faa-parent animated-hover"><i class="fa fa-sign-out"></i> {{ __('zum Salescenter') }}</a>
|
||||
@endif
|
||||
<a href="#" class="btn btn-sm btn-default mt-3 quick-user-box-close">{{ __('close') }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="quick-cart">
|
||||
<a href="#" style="border: 1px solid #c3c3c3; padding: 10px;">
|
||||
<span style="position: relative">
|
||||
<span class="badge badge-success btn-xs badge-corner faa-horizontal animated">{{ Yard::instance('shopping')->count() }}</span>
|
||||
<span class="badge badge-success btn-xs badge-corner faa-horizontal animated">{{ Yard::instance($yard_instance)->count() }}</span>
|
||||
<i class="fa fa-shopping-cart"></i>
|
||||
</span>
|
||||
|
||||
@if(Yard::instance('shopping')->count())
|
||||
<span class="">{{ \Yard::instance('shopping')->total() }} € </span>
|
||||
@if(Yard::instance($yard_instance)->count())
|
||||
<span class="">{{ \Yard::instance($yard_instance)->total() }} € </span>
|
||||
@endif
|
||||
</a>
|
||||
<div class="quick-cart-box" style="display: @if(Session::has('show-card-after-add')) block @else none @endif">
|
||||
<h4>{{ __('weborder.shopping_cart') }} </h4>
|
||||
|
||||
<div class="quick-cart-wrapper">
|
||||
@foreach(Yard::instance('shopping')->content() as $row)
|
||||
@foreach(Yard::instance($yard_instance)->content() as $row)
|
||||
<a href="{{ url('/produkte/alle-produkte/'.$row->options->slug) }}"><!-- cart item -->
|
||||
@if($row->options->has('image'))
|
||||
<img src="{{ route('product_image', [$row->options->image]) }}" width="50" height="66" alt="">
|
||||
|
|
@ -188,20 +217,19 @@
|
|||
</a><!-- /cart item -->
|
||||
@endforeach
|
||||
</div>
|
||||
<!-- quick cart footer -->
|
||||
<div class="quick-cart-footer clearfix">
|
||||
<div class="text-left">
|
||||
<strong>{{ __('order.subtotal') }}:</strong> <strong class="pull-right">{{ Yard::instance('shopping')->total() }} €</strong>
|
||||
<strong>{{ __('order.subtotal') }}:</strong> <strong class="pull-right">{{ Yard::instance($yard_instance)->total() }} €</strong>
|
||||
<br>
|
||||
@if(Yard::instance('shopping')->getUserTaxFree())
|
||||
@if(Yard::instance($yard_instance)->getUserTaxFree())
|
||||
<em style="font-size: 0.9em">{{ __('weborder.excl_VAT_plus_shipping_costs') }} </em>
|
||||
@else
|
||||
<em style="font-size: 0.9em">{{ __('weborder.incl_VAT_plus_shipping_costs') }} </em>
|
||||
@endif
|
||||
@if(Yard::instance('shopping')->getShippingFree())
|
||||
<em style="font-size: 0.9em"><br>{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance('shopping')->getShippingFree()) }} €
|
||||
@if(Yard::instance('shopping')->getShippingFreeMissingValue() > 0)
|
||||
<br>{!! __('weborder.only_missing_free_shipping_costs_from', ['value'=> formatNumber(Yard::instance('shopping')->getShippingFreeMissingValue())]) !!}
|
||||
@if(Yard::instance($yard_instance)->getShippingFree())
|
||||
<em style="font-size: 0.9em"><br>{{ __('weborder.free_shipping_costs_from') }} {{ formatNumber(Yard::instance($yard_instance)->getShippingFree()) }} €
|
||||
@if(Yard::instance($yard_instance)->getShippingFreeMissingValue() > 0)
|
||||
<br>{!! __('weborder.only_missing_free_shipping_costs_from', ['value'=> formatNumber(Yard::instance($yard_instance)->getShippingFreeMissingValue())]) !!}
|
||||
@else
|
||||
<br><i class="fa fa-check"></i> {{ __('weborder.free_shipping_costs_from') }}
|
||||
@endif
|
||||
|
|
@ -215,8 +243,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- Logo -->
|
||||
</ul>
|
||||
<a class="logo pull-left" href="{{ url('/') }}">
|
||||
<img class="fixed_top" src="/assets/images/logo_mivita.png" alt="mivita" />
|
||||
<img class="fixed_scroll" src="/assets/images/logo_mivita_fixed.png" alt="mivita" />
|
||||
|
|
@ -255,6 +282,4 @@
|
|||
@endif
|
||||
</div>
|
||||
</header>
|
||||
<!-- /Top Nav -->
|
||||
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue