diff --git a/app/templates/admin/list_addresses.html b/app/templates/admin/list_addresses.html index 526f0ce..3571fe0 100644 --- a/app/templates/admin/list_addresses.html +++ b/app/templates/admin/list_addresses.html @@ -13,6 +13,7 @@
+
Server | VLAN | Deploy | -Server | rDNS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ address.ip }} | + +{{ address.ip }} | {% if address.user_id != None %} -{{ address.owner.email }} | +{{ address.owner.email }} | {% else %}{% endif %} {% if address.assignee != None %} - | {{ address.assignee.deploy.server.name }} | -{{ address.assignee.vlan_id }} | -{{ address.assignee.deploy.machine_alias }} | +{{ address.assignee.deploy.server.name }} | +{{ address.assignee.vlan_id }} | +{{ address.assignee.deploy.machine_alias }} | {% else %}@@ -48,7 +48,7 @@ {% endif %} {% if address.rdns != None %} - | {{ address.rdns }} | +{{ address.rdns }} | {% else %}{% endif %} diff --git a/app/templates/admin/list_deployments.html b/app/templates/admin/list_deployments.html index b240084..de59908 100644 --- a/app/templates/admin/list_deployments.html +++ b/app/templates/admin/list_deployments.html @@ -13,6 +13,7 @@ |
{% if deploy.protected == True %}{% else %}{% endif %}{{ deploy.machine_alias }} | -{{ deploy.machine_cpu }} | -{{ deploy.machine_mem }} MB | -{{ deploy.machine_hdd }} GB | +{% if deploy.protected == True %}{% else %}{% endif %}{{ deploy.machine_alias }} | +{{ deploy.machine_cpu }} | +{{ deploy.machine_mem }} MB | +{{ deploy.machine_hdd }} GB | {% if deploy.date_last_charge == None %} -Never | +Never | {% else %} -{{ moment(deploy.date_last_charge).format('lll') }} ({{ moment(deploy.date_last_charge).fromNow() }}) | +{{ moment(deploy.date_last_charge).format('lll') }} ({{ moment(deploy.date_last_charge).fromNow() }}) | {% endif %} -{{ deploy.daysleft }} | -{{ deploy.owner.email }} | +{{ deploy.daysleft }} | +{{ deploy.owner.email }} | {% endfor %}
+
{{ service.owner.email }} | -{{ service.category }} | -{{ service.description }} | -{{ service.price }} | -{{ moment(service.date_last_charge).format('ll') }} ({{ moment(service.date_last_charge).fromNow() }}) | -{{ service.daysleft }} | +{{ service.owner.email }} | +{{ service.category }} | +{{ service.description }} | +{{ service.price }} | +{{ moment(service.date_last_charge).format('ll') }} ({{ moment(service.date_last_charge).fromNow() }}) | +{{ service.daysleft }} |
{{ transaction.pid }} | -{{ transaction.description }} | -{{ transaction.value }} {{ transaction.currency }} | -{{ moment(transaction.date_created).format('lll') }} | -{{ transaction.owner.email }} | +{{ transaction.pid }} | +{{ transaction.description }} | +{{ transaction.value }} {{ transaction.currency }} | +{{ moment(transaction.date_created).format('lll') }} | +{{ transaction.owner.email }} | {% else %}||||||||||||||
{{ transaction.pid }} | -{{ transaction.description }} | -{{ transaction.value }} {{ transaction.currency }} | -{{ moment(transaction.date_created).format('lll') }} | -{{ transaction.owner.email }} | +{{ transaction.pid }} | +{{ transaction.description }} | +{{ transaction.value }} {{ transaction.currency }} | +{{ moment(transaction.date_created).format('lll') }} | +{{ transaction.owner.email }} | {% endif %}
id | last seen | last ip | wallet | +currency | |||||||||||||||||||
{{ usr.pid }} | -{{ usr.email }} | -{{ moment(usr.last_seen).format('lll') }} | -{{ usr.last_ip }} | -{{ usr.wallet }} | + | {{ usr.email }} | +{{ moment(usr.last_seen).format('lll') }} | +{{ usr.last_ip }} | +{{ usr.wallet }} | +{{ usr.currency }} |
diff --git a/app/templates/panel/dashboard.html b/app/templates/panel/dashboard.html
index 9afeea9..2936cdd 100644
--- a/app/templates/panel/dashboard.html
+++ b/app/templates/panel/dashboard.html
@@ -2,62 +2,6 @@
{% block styles %}
{{ super() }}
-
-
{% endblock %}
{% block scripts %}
@@ -144,6 +88,7 @@ addEventListener("DOMContentLoaded", function() {
Services
+
diff --git a/app/templates/uinvoice/transactions.html b/app/templates/uinvoice/transactions.html
index 6278816..ded0d65 100644
--- a/app/templates/uinvoice/transactions.html
+++ b/app/templates/uinvoice/transactions.html
@@ -77,14 +77,14 @@ var myChart = new Chart(ctx, {
{% for transaction in transactions %}
{% if transaction.value < 0 %}
{% include "panel/services.html" %}
{{ moment(transaction.date_created).format('lll') }} |
- {{ transaction.description }} |
- {{ transaction.value|abs }} {{ transaction.currency }} |
+ {{ moment(transaction.date_created).format('lll') }} |
+ {{ transaction.description }} |
+ {{ transaction.value|abs }} {{ transaction.currency }} |
{% else %}
{{ moment(transaction.date_created).format('lll') }} |
- {{ transaction.description }} |
- {{ transaction.value|abs }} {{ transaction.currency }} |
+ {{ moment(transaction.date_created).format('lll') }} |
+ {{ transaction.description }} |
+ {{ transaction.value|abs }} {{ transaction.currency }} |
{% endif %}
|