|
|
@@ -8,16 +8,6 @@
|
|
|
<div class="pre-header{if $themesettings.headersetting.preheaderbg == "1"} primary{elseif $themesettings.headersetting.preheaderbg == "2"} light{else}{/if}">
|
|
|
<div class="container">
|
|
|
<div class="d-flex align-items-center space-between mx-0 mx-lg-3">
|
|
|
- <a class="logo" style="height: 40px; display:flex;" href="/">
|
|
|
- <img src="https://portal.thurdata.ch/templates/croster/assets/images/logo-bw-invert-medium.png" alt="Thurdata GmbH"> <!-- class="logo-light"> -->
|
|
|
- <!-- <img src="https://portal.thurdata.ch/templates/croster/assets/images/logo-color-medium.png" alt="Thurdata GmbH">
|
|
|
- class="logo-light"> -->
|
|
|
- </a>
|
|
|
- <ul class="nav navbar-nav mr-auto w-auto">
|
|
|
- <li class="home-item" style="font-size: 1.8em; color: white">
|
|
|
- Kundenportal
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
<ul class="list-unstyled list-inline d-none d-md-inline-block">
|
|
|
{if $themesettings.general.whatsapp}<li class="list-inline-item"><a href="https://api.whatsapp.com/send?phone={$themesettings.general.whatsapp}" target="_blank"><i class="fab fa-whatsapp"></i></a></li>{/if}
|
|
|
{if $themesettings.general.phonenumber}<li class="list-inline-item"><a href="tel:{$themesettings.general.phonenumber}"><i class="fas fa-phone-volume"></i> {$themesettings.general.phonenumber}</a></li>{/if}
|
|
|
@@ -46,47 +36,36 @@
|
|
|
</li>
|
|
|
{/if}
|
|
|
</ul>
|
|
|
- <ul class="list-unstyled list-inline" style="white-space:nowrap">
|
|
|
-
|
|
|
- {if $themesettings.orderform.orderopc != '1'}
|
|
|
- {if $templatefile != 'order'}
|
|
|
- <li style="border-right:none" class="list-inline-item">
|
|
|
- <a href="{$WEB_ROOT}/cart.php?a=view">
|
|
|
- <i class="fal fa-shopping-cart"></i> {if $cartitemcount > 0}<span class="badge up badge-primary">{$cartitemcount}</span>{/if}
|
|
|
- </a>
|
|
|
- </li>
|
|
|
- {/if}
|
|
|
- {/if}
|
|
|
-
|
|
|
- {if $loggedin}
|
|
|
+ <ul class="list-unstyled list-inline">
|
|
|
+ {if $loggedin}
|
|
|
{if count($clientAlerts) > 0}
|
|
|
- <li style="border-right:none" class="list-inline-item dropdown nocaret">
|
|
|
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
- <i class="fal fa-bell"></i> <span class="badge up badge-primary">{$clientAlerts|count}</span>
|
|
|
- </a>
|
|
|
- <ul class="dropdown-menu dropdown-menu-right dropdown-scroll dropdown-tasks auto">
|
|
|
- <li class="dropdown-header">
|
|
|
- <i class="fal fa-info-circle"></i> ({$clientAlerts|count}) {$LANG.notifications}
|
|
|
- </li>
|
|
|
- <li id="taskScroll">
|
|
|
- <ul class="list-unstyled">
|
|
|
- {foreach $clientAlerts as $alert}
|
|
|
- <li>
|
|
|
- <a href="{$alert->getLink()}"><i class="fas fa-fw fa-{if $alert->getSeverity() == 'danger'}exclamation-circle{elseif $alert->getSeverity() == 'warning'}exclamation-triangle{elseif $alert->getSeverity() == 'info'}info-circle{else}check-circle{/if} text-{$alert->getSeverity()}"></i> {$alert->getMessage()} {if $alert->getLinkText()}<button href="{$alert->getLink()}" class="btn btn-xs btn-{$alert->getSeverity()}">{$alert->getLinkText()}</button>{/if}</a>
|
|
|
- </li>
|
|
|
- {foreachelse}
|
|
|
- <li>
|
|
|
- <a href="javascript:;">{lang key='notificationsnone'}</a>
|
|
|
- </li>
|
|
|
- {/foreach}
|
|
|
- </ul>
|
|
|
- </li>
|
|
|
- </ul>
|
|
|
- </li>
|
|
|
+ <li class="list-inline-item dropdown nocaret">
|
|
|
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
+ <i class="fal fa-bell"></i> <span class="badge up badge-primary">{$clientAlerts|count}</span>
|
|
|
+ </a>
|
|
|
+ <ul class="dropdown-menu dropdown-menu-right dropdown-scroll dropdown-tasks auto">
|
|
|
+ <li class="dropdown-header">
|
|
|
+ <i class="fal fa-info-circle"></i> ({$clientAlerts|count}) {$LANG.notifications}
|
|
|
+ </li>
|
|
|
+ <li id="taskScroll">
|
|
|
+ <ul class="list-unstyled">
|
|
|
+ {foreach $clientAlerts as $alert}
|
|
|
+ <li>
|
|
|
+ <a href="{$alert->getLink()}"><i class="fas fa-fw fa-{if $alert->getSeverity() == 'danger'}exclamation-circle{elseif $alert->getSeverity() == 'warning'}exclamation-triangle{elseif $alert->getSeverity() == 'info'}info-circle{else}check-circle{/if} text-{$alert->getSeverity()}"></i> {$alert->getMessage()} {if $alert->getLinkText()}<button href="{$alert->getLink()}" class="btn btn-xs btn-{$alert->getSeverity()}">{$alert->getLinkText()}</button>{/if}</a>
|
|
|
+ </li>
|
|
|
+ {foreachelse}
|
|
|
+ <li>
|
|
|
+ <a href="javascript:;">{lang key='notificationsnone'}</a>
|
|
|
+ </li>
|
|
|
+ {/foreach}
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
{/if}
|
|
|
|
|
|
{if $languagechangeenabled && count($locales) > 1}
|
|
|
- <li style="border-right:none" class="list-inline-item lang-btn">
|
|
|
+ <li class="list-inline-item lang-btn">
|
|
|
<button type="button" class="btn" data-toggle="modal" data-target="#modalChooseLanguage">
|
|
|
{if $languagechangeenabled && count($locales) > 1}
|
|
|
<span class="d-inline-block align-middle">
|
|
|
@@ -100,7 +79,7 @@
|
|
|
{else}
|
|
|
|
|
|
{if $languagechangeenabled && count($locales) > 1 || $currencies}
|
|
|
- <li style="border-right:none" class="list-inline-item lang-btn">
|
|
|
+ <li class="list-inline-item lang-btn">
|
|
|
<button type="button" class="btn" data-toggle="modal" data-target="#modalChooseLanguage">
|
|
|
{if $languagechangeenabled && count($locales) > 1}
|
|
|
<span class="d-inline-block align-middle">
|
|
|
@@ -112,13 +91,24 @@
|
|
|
{/if}
|
|
|
{/if}
|
|
|
|
|
|
+ {if $themesettings.orderform.orderopc != '1'}
|
|
|
+ {if $templatefile != 'order'}
|
|
|
+ <li class="list-inline-item">
|
|
|
+ <a href="{$WEB_ROOT}/cart.php?a=view">
|
|
|
+ <i class="fal fa-shopping-cart"></i> {if $cartitemcount > 0}<span class="badge up badge-primary">{$cartitemcount}</span>{/if}
|
|
|
+ </a>
|
|
|
+ </li>
|
|
|
+ {/if}
|
|
|
+ {/if}
|
|
|
+
|
|
|
{if $adminMasqueradingAsClient || $adminLoggedIn}
|
|
|
- <li style="border-right:none" class="list-inline-item">
|
|
|
+ <li class="list-inline-item">
|
|
|
<a href="{$WEB_ROOT}/logout.php?returntoadmin=1" class="" data-toggle="tooltip" data-placement="bottom" title="{if $adminMasqueradingAsClient}{$LANG.adminmasqueradingasclient} {$LANG.logoutandreturntoadminarea}{else}{$LANG.adminloggedin} {$LANG.returntoadminarea}{/if}">
|
|
|
<i class="fal fa-sign-out-alt"></i>
|
|
|
</a>
|
|
|
</li>
|
|
|
{/if}
|
|
|
+
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|