merged master, conflict resolved
This commit is contained in:
		
				commit
				
					
						bbdea342cf
					
				
			
		
					 7 changed files with 274 additions and 129 deletions
				
			
		| 
						 | 
					@ -794,17 +794,20 @@ tech-sub-sec h2 {
 | 
				
			||||||
    font-size: 40px;
 | 
					    font-size: 40px;
 | 
				
			||||||
    line-height: 55px;
 | 
					    line-height: 55px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					.space-middle{
 | 
				
			||||||
.space-middle {
 | 
						padding: 45px 0;
 | 
				
			||||||
    padding: 45px 0;
 | 
						display: inline-block;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					.ssdimg {
 | 
				
			||||||
.padding-vertical {
 | 
						vertical-align: middle;
 | 
				
			||||||
    padding: 35px 0;
 | 
						display: inline-block;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.padding-vertical{
 | 
				
			||||||
 | 
						padding: 30px 9px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.percent-text img {
 | 
					.percent-text img {
 | 
				
			||||||
    margin-left: 20px;
 | 
					    /* margin-left: 20px; */
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.space-block {
 | 
					.space-block {
 | 
				
			||||||
| 
						 | 
					@ -1085,24 +1088,24 @@ tech-sub-sec h2 {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media(max-width:767px) {
 | 
					@media(max-width:767px) {
 | 
				
			||||||
    .percent-text {
 | 
						.percent-text {
 | 
				
			||||||
        font-size: 50px;
 | 
							/* font-size: 50px; */
 | 
				
			||||||
    }
 | 
						}
 | 
				
			||||||
    #tech_stack h3 {
 | 
						#tech_stack h3 {
 | 
				
			||||||
        font-size: 30px;
 | 
							font-size: 30px;
 | 
				
			||||||
        line-height: 40px;
 | 
							line-height: 40px;
 | 
				
			||||||
        width: 100%;
 | 
							width: 100%;
 | 
				
			||||||
    }
 | 
						}
 | 
				
			||||||
    .navbar-nav .open .dropdown-menu {
 | 
						.navbar-nav .open .dropdown-menu {
 | 
				
			||||||
        text-align: left;
 | 
					    text-align: left;
 | 
				
			||||||
        font-size: 12px;
 | 
					    font-size: 12px;
 | 
				
			||||||
    }
 | 
						}
 | 
				
			||||||
    .visible-mobile {
 | 
						.visible-mobile {
 | 
				
			||||||
        display: block;
 | 
						display:block;
 | 
				
			||||||
    }
 | 
						}
 | 
				
			||||||
    .visible-desktop {
 | 
						.visible-desktop {
 | 
				
			||||||
        display: none !important;
 | 
						display:none !important;
 | 
				
			||||||
    }
 | 
						}
 | 
				
			||||||
    .navbar-default .navbar-nav>.open>a,
 | 
					    .navbar-default .navbar-nav>.open>a,
 | 
				
			||||||
    .navbar-default .navbar-nav>.open>a:focus,
 | 
					    .navbar-default .navbar-nav>.open>a:focus,
 | 
				
			||||||
    .navbar-default .navbar-nav>.open>a:hover {
 | 
					    .navbar-default .navbar-nav>.open>a:hover {
 | 
				
			||||||
| 
						 | 
					@ -1158,11 +1161,12 @@ tech-sub-sec h2 {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media(max-width:768px) {
 | 
					@media(max-width:768px) {
 | 
				
			||||||
    .percent-text {
 | 
					    .percent-text {
 | 
				
			||||||
        font-size: 43px;
 | 
					        /* font-size: 43px; */
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    .tech-sub-sec h2 {
 | 
						   .tech-sub-sec h2 {
 | 
				
			||||||
        font-size: 30px;
 | 
					        /* font-size: 30px; */
 | 
				
			||||||
        line-height: 40px;
 | 
					        /* line-height: 40px; */
 | 
				
			||||||
 | 
					        /* font-weight: 500; */
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    .single-heading h2 {
 | 
					    .single-heading h2 {
 | 
				
			||||||
        font-size: 50px;
 | 
					        font-size: 50px;
 | 
				
			||||||
| 
						 | 
					@ -1348,7 +1352,9 @@ tech-sub-sec h2 {
 | 
				
			||||||
        padding: 30px;
 | 
					        padding: 30px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    .percent-text {
 | 
					    .percent-text {
 | 
				
			||||||
        text-align: center;
 | 
					        font-family: 'Lato';
 | 
				
			||||||
 | 
					    	font-size: 31px;
 | 
				
			||||||
 | 
					    	/* text-align: center; */
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    .pricing-section .card {
 | 
					    .pricing-section .card {
 | 
				
			||||||
        width: 90%;
 | 
					        width: 90%;
 | 
				
			||||||
| 
						 | 
					@ -1472,3 +1478,33 @@ a#forgotpassword {
 | 
				
			||||||
.error-message-box {
 | 
					.error-message-box {
 | 
				
			||||||
    margin-top: 20px;
 | 
					    margin-top: 20px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.flex-row-rev {
 | 
				
			||||||
 | 
						margin-top: 25px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					@media (min-width: 768px) {
 | 
				
			||||||
 | 
						.flex-row {
 | 
				
			||||||
 | 
							display: flex;
 | 
				
			||||||
 | 
							align-items: center;
 | 
				
			||||||
 | 
							justify-content: space-between;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						.flex-row .percent-text {
 | 
				
			||||||
 | 
							flex-shrink : 0;
 | 
				
			||||||
 | 
							padding: 0 15px;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						.flex-row .percent-text,
 | 
				
			||||||
 | 
						.flex-row .desc-text {
 | 
				
			||||||
 | 
							max-width: 600px;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						.flex-row-rev .percent-text {
 | 
				
			||||||
 | 
							order: 2;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
						.flex-row-rev {
 | 
				
			||||||
 | 
							margin-bottom: 25px;
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.w380 {
 | 
				
			||||||
 | 
						max-width: 380px !important;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -2,19 +2,18 @@
 | 
				
			||||||
{% load i18n %}
 | 
					{% load i18n %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="modal fade bs-example-modal-sm" style="color:black;"  id="successModal" tabindex="-1" role="dialog">
 | 
					<div class="modal fade bs-example-modal-sm" style="color:black;"  id="successModal" tabindex="-1" role="dialog">
 | 
				
			||||||
    <div class="vertical-alignment-helper">
 | 
					    <div class="modal-dialog">
 | 
				
			||||||
        <div class="modal-dialog vertical-align-center">
 | 
					        <div class="modal-content">
 | 
				
			||||||
			<div class="modal-content">
 | 
					            <div class="modal-header">
 | 
				
			||||||
			  <div class="modal-header">
 | 
					              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
 | 
				
			||||||
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
 | 
					            </div>
 | 
				
			||||||
				<h4 class="modal-title">{% trans "Request Sent" %}</h4>
 | 
					            <div class="modal-body">
 | 
				
			||||||
			  </div>
 | 
					              <div class="modal-icon"><i class="fa fa-check" aria-hidden="true"></i></div>
 | 
				
			||||||
			  <div class="modal-body">
 | 
					              <h4 class="modal-title">{% trans "Request Sent" %}</h4>
 | 
				
			||||||
				<p>{% trans "Thank you for your subscription! You will receive a confirmation mail from our team" %}</p>
 | 
					              <p class="modal-text">{% trans "Thank you for your subscription! You will receive a confirmation mail from our team" %}</p>
 | 
				
			||||||
			  </div>
 | 
					            </div>
 | 
				
			||||||
			</div><!-- /.modal-content -->
 | 
					        </div><!-- /.modal-content -->
 | 
				
			||||||
		</div>
 | 
					    </div>
 | 
				
			||||||
	</div>
 | 
					 | 
				
			||||||
</div><!-- /.modal -->
 | 
					</div><!-- /.modal -->
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
	// Show modal
 | 
						// Show modal
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -98,30 +98,25 @@
 | 
				
			||||||
        <hr class="thick-divider"/><!-- Divider -->
 | 
					        <hr class="thick-divider"/><!-- Divider -->
 | 
				
			||||||
        <div class="space">
 | 
					        <div class="space">
 | 
				
			||||||
        <div class="container">
 | 
					        <div class="container">
 | 
				
			||||||
            <div class="row">
 | 
					            <div class="tech-sub-sec">
 | 
				
			||||||
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
 | 
					                <h2>{% trans "We bring the future to you." %}</h2>
 | 
				
			||||||
                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 tech-sub-sec">
 | 
					            </div>
 | 
				
			||||||
                        <h2>{% trans "We bring the future to you." %}</h2>
 | 
					            <div class="flex-row flex-row-rev">
 | 
				
			||||||
                    </div>
 | 
					                <div class="percent-text">
 | 
				
			||||||
                    <div class="col-xs-12 col-sm-7 col-md-8 col-lg-8 text-left tech-sub-sec landscape-xs-6">
 | 
					                    100% <strong>IPv6</strong>
 | 
				
			||||||
                            <p class="lead new-lead">{% blocktrans %} Data Center Light uses the most modern technologies out there.<br>
 | 
					 | 
				
			||||||
                            Your VM needs only IPv6. Data Center Light provides<br> transparent two-way IPv6/IPv4 translation.
 | 
					 | 
				
			||||||
                            {% endblocktrans %}</p>
 | 
					 | 
				
			||||||
                    </div>
 | 
					 | 
				
			||||||
                    <div class="col-xs-12 col-sm-5 col-md-4 col-lg-4 percent-text text-right landscape-xs-6">
 | 
					 | 
				
			||||||
                            100% <strong>IPv6</strong>
 | 
					 | 
				
			||||||
                    </div>
 | 
					 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
                <div class="col-lg-12 space-block"></div>
 | 
					                <div class="desc-text padding-vertical">
 | 
				
			||||||
                <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
 | 
					                    <p class="lead new-lead">{% blocktrans %} Data Center Light uses the most modern technologies out there.<br>
 | 
				
			||||||
                    <div class="col-xs-12 col-sm-7 col-md-8 col-lg-8 percent-text landscape-xs-8">
 | 
					                    Your VM needs only IPv6. Data Center Light provides<br> transparent two-way IPv6/IPv4 translation.
 | 
				
			||||||
                            <span class="pull-left space-middle"> 100% <strong>SSD</strong></span> <span class="pull-left ssdimg"><img class="img-responsive" src="{% static 'datacenterlight/img/ssd.jpg' %}" alt="SSD"></span>
 | 
					                    {% endblocktrans %}</p>
 | 
				
			||||||
                    </div>
 | 
					                </div>
 | 
				
			||||||
                    <div class="col-xs-12 col-sm-5 col-md-4 col-lg-4 text-right tech-sub-sec  padding-vertical landscape-xs-4">
 | 
					            </div>
 | 
				
			||||||
                        <div>
 | 
					            <div class="flex-row">
 | 
				
			||||||
                            <p class="lead new-lead">{% blocktrans %} No more spinning metal plates! Data Center Light uses only SSDs. We keep things faster and lighter. {% endblocktrans %}</p>
 | 
					                <div class="percent-text">
 | 
				
			||||||
                        </div>
 | 
					                    <span class="space-middle"> 100% <strong>SSD</strong></span> <span class="ssdimg"><img class="img-responsive" src="{% static 'datacenterlight/img/ssd.jpg' %}" alt="SSD"></span>
 | 
				
			||||||
                    </div>
 | 
					                </div>
 | 
				
			||||||
 | 
					                <div class="desc-text padding-vertical w380">
 | 
				
			||||||
 | 
					                    <p class="lead new-lead">{% blocktrans %} No more spinning metal plates! Data Center Light uses only SSDs. We keep things faster and lighter. {% endblocktrans %}</p>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,8 +1,9 @@
 | 
				
			||||||
.dashboard-container {
 | 
					.dashboard-container {
 | 
				
			||||||
	padding-top:70px; padding-bottom: 70px;
 | 
					  padding-top:70px;
 | 
				
			||||||
	width: 90%;
 | 
					  padding-bottom: 70px;
 | 
				
			||||||
	margin: 0 auto;
 | 
					  width: 90%;
 | 
				
			||||||
	max-width: 768px;
 | 
					  margin: 0 auto;
 | 
				
			||||||
 | 
					  max-width: 768px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.content-dashboard{
 | 
					.content-dashboard{
 | 
				
			||||||
| 
						 | 
					@ -14,11 +15,11 @@
 | 
				
			||||||
	align-items: center;
 | 
						align-items: center;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.container-table{
 | 
					.container-table{
 | 
				
			||||||
	margin-top: 35px;
 | 
					  margin-top: 35px;
 | 
				
			||||||
	overflow-y: hidden; 
 | 
					  overflow-y: hidden;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.container-table table{
 | 
					.container-table table{
 | 
				
			||||||
	overflow-y: auto; 
 | 
					  overflow-y: auto;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.borderless td {
 | 
					.borderless td {
 | 
				
			||||||
    border: none !important;
 | 
					    border: none !important;
 | 
				
			||||||
| 
						 | 
					@ -38,25 +39,143 @@
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.space-above {
 | 
					.space-above {
 | 
				
			||||||
	margin-top: 4%;
 | 
					  margin-top: 4%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.space-above-big {
 | 
					.space-above-big {
 | 
				
			||||||
	margin-top: 20%;
 | 
					  margin-top: 20%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.table>tbody>tr>td{
 | 
					.table>tbody>tr>td{
 | 
				
			||||||
	vertical-align: middle;
 | 
					  vertical-align: middle;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.fa-separate{
 | 
					.fa-separate{
 | 
				
			||||||
	margin-right: 15px;
 | 
					  margin-right: 15px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@media (max-width: 540px) {
 | 
					@media (max-width: 540px) {
 | 
				
			||||||
    select {
 | 
					    select {
 | 
				
			||||||
    	width: 280px; 
 | 
					      width: 280px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    .content-dashboard {
 | 
					    .content-dashboard {
 | 
				
			||||||
	    width: 90%;
 | 
					      width: 90%;
 | 
				
			||||||
	}
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/***********Styles for Model********************/
 | 
				
			||||||
 | 
					.modal-content {
 | 
				
			||||||
 | 
					    border-radius: 0px;
 | 
				
			||||||
 | 
					    font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
 | 
				
			||||||
 | 
					    width: 100%;
 | 
				
			||||||
 | 
					  float: left;
 | 
				
			||||||
 | 
					  border-radius: 0;
 | 
				
			||||||
 | 
					  font-weight: 300;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.modal-header {
 | 
				
			||||||
 | 
					  min-height: 25px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.modal-header .close {
 | 
				
			||||||
 | 
					    font-size: 75px;
 | 
				
			||||||
 | 
					    font-weight: 300;
 | 
				
			||||||
 | 
					    margin-top: 0;
 | 
				
			||||||
 | 
					    position: absolute;
 | 
				
			||||||
 | 
					    top: 0;
 | 
				
			||||||
 | 
					    right: 15px;
 | 
				
			||||||
 | 
					    z-index: 10;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.modal-header .close:focus {
 | 
				
			||||||
 | 
					  outline: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.modal-header {
 | 
				
			||||||
 | 
					    border-bottom: 0px solid #e5e5e5;
 | 
				
			||||||
 | 
					    padding: 0px 15px;
 | 
				
			||||||
 | 
					    width: 100%;
 | 
				
			||||||
 | 
					 }
 | 
				
			||||||
 | 
					.modal-body {
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					    width: 100%;
 | 
				
			||||||
 | 
					  float: left;
 | 
				
			||||||
 | 
					  padding: 0px 30px 15px 30px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.modal-body .modal-icon i {
 | 
				
			||||||
 | 
					    font-size: 80px;
 | 
				
			||||||
 | 
					    font-weight: 100;
 | 
				
			||||||
 | 
					    color: #999;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.modal-title {
 | 
				
			||||||
 | 
					    margin: 0;
 | 
				
			||||||
 | 
					    line-height: 1.42857143;
 | 
				
			||||||
 | 
					    font-size: 25px;
 | 
				
			||||||
 | 
					    padding: 0;
 | 
				
			||||||
 | 
					    font-family: 'Lato', sans-serif;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.modal-text {
 | 
				
			||||||
 | 
					    padding-top: 15px;
 | 
				
			||||||
 | 
					    font-size: 16px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.modal-footer {
 | 
				
			||||||
 | 
					    border-top: 0px solid #e5e5e5;
 | 
				
			||||||
 | 
					    width: 100%;
 | 
				
			||||||
 | 
					    float: left;
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					    padding: 15px 15px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.modal-footer button[type="submit"] {
 | 
				
			||||||
 | 
					  min-width: 80px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					@media (min-width: 1300px) {
 | 
				
			||||||
 | 
					    .modal-dialog {/*     top: 30%; */width: 35%;}
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					@media (max-width: 1299px) {
 | 
				
			||||||
 | 
					    .modal-dialog {
 | 
				
			||||||
 | 
					/*     top: 20%; */
 | 
				
			||||||
 | 
					    width: 43%;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					@media (max-width: 900px) {
 | 
				
			||||||
 | 
					    .modal-dialog {
 | 
				
			||||||
 | 
					/*     top: 20%; */
 | 
				
			||||||
 | 
					    width: 50%;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					@media (max-width: 767px) {
 | 
				
			||||||
 | 
					    .modal-dialog {
 | 
				
			||||||
 | 
					/*     top: 30%; */
 | 
				
			||||||
 | 
					    width: 90%;
 | 
				
			||||||
 | 
					    margin: 0 auto !important;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* ========= */
 | 
				
			||||||
 | 
					@media(min-width: 320px) {
 | 
				
			||||||
 | 
					   .modal:before {
 | 
				
			||||||
 | 
					     content: '';
 | 
				
			||||||
 | 
					     display: inline-block;
 | 
				
			||||||
 | 
					     height: 100%;
 | 
				
			||||||
 | 
					     vertical-align: middle;
 | 
				
			||||||
 | 
					     margin-right: -4px;
 | 
				
			||||||
 | 
					   }
 | 
				
			||||||
 | 
					 }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 @media (min-width: 768px) {
 | 
				
			||||||
 | 
					   .modal-dialog {
 | 
				
			||||||
 | 
					/*        width: 520px; */
 | 
				
			||||||
 | 
					       margin: 15px auto;
 | 
				
			||||||
 | 
					   }
 | 
				
			||||||
 | 
					 }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 .modal {
 | 
				
			||||||
 | 
					   text-align: center;
 | 
				
			||||||
 | 
					 }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 .modal-dialog {
 | 
				
			||||||
 | 
					   display: inline-block;
 | 
				
			||||||
 | 
					   text-align: left;
 | 
				
			||||||
 | 
					   vertical-align: middle;
 | 
				
			||||||
 | 
					 }
 | 
				
			||||||
| 
						 | 
					@ -52,16 +52,13 @@
 | 
				
			||||||
                                            </button>
 | 
					                                            </button>
 | 
				
			||||||
                                        </div>
 | 
					                                        </div>
 | 
				
			||||||
                                        <div class="modal-body">
 | 
					                                        <div class="modal-body">
 | 
				
			||||||
                                            <h4 class="modal-title" id="ModalLabel">{% trans "Do You want to delete your order?"%}</h4>
 | 
					                                            <div class="modal-icon"><i class="fa fa-trash" aria-hidden="true"></i></div>
 | 
				
			||||||
 | 
					                                            <h4 class="modal-title" id="ModalLabel">{% trans "Do you want to delete your order?"%}</h4>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                                            <form method="post"
 | 
					                                            <form method="post"
 | 
				
			||||||
                                                  action="{% url 'hosting:delete_order' order.id %}">
 | 
					                                                  action="{% url 'hosting:delete_order' order.id %}">
 | 
				
			||||||
                                                {% csrf_token %}
 | 
					                                                {% csrf_token %}
 | 
				
			||||||
                                                <div class="modal-footer">
 | 
					                                                <div class="modal-footer">
 | 
				
			||||||
                                                    <button type="button" class="btn btn-default"
 | 
					 | 
				
			||||||
                                                            data-dismiss="modal">
 | 
					 | 
				
			||||||
                                                        {% trans "Close"%}
 | 
					 | 
				
			||||||
                                                    </button>
 | 
					 | 
				
			||||||
                                                    <button type="submit" class="btn btn-primary">{% trans "Delete"%}
 | 
					                                                    <button type="submit" class="btn btn-primary">{% trans "Delete"%}
 | 
				
			||||||
                                                    </button>
 | 
					                                                    </button>
 | 
				
			||||||
                                                </div>
 | 
					                                                </div>
 | 
				
			||||||
| 
						 | 
					@ -71,7 +68,6 @@
 | 
				
			||||||
                                </div>
 | 
					                                </div>
 | 
				
			||||||
                            </div>
 | 
					                            </div>
 | 
				
			||||||
                        {% endfor %}
 | 
					                        {% endfor %}
 | 
				
			||||||
 | 
					 | 
				
			||||||
                        </tbody>
 | 
					                        </tbody>
 | 
				
			||||||
                    </table>
 | 
					                    </table>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -53,16 +53,13 @@
 | 
				
			||||||
                    </button>
 | 
					                    </button>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
                <div class="modal-body">
 | 
					                <div class="modal-body">
 | 
				
			||||||
                    <h4 class="modal-title" id="ModalLabel">{% trans "Do You want to delete this key?"%}</h4>
 | 
					                 <div class="modal-icon"><i class="fa fa-trash" aria-hidden="true"></i></div>
 | 
				
			||||||
 | 
					                  <h4 class="modal-title" id="ModalLabel">{% trans "Delete SSH Key"%}</h4>
 | 
				
			||||||
 | 
					                     <p class="modal-text">{% trans "Do You want to delete this key?"%}</p>
 | 
				
			||||||
                    <form method="post" action="{% url 'hosting:delete_ssh_key' user_key.id %}">
 | 
					                    <form method="post" action="{% url 'hosting:delete_ssh_key' user_key.id %}">
 | 
				
			||||||
                        {% csrf_token %}
 | 
					                        {% csrf_token %}
 | 
				
			||||||
                        <div class="modal-footer">
 | 
					                        <div class="modal-footer">
 | 
				
			||||||
                            <button type="button" class="btn btn-default"
 | 
					                            <button type="submit" class="btn btn-danger">{% trans "Delete"%}
 | 
				
			||||||
                                    data-dismiss="modal">
 | 
					 | 
				
			||||||
                                {% trans "Close"%}
 | 
					 | 
				
			||||||
                            </button>
 | 
					 | 
				
			||||||
                            <button type="submit" class="btn btn-primary">{% trans "Delete"%}
 | 
					 | 
				
			||||||
                            </button>
 | 
					                            </button>
 | 
				
			||||||
                        </div>
 | 
					                        </div>
 | 
				
			||||||
                    </form>
 | 
					                    </form>
 | 
				
			||||||
| 
						 | 
					@ -98,7 +95,6 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    window.onload = function () {
 | 
					    window.onload = function () {
 | 
				
			||||||
        {% for user_key in keys %}
 | 
					        {% for user_key in keys %}
 | 
				
			||||||
            // var locale_date = new Date(document.getElementById("ssh-created_at-{{user_key.id}}").textContent).toISOString();
 | 
					 | 
				
			||||||
            var locale_date = moment.utc(document.getElementById("ssh-created_at-{{user_key.id}}").textContent,'YYYY-MM-DD HH:mm').toDate();
 | 
					            var locale_date = moment.utc(document.getElementById("ssh-created_at-{{user_key.id}}").textContent,'YYYY-MM-DD HH:mm').toDate();
 | 
				
			||||||
            locale_date =  moment(locale_date).format("YYYY-MM-DD h:mm:ss a");
 | 
					            locale_date =  moment(locale_date).format("YYYY-MM-DD h:mm:ss a");
 | 
				
			||||||
            document.getElementById('ssh-created_at-{{user_key.id}}').innerHTML = locale_date;
 | 
					            document.getElementById('ssh-created_at-{{user_key.id}}').innerHTML = locale_date;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -159,14 +159,18 @@
 | 
				
			||||||
									<div class="modal fade" id="confirm-cancel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
 | 
														<div class="modal fade" id="confirm-cancel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
 | 
				
			||||||
									    <div class="modal-dialog">
 | 
														    <div class="modal-dialog">
 | 
				
			||||||
									        <div class="modal-content">
 | 
														        <div class="modal-content">
 | 
				
			||||||
									            <div class="modal-header">
 | 
																	<div class="modal-header">
 | 
				
			||||||
									                {% trans "Terminate your Virtual Machine"%}
 | 
																		<button type="button" class="close" data-dismiss="modal"
 | 
				
			||||||
									            </div>
 | 
																				aria-label="Confirm"><span
 | 
				
			||||||
 | 
																				aria-hidden="true">×</span>
 | 
				
			||||||
 | 
																		</button>
 | 
				
			||||||
 | 
																	</div>
 | 
				
			||||||
									            <div class="modal-body">
 | 
														            <div class="modal-body">
 | 
				
			||||||
									                {% trans "Are you sure do you want to cancel your Virtual Machine "%} {{virtual_machine.name}} ?
 | 
																		<div class="modal-icon"><i class="fa fa-ban" aria-hidden="true"></i></div>
 | 
				
			||||||
 | 
																		<h4 class="modal-title" id="ModalLabel">{% trans "Terminate your Virtual Machine"%}</h4>
 | 
				
			||||||
 | 
														                <p class="modal-text">{% trans "Are you sure do you want to cancel your Virtual Machine "%} {{virtual_machine.name}} ?</p>
 | 
				
			||||||
									            </div>
 | 
														            </div>
 | 
				
			||||||
									            <div class="modal-footer">
 | 
														            <div class="modal-footer">
 | 
				
			||||||
									                <button type="button" class="btn btn-default" data-dismiss="modal">{% trans "Cancel"%}</button>
 | 
					 | 
				
			||||||
									                <a class="btn btn-danger btn-ok">OK</a>
 | 
														                <a class="btn btn-danger btn-ok">OK</a>
 | 
				
			||||||
									            </div>
 | 
														            </div>
 | 
				
			||||||
									        </div>
 | 
														        </div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue