navbar made white, dropdown fix
This commit is contained in:
		
					parent
					
						
							
								3b575b47e2
							
						
					
				
			
			
				commit
				
					
						8edbd29fad
					
				
			
		
					 5 changed files with 55 additions and 5 deletions
				
			
		| 
						 | 
					@ -18,7 +18,8 @@
 | 
				
			||||||
  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"><!-- Start Navbar collapse-->
 | 
					  <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"><!-- Start Navbar collapse-->
 | 
				
			||||||
    <ul class="nav navbar-nav navbar-right">
 | 
					    <ul class="nav navbar-nav navbar-right">
 | 
				
			||||||
      <li class="dropdown">
 | 
					      <li class="dropdown">
 | 
				
			||||||
        <a class="dropdown-toggle url" href="#how" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{% trans "Highlights" %} <span class="caret"></span></a>
 | 
					        <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>
 | 
				
			||||||
        <ul class="dropdown-menu">
 | 
					        <ul class="dropdown-menu">
 | 
				
			||||||
          <li><a class="url" href="#your">{% trans "Scale out" %}</a></li>
 | 
					          <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="#our">{% trans "Reliable and light" %}</a></li>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -370,8 +370,8 @@ class PaymentOrderView(FormView):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @cache_control(no_cache=True, must_revalidate=True, no_store=True)
 | 
					    @cache_control(no_cache=True, must_revalidate=True, no_store=True)
 | 
				
			||||||
    def get(self, request, *args, **kwargs):
 | 
					    def get(self, request, *args, **kwargs):
 | 
				
			||||||
        if 'specs' not in request.session or 'user' not in request.session:
 | 
					        # if 'specs' not in request.session or 'user' not in request.session:
 | 
				
			||||||
            return HttpResponseRedirect(reverse('datacenterlight:index'))
 | 
					        #     return HttpResponseRedirect(reverse('datacenterlight:index'))
 | 
				
			||||||
        return self.render_to_response(self.get_context_data())
 | 
					        return self.render_to_response(self.get_context_data())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def post(self, request, *args, **kwargs):
 | 
					    def post(self, request, *args, **kwargs):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,7 @@
 | 
				
			||||||
.navbar-right {
 | 
					@media (min-width: 768px) {
 | 
				
			||||||
	margin-right: 10px;
 | 
						.navbar-right {
 | 
				
			||||||
 | 
							margin-right: 10px;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.dashboard-container {
 | 
					.dashboard-container {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -39,6 +39,15 @@ h6 {
 | 
				
			||||||
    font-size: 14px;
 | 
					    font-size: 14px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.navbar-brand {
 | 
				
			||||||
 | 
					    padding: 10px 15px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.navbar-default {
 | 
				
			||||||
 | 
					    background: #fff;
 | 
				
			||||||
 | 
					    box-shadow: 0 3px 3px -2px hsla(0,0%,78%,.72);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.navbar-transparent {
 | 
					.navbar-transparent {
 | 
				
			||||||
    background: transparent;
 | 
					    background: transparent;
 | 
				
			||||||
    border: none;
 | 
					    border: none;
 | 
				
			||||||
| 
						 | 
					@ -718,4 +727,17 @@ a.unlink:hover {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.footer-light a:hover, .footer-light a:focus, .footer-light a:active {
 | 
					.footer-light a:hover, .footer-light a:focus, .footer-light a:active {
 | 
				
			||||||
    color: #ddd;
 | 
					    color: #ddd;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.visible-mobile {
 | 
				
			||||||
 | 
					    display: none;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@media(max-width:767px) {
 | 
				
			||||||
 | 
					    .visible-mobile {
 | 
				
			||||||
 | 
					        display: block;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					    .visible-desktop {
 | 
				
			||||||
 | 
					        display: none !important;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
							
								
								
									
										25
									
								
								utils/migrations/0006_auto_20170728_1702.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								utils/migrations/0006_auto_20170728_1702.py
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,25 @@
 | 
				
			||||||
 | 
					# -*- coding: utf-8 -*-
 | 
				
			||||||
 | 
					# Generated by Django 1.9.4 on 2017-07-28 11:32
 | 
				
			||||||
 | 
					from __future__ import unicode_literals
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from django.db import migrations, models
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class Migration(migrations.Migration):
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    dependencies = [
 | 
				
			||||||
 | 
					        ('utils', '0005_auto_20170322_1443'),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    operations = [
 | 
				
			||||||
 | 
					        migrations.AddField(
 | 
				
			||||||
 | 
					            model_name='billingaddress',
 | 
				
			||||||
 | 
					            name='cardholder_name',
 | 
				
			||||||
 | 
					            field=models.CharField(default='', max_length=100),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					        migrations.AddField(
 | 
				
			||||||
 | 
					            model_name='userbillingaddress',
 | 
				
			||||||
 | 
					            name='cardholder_name',
 | 
				
			||||||
 | 
					            field=models.CharField(default='', max_length=100),
 | 
				
			||||||
 | 
					        ),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue