diff --git a/hosting/static/hosting/css/order.css b/hosting/static/hosting/css/order.css
index 8e9226e2..734566a5 100644
--- a/hosting/static/hosting/css/order.css
+++ b/hosting/static/hosting/css/order.css
@@ -7,7 +7,7 @@
@media(min-width: 768px) {
.order-detail-container {
- padding: 30px;
+ padding: 30px 30px 20px;
}
}
@@ -53,7 +53,7 @@
}
.order-detail-container .order-details {
- margin-bottom: 30px;
+ margin-bottom: 15px;
}
.order-detail-container .order-details strong {
@@ -90,3 +90,18 @@
width: 16px;
}
}
+
+.order_detail_footer {
+ font-size: 9px;
+ letter-spacing: 1px;
+ color: #333333;
+}
+
+.order_detail_footer strong {
+ font-size: 11px;
+}
+
+
+#virtual_machine_create_form {
+ padding: 15px 0;
+}
\ No newline at end of file
diff --git a/hosting/templates/hosting/order_detail.html b/hosting/templates/hosting/order_detail.html
index fe200f6e..6ea4f36f 100644
--- a/hosting/templates/hosting/order_detail.html
+++ b/hosting/templates/hosting/order_detail.html
@@ -135,9 +135,7 @@
- {% if not order %}
-
- {% endif %}
+
{% if not order %}
{% block submit_btn %}
@@ -155,6 +153,11 @@
{% endblock submit_btn %}
+ {% else %}
+
{% endif %}
{% endif %}
diff --git a/hosting/templates/hosting/virtual_machines.html b/hosting/templates/hosting/virtual_machines.html
index 6329cc10..467d9d39 100644
--- a/hosting/templates/hosting/virtual_machines.html
+++ b/hosting/templates/hosting/virtual_machines.html
@@ -39,27 +39,25 @@
{% for vm in vms %}
-
- {{vm.vm_id}} |
- {% if vm.ipv6 %}
- {{vm.ipv4}} |
- {{vm.ipv6}} |
- {% endif %}
-
-
- {% if vm.state == 'ACTIVE' %}
- {{vm.state|title}}
- {% elif vm.state == 'FAILED' %}
- {{vm.state|title}}
- {% else %}
- {{vm.state|title}}
- {% endif %}
-
- |
-
- {% trans "View Detail" %}
- |
-
+
+ {{vm.vm_id}} |
+ {% if vm.ipv4 %}{{vm.ipv4}}{% endif %} |
+ {% if vm.ipv6 %}{{vm.ipv6}}{% endif %} |
+
+
+ {% if vm.state == 'ACTIVE' %}
+ {{vm.state|title}}
+ {% elif vm.state == 'FAILED' %}
+ {{vm.state|title}}
+ {% else %}
+ {{vm.state|title}}
+ {% endif %}
+
+ |
+
+ {% trans "View Detail" %}
+ |
+
{% endfor %}
diff --git a/hosting/urls.py b/hosting/urls.py
index b00a199c..2112c493 100644
--- a/hosting/urls.py
+++ b/hosting/urls.py
@@ -8,7 +8,8 @@ from .views import (
MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView,
HostingPricingView, CreateVirtualMachinesView, HostingBillListView,
HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView,
- SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView)
+ SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView
+)
urlpatterns = [