Fixed Pricing pages bugs

This commit is contained in:
Henry Bravo 2017-05-23 18:32:06 -05:00
commit c205bb05e8
82 changed files with 4525 additions and 51 deletions

View file

@ -227,25 +227,27 @@
<h3>{% trans "VM hosting" %} </h3>
</div>
<div class="price">
<span>15CHF/month</span>
<span>15 CHF/month</span>
</div>
<div class="descriptions">
<div class="description">
<p>{% trans "Based in Switzerland" %}</p>
</div>
<div class="description">
<p>1 core, </p>
<p>1 Core, </p>
</div>
<div class="description">
<p>2 GiB RAM, </p>
<p>2 GB RAM, </p>
</div>
<div class="description">
<p>{% trans "15 GiB storage(SSD)" %}</p>
<p>{% trans "15 GB Storage (SSD)" %}</p>
</div>
</div>
<a href="{% url 'datacenterlight:pricing' %}" class="btn btn-primary">{% trans "Order Now!" %}</a>
</div>
<img class="img-beta" src="{% static 'datacenterlight/img/beta.png' %}" alt="">
</div>
</div>
</div>
</div>
@ -257,7 +259,7 @@
<div class="row">
<div class="col-sm-6 col-md-6">
<div class="title">
<h2>{% trans "I want to try!" %}</h2>
<h2>{% trans "Want to know more? Subscribe to our newsletter!" %}</h2>
</div>
</div>
<div class="col-sm-6 col-md-6">

View file

@ -105,6 +105,7 @@
<div class="price-calc-section">
<div class="card">
<img class="img-beta" src="{% static 'datacenterlight/img/beta.png' %}" alt="">
<div class="caption">
<form method="POST" action="">
{% csrf_token %}
@ -122,7 +123,7 @@
</div>
<div class="description">
<i class="fa fa-minus-circle left" data-minus="cpu" aria-hidden="true"></i>
<span id="coreValue">1</span><span> core</span>
<span id="coreValue">1</span><span> Core</span>
<i class="fa fa-plus-circle right" data-plus="cpu" aria-hidden="true"></i>
</div>
<div class="description">
@ -132,14 +133,13 @@
</div>
<div class="description">
<i class="fa fa-minus-circle left" data-minus="storage" aria-hidden="true"></i>
<span id="storageValue">15</span><span>{% trans "GiB storage(SSD)" %}</span>
<span id="storageValue">15</span><span>{% trans "GB Storage (SSD)" %}</span>
<i class="fa fa-plus-circle right" data-plus="storage" aria-hidden="true"></i>
</div>
<div class="description select-configuration">
<select name="config" id="">
<option value="" disabled selected>Configuration</option>
{% for template in templates %}
<option value="{{template.id}}">{{template.name}} </option>
{% endfor %}