2017-08-02 21:05:44 +00:00
{% load staticfiles i18n%}
{% load custom_tags %}
{% get_current_language as LANGUAGE_CODE %}
2017-06-29 19:58:29 +00:00
< nav class = "navbar navbar-default navbar-fixed-top topnav" >
2017-07-25 12:47:59 +00:00
< div class = "topnav" >
2017-08-02 21:05:44 +00:00
<!-- Brand and toggle get grouped for better mobile display -->
2017-06-29 19:58:29 +00:00
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle" data-toggle = "collapse" data-target = "#bs-example-navbar-collapse-1" >
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
2017-08-02 21:05:44 +00:00
< a href = "{% url 'datacenterlight:index' %}" id = "logoBlack" class = "navbar-brand topnav" > < img src = "{% static 'datacenterlight/img/logo_black.svg' %}" > < / a >
< a href = "{% url 'datacenterlight:index' %}" id = "logoWhite" class = "navbar-brand topnav" > < img src = "{% static 'datacenterlight/img/logo_white.svg' %}" > < / a >
2017-06-29 19:58:29 +00:00
< / div >
< div class = "collapse navbar-collapse" id = "bs-example-navbar-collapse-1" > <!-- Start Navbar collapse -->
< ul class = "nav navbar-nav navbar-right" >
2017-08-02 21:05:44 +00:00
< li class = "dropdown" >
2017-08-03 17:48:58 +00:00
< a class = "dropdown-toggle url visible-desktop" href = "#how" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" > {% trans "Highlights" %} < span class = "caret" > < / span > < / a >
< a class = "dropdown-toggle visible-mobile" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" > {% trans "Highlights" %} < span class = "caret" > < / span > < / a >
2017-08-02 21:05:44 +00:00
< ul class = "dropdown-menu" >
< li > < a class = "url" href = "#your" > {% trans "Scale out" %}< / a > < / li >
< li > < a class = "url" href = "#our" > {% trans "Reliable and light" %}< / a > < / li >
< li > < a class = "url" href = "#price" > {% trans "Order VM" %}< / a > < / li >
< / ul >
< / li >
< li >
< a href = "{% url 'datacenterlight:whydatacenterlight' %}" > {% trans "Why Data Center Light?" %}< / a >
< / li >
< li >
< a class = "url" href = "#contact" > {% trans "Contact" %}< / a >
< / li >
< li >
{% if LANGUAGE_CODE == 'en-us'%}
< a class = "on-hover-border" href = "{% change_lang 'de' %}" > Deutsch < i class = "fa fa-globe" aria-hidden = "true" > < / i > < / a >
{% else %}
< a class = "on-hover-border" href = "{% change_lang 'en-us' %}" > English < i class = "fa fa-globe" aria-hidden = "true" > < / i > < / a >
{% endif %}
< / li >
{% comment %}
<!-- to be used when more than one option for language -->
< li class = "nav-language" >
< div class = "dropdown" >
< div class = "dropdown-toggle select-language" data-toggle = "dropdown" role = "button" aria-haspopup = "true" aria-expanded = "false" >
{% if LANGUAGE_CODE == 'en-us'%}
< span > English< / span >
{% else %}
< span > Deutsch< / span >
{% endif %}
< i class = "fa fa-globe" aria-hidden = "true" > < / i >
2017-07-25 12:47:59 +00:00
< / div >
2017-08-02 21:05:44 +00:00
< ul class = "dropdown-menu drop-language dropdown-menu-right" >
{% if LANGUAGE_CODE == 'en-us'%}
< li > < a class = "url" href = "{% change_lang 'de' %}" > Deutsch< / a > < / li >
{% else %}
< li > < a class = "url" href = "{% change_lang 'en-us' %}" > English< / a > < / li >
{% endif %}
< / ul >
< / div >
< / li >
{% endcomment %}
< / ul >
2017-07-25 12:47:59 +00:00
<!-- /.navbar - collapse -->
2017-06-29 19:58:29 +00:00
< / div >
2017-07-25 12:47:59 +00:00
< / nav >