header.twig (4037B)
1 <!DOCTYPE html> 2 <!--[if IE]><![endif]--> 3 <!--[if IE 8 ]><html dir="{{ direction }}" lang="{{ lang }}" class="ie8"><![endif]--> 4 <!--[if IE 9 ]><html dir="{{ direction }}" lang="{{ lang }}" class="ie9"><![endif]--> 5 <!--[if (gt IE 9)|!(IE)]><!--> 6 <html dir="{{ direction }}" lang="{{ lang }}"> 7 <!--<![endif]--> 8 <head> 9 <meta charset="UTF-8" /> 10 <meta name="viewport" content="width=device-width, initial-scale=1"> 11 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 12 <title>{{ title }}</title> 13 <base href="{{ base }}" /> 14 {% if description %} 15 <meta name="description" content="{{ description }}" /> 16 {% endif %} 17 {% if keywords %} 18 <meta name="keywords" content="{{ keywords }}" /> 19 {% endif %} 20 <script src="catalog/view/javascript/jquery/jquery-2.1.1.min.js" type="text/javascript"></script> 21 <link href="catalog/view/javascript/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" /> 22 <script src="catalog/view/javascript/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> 23 <link href="catalog/view/javascript/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> 24 <link href="//fonts.googleapis.com/css?family=Open+Sans:400,400i,300,700" rel="stylesheet" type="text/css" /> 25 <link href="catalog/view/theme/default/stylesheet/stylesheet.css" rel="stylesheet"> 26 {% for style in styles %} 27 <link href="{{ style.href }}" type="text/css" rel="{{ style.rel }}" media="{{ style.media }}" /> 28 {% endfor %} 29 {% for script in scripts %} 30 <script src="{{ script }}" type="text/javascript"></script> 31 {% endfor %} 32 <script src="catalog/view/javascript/common.js" type="text/javascript"></script> 33 {% for link in links %} 34 <link href="{{ link.href }}" rel="{{ link.rel }}" /> 35 {% endfor %} 36 {% for analytic in analytics %} 37 {{ analytic }} 38 {% endfor %} 39 </head> 40 <body> 41 <nav id="top"> 42 <div class="container">{{ currency }} 43 {{ language }} 44 <div id="top-links" class="nav pull-right"> 45 <ul class="list-inline"> 46 <li><a href="{{ contact }}"><i class="fa fa-phone"></i></a> <span class="hidden-xs hidden-sm hidden-md">{{ telephone }}</span></li> 47 <li class="dropdown"><a href="{{ account }}" title="{{ text_account }}" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_account }}</span> <span class="caret"></span></a> 48 <ul class="dropdown-menu dropdown-menu-right"> 49 {% if logged %} 50 <li><a href="{{ account }}">{{ text_account }}</a></li> 51 <li><a href="{{ order }}">{{ text_order }}</a></li> 52 <li><a href="{{ transaction }}">{{ text_transaction }}</a></li> 53 <li><a href="{{ download }}">{{ text_download }}</a></li> 54 <li><a href="{{ logout }}">{{ text_logout }}</a></li> 55 {% else %} 56 <li><a href="{{ register }}">{{ text_register }}</a></li> 57 <li><a href="{{ login }}">{{ text_login }}</a></li> 58 {% endif %} 59 </ul> 60 </li> 61 <li><a href="{{ wishlist }}" id="wishlist-total" title="{{ text_wishlist }}"><i class="fa fa-heart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_wishlist }}</span></a></li> 62 <li><a href="{{ shopping_cart }}" title="{{ text_shopping_cart }}"><i class="fa fa-shopping-cart"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_shopping_cart }}</span></a></li> 63 <li><a href="{{ checkout }}" title="{{ text_checkout }}"><i class="fa fa-share"></i> <span class="hidden-xs hidden-sm hidden-md">{{ text_checkout }}</span></a></li> 64 </ul> 65 </div> 66 </div> 67 </nav> 68 <header> 69 <div class="container"> 70 <div class="row"> 71 <div class="col-sm-4"> 72 <div id="logo">{% if logo %}<a href="{{ home }}"><img src="{{ logo }}" title="{{ name }}" alt="{{ name }}" class="img-responsive" /></a>{% else %} 73 <h1><a href="{{ home }}">{{ name }}</a></h1> 74 {% endif %}</div> 75 </div> 76 <div class="col-sm-5">{{ search }}</div> 77 <div class="col-sm-3">{{ cart }}</div> 78 </div> 79 </div> 80 </header> 81 {{ menu }}