Design calculator page
This commit is contained in:
		
					parent
					
						
							
								30f042cdc3
							
						
					
				
			
			
				commit
				
					
						506fbca204
					
				
			
		
					 6 changed files with 325 additions and 2 deletions
				
			
		| 
						 | 
					@ -136,6 +136,9 @@ h6 {
 | 
				
			||||||
    padding: 10px 15px;
 | 
					    padding: 10px 15px;
 | 
				
			||||||
    cursor: pointer;
 | 
					    cursor: pointer;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					.navbar-right {
 | 
				
			||||||
 | 
					    margin-right: 0px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
.intro-header {
 | 
					.intro-header {
 | 
				
			||||||
    height: 100vh;
 | 
					    height: 100vh;
 | 
				
			||||||
    text-align: center;
 | 
					    text-align: center;
 | 
				
			||||||
| 
						 | 
					@ -222,6 +225,33 @@ h6 {
 | 
				
			||||||
    font-weight: 300;
 | 
					    font-weight: 300;
 | 
				
			||||||
    font-family: 'Montserrat-Light';
 | 
					    font-family: 'Montserrat-Light';
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.intro-pricing{
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					    color: #fff;
 | 
				
			||||||
 | 
					    background: url(../img/pattern.jpg) no-repeat center center;
 | 
				
			||||||
 | 
					    background-size: cover;
 | 
				
			||||||
 | 
					    height: 70vh;
 | 
				
			||||||
 | 
					    max-height: 400px;
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    justify-content: center;
 | 
				
			||||||
 | 
					    align-items: center;
 | 
				
			||||||
 | 
					    position: relative;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.intro-pricing::before{
 | 
				
			||||||
 | 
					    content: "";
 | 
				
			||||||
 | 
					    position: absolute;
 | 
				
			||||||
 | 
					    top: 0;
 | 
				
			||||||
 | 
					    bottom: 0;
 | 
				
			||||||
 | 
					    left: 0;
 | 
				
			||||||
 | 
					    right: 0;
 | 
				
			||||||
 | 
					    background: rgba(90, 116, 175, 0.7);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.intro-pricing .intro-message .section-heading{
 | 
				
			||||||
 | 
					    font-size: 45px;
 | 
				
			||||||
 | 
					    width: 80%;
 | 
				
			||||||
 | 
					    margin: 0 auto;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
.split-section {
 | 
					.split-section {
 | 
				
			||||||
    padding: 70px 0;
 | 
					    padding: 70px 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					@ -477,6 +507,88 @@ h6 {
 | 
				
			||||||
    right: 0;
 | 
					    right: 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/*Pricing page*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.price-calc-section{
 | 
				
			||||||
 | 
					    padding: 80px 40px !important;
 | 
				
			||||||
 | 
					    background: -webkit-linear-gradient(top, #f0f4f7, #fff) no-repeat;
 | 
				
			||||||
 | 
					    background: linear-gradient(to bottom, #f0f4f7, #fff) no-repeat;
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .text{
 | 
				
			||||||
 | 
					   width: 50%;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .text .section-heading{
 | 
				
			||||||
 | 
					    font-family: 'Montserrat-Bold';
 | 
				
			||||||
 | 
					    font-size: 50px;
 | 
				
			||||||
 | 
					    line-height: 50px;
 | 
				
			||||||
 | 
					    padding-bottom: 25px;
 | 
				
			||||||
 | 
					    color: #3a3a3a;
 | 
				
			||||||
 | 
					    letter-spacing: 1px;
 | 
				
			||||||
 | 
					    position: relative;
 | 
				
			||||||
 | 
					    text-align: right;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .text .section-heading::before{
 | 
				
			||||||
 | 
					    content: "";
 | 
				
			||||||
 | 
					    position: absolute;
 | 
				
			||||||
 | 
					    bottom: 0;
 | 
				
			||||||
 | 
					    background: #29427A;
 | 
				
			||||||
 | 
					    height: 7px;
 | 
				
			||||||
 | 
					    width: 70px;
 | 
				
			||||||
 | 
					    right: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card{
 | 
				
			||||||
 | 
					    width: 50%;
 | 
				
			||||||
 | 
					    margin: 0 auto;
 | 
				
			||||||
 | 
					    background: #fff;
 | 
				
			||||||
 | 
					    box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
 | 
				
			||||||
 | 
					    padding-bottom: 40px;
 | 
				
			||||||
 | 
					    border-radius: 7px;
 | 
				
			||||||
 | 
					    text-align: center;
 | 
				
			||||||
 | 
					    /* margin-right: auto; */
 | 
				
			||||||
 | 
					    max-width: 400px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .title{
 | 
				
			||||||
 | 
					    padding: 15px 40px;
 | 
				
			||||||
 | 
					    font-family: 'Montserrat-Medium';
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .title h3{
 | 
				
			||||||
 | 
					    font-family: 'Montserrat-Medium';
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .price{
 | 
				
			||||||
 | 
					    background: #5A74AF;
 | 
				
			||||||
 | 
					    padding: 22px;
 | 
				
			||||||
 | 
					    color: #fff;
 | 
				
			||||||
 | 
					    font-size: 32px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .description{
 | 
				
			||||||
 | 
					    padding: 12px;
 | 
				
			||||||
 | 
					    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
 | 
				
			||||||
 | 
					    position: relative;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .description span{
 | 
				
			||||||
 | 
					    font-size: 20px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .description i{
 | 
				
			||||||
 | 
					    color: #29427A;
 | 
				
			||||||
 | 
					    cursor: pointer;
 | 
				
			||||||
 | 
					    font-size: 24px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .description .left{
 | 
				
			||||||
 | 
					   margin-right: 7px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .description .right{
 | 
				
			||||||
 | 
					   margin-left: 7px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .descriptions{
 | 
				
			||||||
 | 
					    padding: 10px 30px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .description p{
 | 
				
			||||||
 | 
					    margin: 0;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.price-calc-section .card .btn{
 | 
				
			||||||
 | 
					    margin-top: 20px;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@media(max-width:990px) {
 | 
					@media(max-width:990px) {
 | 
				
			||||||
    .pricing-section .text {
 | 
					    .pricing-section .text {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								datacenterlight/static/datacenterlight/img/pattern.jpg
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								datacenterlight/static/datacenterlight/img/pattern.jpg
									
										
									
									
									
										Executable file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 181 KiB  | 
| 
						 | 
					@ -43,7 +43,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!-- Navigation -->
 | 
					    <!-- Navigation -->
 | 
				
			||||||
    <nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
 | 
					    <nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
 | 
				
			||||||
        <div class="container topnav">
 | 
					        <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">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										207
									
								
								datacenterlight/templates/datacenterlight/pricing.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										207
									
								
								datacenterlight/templates/datacenterlight/pricing.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,207 @@
 | 
				
			||||||
 | 
					{% load staticfiles i18n%}
 | 
				
			||||||
 | 
					{% get_current_language as LANGUAGE_CODE %}
 | 
				
			||||||
 | 
					<!DOCTYPE html>
 | 
				
			||||||
 | 
					<html lang="en">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <meta charset="utf-8">
 | 
				
			||||||
 | 
					    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 | 
				
			||||||
 | 
					    <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
				
			||||||
 | 
					    <meta name="description" content="">
 | 
				
			||||||
 | 
					    <meta name="author" content="">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <title>datacenterlight.ch - Featherlight Swiss VM</title>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Bootstrap Core CSS -->
 | 
				
			||||||
 | 
					    <link href="{% static 'datacenterlight/css/bootstrap.min.css' %}" rel="stylesheet">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Custom Fonts -->
 | 
				
			||||||
 | 
					    <!--Import Google Icon Font-->
 | 
				
			||||||
 | 
					     <link href="//fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
 | 
				
			||||||
 | 
					    <link href="{% static 'datacenterlight/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet" type="text/css">
 | 
				
			||||||
 | 
					    <link href="//fonts.googleapis.com/css?family=Lato:300,400,700,300italic,400italic,700italic" rel="stylesheet" type="text/css">
 | 
				
			||||||
 | 
					    <link rel="shortcut icon" href="{% static 'datacenterlight/img/favicon.ico' %}" type="image/x-icon" />
 | 
				
			||||||
 | 
					    <link href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.5.4/bootstrap-select.min.css" rel="stylesheet">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Custom CSS -->
 | 
				
			||||||
 | 
					    <link href="{% static 'datacenterlight/css/landing-page.css' %}" rel="stylesheet">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
 | 
				
			||||||
 | 
					    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
 | 
				
			||||||
 | 
					    <!--[if lt IE 9]>
 | 
				
			||||||
 | 
					        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
 | 
				
			||||||
 | 
					        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
 | 
				
			||||||
 | 
					    <![endif]-->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Navigation -->
 | 
				
			||||||
 | 
					    <nav class="navbar navbar-default navbar-fixed-top topnav" role="navigation">
 | 
				
			||||||
 | 
					        <div class="topnav">
 | 
				
			||||||
 | 
					            <!-- Brand and toggle get grouped for better mobile display -->
 | 
				
			||||||
 | 
					            <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>
 | 
				
			||||||
 | 
					                <a id="logoBlack" class="navbar-brand topnav url" href="/datacenterlight" ><img src="{% static 'datacenterlight/img/logo_black.svg' %}"></a>
 | 
				
			||||||
 | 
					                <a id="logoWhite" class="navbar-brand topnav url" href="/datacenterlight" ><img src="{% static 'datacenterlight/img/logo_white.svg' %}"></a>
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					            <!-- Collect the nav links, forms, and other content for toggling -->
 | 
				
			||||||
 | 
					            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
 | 
				
			||||||
 | 
					                <ul class="nav navbar-nav navbar-right">
 | 
				
			||||||
 | 
					                 <!--    <li>
 | 
				
			||||||
 | 
					                        <a class="url" href="javascript:void(0)" data-url="#how" >{% trans "What is it" %}</a>
 | 
				
			||||||
 | 
					                    </li>
 | 
				
			||||||
 | 
					                    <li>
 | 
				
			||||||
 | 
					                        <a class="url" href="javascript:void(0)" data-url="#your"  >{% trans "Scale out" %}</a>
 | 
				
			||||||
 | 
					                    </li>
 | 
				
			||||||
 | 
					                   <li>
 | 
				
			||||||
 | 
					                        <a class="url" href="javascript:void(0)" data-url="#our">{% trans "Reliable and light" %}</a>
 | 
				
			||||||
 | 
					                    </li>
 | 
				
			||||||
 | 
					                    <li>
 | 
				
			||||||
 | 
					                        <a class="url" href="javascript:void(0)" data-url="#price" >{% trans "Buy VM" %}</a>
 | 
				
			||||||
 | 
					                    </li>
 | 
				
			||||||
 | 
					                    <li>
 | 
				
			||||||
 | 
					                        <a class="url" href="javascript:void(0)" data-url="#contact"  >{% trans "Contact" %}</a>
 | 
				
			||||||
 | 
					                     </li> -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    <select class="selectpicker" data-width="fit" onchange="location = this.value;" style="margin-top:10px;">
 | 
				
			||||||
 | 
					                        {% if LANGUAGE_CODE == 'en-us'%} 
 | 
				
			||||||
 | 
					                            <option selected="selected" value="{{base_url}}/en-us/datacenterlight/">English</option>
 | 
				
			||||||
 | 
					                        {% else %}
 | 
				
			||||||
 | 
					                            <option value="{{base_url}}/en-us/datacenterlight/">English</option>
 | 
				
			||||||
 | 
					                        {% endif %}
 | 
				
			||||||
 | 
					                        {% if LANGUAGE_CODE == 'de'%} 
 | 
				
			||||||
 | 
					                            <option selected="selected" value="{{base_url}}/de/datacenterlight/">Deutsch</option>
 | 
				
			||||||
 | 
					                        {% else %}
 | 
				
			||||||
 | 
					                            <option value="{{base_url}}/de/datacenterlight/">Deutsch</option>
 | 
				
			||||||
 | 
					                        {% endif %}         
 | 
				
			||||||
 | 
					                        
 | 
				
			||||||
 | 
					                      </select> 
 | 
				
			||||||
 | 
					                </ul>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					            <!-- /.navbar-collapse -->
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					        <!-- /.container -->
 | 
				
			||||||
 | 
					    </nav>
 | 
				
			||||||
 | 
						<div class="intro-pricing">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<div class="intro-message">
 | 
				
			||||||
 | 
								<h2 class="section-heading">{% trans "We are cutting down the costs significantly!" %}</h2>
 | 
				
			||||||
 | 
							</div>
 | 
				
			||||||
 | 
							
 | 
				
			||||||
 | 
						</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						<div class="price-calc-section">
 | 
				
			||||||
 | 
							<div class="card">
 | 
				
			||||||
 | 
								 <div class="caption">
 | 
				
			||||||
 | 
					                <div class="title">
 | 
				
			||||||
 | 
					                   <h3>{% trans "VM hosting" %} </h3> 
 | 
				
			||||||
 | 
					                </div>
 | 
				
			||||||
 | 
					              <div class="price">
 | 
				
			||||||
 | 
					                  <span id="total">15CHF</span>
 | 
				
			||||||
 | 
					              </div>
 | 
				
			||||||
 | 
					              <div class="descriptions">
 | 
				
			||||||
 | 
					                  <div class="description">
 | 
				
			||||||
 | 
					                    <p>{% trans "Based in Switzerland" %}</p>
 | 
				
			||||||
 | 
					                  </div>
 | 
				
			||||||
 | 
					                  <div class="description">
 | 
				
			||||||
 | 
					                     <i class="left fa fa-minus-circle" aria-hidden="true"></i>
 | 
				
			||||||
 | 
					                     <span id="coreValue">1</span> <span>core</span> 
 | 
				
			||||||
 | 
					                     <i class="right fa fa-plus-circle" aria-hidden="true"></i>
 | 
				
			||||||
 | 
					                  </div>
 | 
				
			||||||
 | 
					                  <div class="description">
 | 
				
			||||||
 | 
					                   <i class="left fa fa-minus-circle" aria-hidden="true"></i>
 | 
				
			||||||
 | 
					                    <span id="ramValue">2</span><span> GiB RAM,</span>
 | 
				
			||||||
 | 
					                    <i class="right fa fa-plus-circle" aria-hidden="true"></i>
 | 
				
			||||||
 | 
					                  </div>
 | 
				
			||||||
 | 
					                  <div class="description">
 | 
				
			||||||
 | 
					                  	<i class="left fa fa-minus-circle" aria-hidden="true"></i>
 | 
				
			||||||
 | 
					                    <span id="storageValue">15</span><span>{% trans "GiB storage(SSD)" %}</span>
 | 
				
			||||||
 | 
					                     <i class="right fa fa-plus-circle" aria-hidden="true"></i>
 | 
				
			||||||
 | 
					                  </div>
 | 
				
			||||||
 | 
					              </div>
 | 
				
			||||||
 | 
					              <a href="#" class="btn btn-primary">{% trans "Buy Now!" %}</a>
 | 
				
			||||||
 | 
					          </div>
 | 
				
			||||||
 | 
							</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							<div class="text">
 | 
				
			||||||
 | 
								<h2 class="section-heading">{% trans "We are cutting down the costs significantly!" %}</h2>
 | 
				
			||||||
 | 
							</div>
 | 
				
			||||||
 | 
						</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- /.banner -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Footer -->
 | 
				
			||||||
 | 
					    <footer>
 | 
				
			||||||
 | 
					        <div class="container">
 | 
				
			||||||
 | 
					            <div class="row">
 | 
				
			||||||
 | 
					                <div class="col-lg-12">
 | 
				
			||||||
 | 
					                    <ul class="list-inline">
 | 
				
			||||||
 | 
					                        <li>
 | 
				
			||||||
 | 
					                            <a href="#">{% trans "Home" %}</a>
 | 
				
			||||||
 | 
					                        </li>
 | 
				
			||||||
 | 
					                        <li class="footer-menu-divider">⋅</li>
 | 
				
			||||||
 | 
					                        <li>
 | 
				
			||||||
 | 
					                            <a href="#about">{% trans "How it works" %}</a></li>
 | 
				
			||||||
 | 
					                        <li class="footer-menu-divider">⋅</li>
 | 
				
			||||||
 | 
					                        <li>
 | 
				
			||||||
 | 
					                            <a href="#about">{% trans "Scale out" %}</a></li>
 | 
				
			||||||
 | 
					                        <li>⋅</li>
 | 
				
			||||||
 | 
					                        <li>
 | 
				
			||||||
 | 
					                            <a href="#about">{% trans "Reliable and light" %}</a></li>
 | 
				
			||||||
 | 
					                        <li class="footer-menu-divider">⋅</li>
 | 
				
			||||||
 | 
					                        <li>
 | 
				
			||||||
 | 
					                            <a href="#services">{% trans "Pricing" %}</a>
 | 
				
			||||||
 | 
					                        </li>
 | 
				
			||||||
 | 
					                        <li class="footer-menu-divider">⋅</li>
 | 
				
			||||||
 | 
					                        <li>
 | 
				
			||||||
 | 
					                            <a href="#contact">{% trans "Contact" %}</a>
 | 
				
			||||||
 | 
					                        </li>
 | 
				
			||||||
 | 
					                    </ul>
 | 
				
			||||||
 | 
					                    <p class="copyright text-muted small">Copyright © ungleich GmbH {% now "Y" %}. All Rights Reserved</p>
 | 
				
			||||||
 | 
					                </div>
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					    </footer>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- jQuery -->
 | 
				
			||||||
 | 
					    <script src="{% static 'datacenterlight/js/jquery.js' %}"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<script type="text/javascript">
 | 
				
			||||||
 | 
					      window.onload=function(){
 | 
				
			||||||
 | 
					        $('.selectpicker').selectpicker({
 | 
				
			||||||
 | 
					             style: 'btn-link',
 | 
				
			||||||
 | 
					             windowPadding: 10,
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        var hash = window.location.hash.substr(1);
 | 
				
			||||||
 | 
					        console.log(hash);
 | 
				
			||||||
 | 
					        if (hash == 'requestform'){
 | 
				
			||||||
 | 
					            $('#reques-success-message').modal('show');
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					       };
 | 
				
			||||||
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.5.4/bootstrap-select.js"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Bootstrap Core JavaScript -->
 | 
				
			||||||
 | 
					    <script src="{% static 'datacenterlight/js/bootstrap.min.js' %}"></script>
 | 
				
			||||||
 | 
					    <script src="{% static 'datacenterlight/js/main.js' %}"></script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
| 
						 | 
					@ -1,10 +1,11 @@
 | 
				
			||||||
from django.conf.urls import url
 | 
					from django.conf.urls import url
 | 
				
			||||||
 | 
					
 | 
				
			||||||
from .views import IndexView, BetaProgramView, LandingProgramView
 | 
					from .views import IndexView, BetaProgramView, LandingProgramView, PricingView
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
urlpatterns = [
 | 
					urlpatterns = [
 | 
				
			||||||
    url(r'^/?$', IndexView.as_view(), name='index'),
 | 
					    url(r'^/?$', IndexView.as_view(), name='index'),
 | 
				
			||||||
    url(r'^/beta-program/?$', BetaProgramView.as_view(), name='beta'),
 | 
					    url(r'^/beta-program/?$', BetaProgramView.as_view(), name='beta'),
 | 
				
			||||||
    url(r'^/landing/?$', LandingProgramView.as_view(), name='landing'),
 | 
					    url(r'^/landing/?$', LandingProgramView.as_view(), name='landing'),
 | 
				
			||||||
 | 
					    url(r'^/pricing/?$', PricingView.as_view(), name='pricing'),
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,6 +12,9 @@ from opennebula_api.serializers import VirtualMachineTemplateSerializer
 | 
				
			||||||
class LandingProgramView(TemplateView):
 | 
					class LandingProgramView(TemplateView):
 | 
				
			||||||
    template_name = "datacenterlight/landing.html"
 | 
					    template_name = "datacenterlight/landing.html"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class PricingView(TemplateView):
 | 
				
			||||||
 | 
					    template_name = "datacenterlight/pricing.html"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class BetaProgramView(CreateView):
 | 
					class BetaProgramView(CreateView):
 | 
				
			||||||
    template_name = "datacenterlight/beta.html"
 | 
					    template_name = "datacenterlight/beta.html"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue