invoice footer added
This commit is contained in:
parent
6515195af5
commit
8d64915d71
4 changed files with 44 additions and 27 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
@media(min-width: 768px) {
|
@media(min-width: 768px) {
|
||||||
.order-detail-container {
|
.order-detail-container {
|
||||||
padding: 30px;
|
padding: 30px 30px 20px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.order-detail-container .order-details {
|
.order-detail-container .order-details {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.order-detail-container .order-details strong {
|
.order-detail-container .order-details strong {
|
||||||
|
@ -90,3 +90,18 @@
|
||||||
width: 16px;
|
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;
|
||||||
|
}
|
|
@ -135,9 +135,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% if not order %}
|
<hr>
|
||||||
<hr>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
{% if not order %}
|
{% if not order %}
|
||||||
{% block submit_btn %}
|
{% block submit_btn %}
|
||||||
|
@ -155,6 +153,11 @@
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
{% endblock submit_btn %}
|
{% endblock submit_btn %}
|
||||||
|
{% else %}
|
||||||
|
<div class="order_detail_footer">
|
||||||
|
<strong>ungleich glarus ag</strong> Bahnhotstrasse 1, 8783 Linthal, Switzerland<br>
|
||||||
|
www.datacenterlight.ch | info@datacenterlight.ch
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -39,27 +39,25 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for vm in vms %}
|
{% for vm in vms %}
|
||||||
<tr>
|
<tr>
|
||||||
<td data-header="ID">{{vm.vm_id}}</td>
|
<td data-header="ID">{{vm.vm_id}}</td>
|
||||||
{% if vm.ipv6 %}
|
<td data-header="IPv4">{% if vm.ipv4 %}{{vm.ipv4}}{% endif %}</td>
|
||||||
<td data-header="IPv4">{{vm.ipv4}}</td>
|
<td data-header="IPv6">{% if vm.ipv6 %}{{vm.ipv6}}{% endif %}</td>
|
||||||
<td data-header="IPv6">{{vm.ipv6}}</td>
|
<td data-header="{% trans 'Status' %}">
|
||||||
{% endif %}
|
<strong>
|
||||||
<td data-header="{% trans 'Status' %}">
|
{% if vm.state == 'ACTIVE' %}
|
||||||
<strong>
|
<span class="vm-status-active">{{vm.state|title}}</span>
|
||||||
{% if vm.state == 'ACTIVE' %}
|
{% elif vm.state == 'FAILED' %}
|
||||||
<span class="vm-status-active">{{vm.state|title}}</span>
|
<span class="vm-status-failed">{{vm.state|title}}</span>
|
||||||
{% elif vm.state == 'FAILED' %}
|
{% else %}
|
||||||
<span class="vm-status-failed">{{vm.state|title}}</span>
|
<span class="vm-status">{{vm.state|title}}</span>
|
||||||
{% else %}
|
{% endif %}
|
||||||
<span class="vm-status">{{vm.state|title}}</span>
|
</strong>
|
||||||
{% endif %}
|
</td>
|
||||||
</strong>
|
<td class="text-right last-td">
|
||||||
</td>
|
<a class="btn btn-vm-detail" href="{% url 'hosting:virtual_machines' vm.vm_id %}">{% trans "View Detail" %}</a>
|
||||||
<td class="text-right last-td">
|
</td>
|
||||||
<a class="btn btn-vm-detail" href="{% url 'hosting:virtual_machines' vm.vm_id %}">{% trans "View Detail" %}</a>
|
</tr>
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -8,7 +8,8 @@ from .views import (
|
||||||
MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView,
|
MarkAsReadNotificationView, PasswordResetView, PasswordResetConfirmView,
|
||||||
HostingPricingView, CreateVirtualMachinesView, HostingBillListView,
|
HostingPricingView, CreateVirtualMachinesView, HostingBillListView,
|
||||||
HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView,
|
HostingBillDetailView, SSHKeyDeleteView, SSHKeyCreateView, SSHKeyListView,
|
||||||
SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView)
|
SSHKeyChoiceView, DashboardView, SettingsView, ResendActivationEmailView
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
|
|
Loading…
Reference in a new issue