fix glasfaser page

This commit is contained in:
Arvind Tiwari 2018-01-31 05:23:05 +05:30
parent 527b39c28f
commit 18df2fd647
3 changed files with 40 additions and 30 deletions

View file

@ -17,12 +17,13 @@ urlpatterns = [
url(r'^l/$', IndexView.as_view(), name='index_l'), url(r'^l/$', IndexView.as_view(), name='index_l'),
url(r'^whydatacenterlight/?$', WhyDataCenterLightView.as_view(), url(r'^whydatacenterlight/?$', WhyDataCenterLightView.as_view(),
name='whydatacenterlight'), name='whydatacenterlight'),
# url(r'^beta-program/?$', BetaProgramView.as_view(), name='beta'),
# url(r'^landing/?$', LandingProgramView.as_view(), name='landing'),
url(r'^payment/?$', PaymentOrderView.as_view(), name='payment'), url(r'^payment/?$', PaymentOrderView.as_view(), name='payment'),
url(r'^order-confirmation/?$', OrderConfirmationView.as_view(), url(r'^order-confirmation/?$', OrderConfirmationView.as_view(),
name='order_confirmation'), name='order_confirmation'),
url(r'^order-success/?$', SuccessView.as_view(), name='order_success'), # unused urls
# url(r'^beta-program/?$', BetaProgramView.as_view(), name='beta'),
# url(r'^landing/?$', LandingProgramView.as_view(), name='landing'),
# url(r'^order-success/?$', SuccessView.as_view(), name='order_success'),
url(r'^beta_access?$', BetaAccessView.as_view(), name='beta_access'), url(r'^beta_access?$', BetaAccessView.as_view(), name='beta_access'),
url(r'^contact/?$', ContactUsView.as_view(), name='contact_us'), url(r'^contact/?$', ContactUsView.as_view(), name='contact_us'),

View file

@ -5,8 +5,15 @@
.navbar-transparent #logoWhite { .navbar-transparent #logoWhite {
width: 140px; width: 140px;
} }
.navbar-default { .navbar-default {
border-bottom: 1px solid #e7e7e7; border-bottom: 1px solid #e7e7e7;
background: #fff;
padding: 5px;
}
.navbar-transparent {
padding: 20px;
} }
.navbar-default .navbar-nav>li>a { .navbar-default .navbar-nav>li>a {
@ -25,6 +32,10 @@
color: #fed136; color: #fed136;
} }
.navbar-default .navbar-toggle .icon-bar {
background-color: #333;
}
@media (min-width: 768px) { @media (min-width: 768px) {
.navbar-transparent { .navbar-transparent {
border-color: transparent; border-color: transparent;

View file

@ -41,33 +41,31 @@
<body id="page-top" class="index"> <body id="page-top" class="index">
<nav class="navbar navbar-default navbar-fixed-top topnav navbar-transparent"> <nav class="navbar navbar-default navbar-fixed-top topnav navbar-transparent">
<div class="topnav"> <!-- Brand and toggle get grouped for better mobile display -->
<!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header">
<div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">{% trans "Toggle navigation" %}</span>
<span class="sr-only">{% trans "Toggle navigation" %}</span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> <span class="icon-bar"></span>
<span class="icon-bar"></span> </button>
</button> <a href="{% url 'ungleich_page:landing' %}" id="logoBlack" class="navbar-brand topnav"><img src="{% static 'ungleich_page/img/logo_black.svg' %}"></a>
<a href="{% url 'ungleich_page:landing' %}" id="logoBlack" class="navbar-brand topnav"><img src="{% static 'ungleich_page/img/logo_black.svg' %}"></a> <a href="{% url 'ungleich_page:landing' %}" id="logoWhite" class="navbar-brand topnav"><img src="{% static 'ungleich_page/img/logo_white.svg' %}"></a>
<a href="{% url 'ungleich_page:landing' %}" id="logoWhite" class="navbar-brand topnav"><img src="{% static 'ungleich_page/img/logo_white.svg' %}"></a> </div>
</div> <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> <!-- Start Navbar collapse-->
<!-- Start Navbar collapse--> <ul class="nav navbar-nav navbar-right">
<ul class="nav navbar-nav navbar-right"> <li>
<li> <a class="page-scroll" href="#services">Technische Details</a>
<a class="page-scroll" href="#services">Technische Details</a> </li>
</li> <li>
<li> <a class="page-scroll" href="#about">Wie funktioniert es?</a>
<a class="page-scroll" href="#about">Wie funktioniert es?</a> </li>
</li> <li>
<li> <a class="page-scroll" href="#contact">{% trans "CONTACT" %}</a>
<a class="page-scroll" href="#contact">{% trans "CONTACT" %}</a> </li>
</li> </ul>
</ul> <!-- /.navbar-collapse -->
<!-- /.navbar-collapse -->
</div>
</div> </div>
</nav> </nav>