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 @@
Addresses

+

@@ -22,7 +23,6 @@ - @@ -30,17 +30,17 @@ {% for address in addresses %} {% if address.reserved == True %}{% else %}{% endif %} - - + + {% if address.user_id != None %} - + {% else %} {% endif %} {% if address.assignee != None %} - - - + + + {% else %} @@ -48,7 +48,7 @@ {% endif %} {% if address.rdns != None %} - + {% 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 @@
Deployments

+

Server VLAN DeployServer rDNS
{{ address.ip }}{{ address.ip }}{{ address.owner.email }}{{ address.owner.email }}{{ 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 }} {{ address.rdns }}{{ address.rdns }}
@@ -36,17 +37,17 @@ {% endif %} {% endif %} - - - - + + + + {% if deploy.date_last_charge == None %} - + {% else %} - + {% endif %} - - + + {% endfor %}
{% 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 }} GBNeverNever{{ 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() }}){{ deploy.daysleft }}{{ deploy.owner.email }}{{ deploy.daysleft }}{{ deploy.owner.email }}
diff --git a/app/templates/admin/list_services.html b/app/templates/admin/list_services.html index 92b4255..53f2617 100644 --- a/app/templates/admin/list_services.html +++ b/app/templates/admin/list_services.html @@ -13,6 +13,7 @@
Services

+

@@ -35,12 +36,12 @@ {% endif %} {% endif %} - - - - - - + + + + + + {% endfor %} diff --git a/app/templates/admin/list_transactions.html b/app/templates/admin/list_transactions.html index ba16535..f6225c2 100644 --- a/app/templates/admin/list_transactions.html +++ b/app/templates/admin/list_transactions.html @@ -9,8 +9,7 @@
All Transactions
- -
+
{{ 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 }}
@@ -26,18 +25,18 @@ {% for transaction in transactions %} {% if transaction.value > 0 %} - - - - - + + + + + {% else %} - - - - - + + + + + {% endif %} diff --git a/app/templates/admin/list_users.html b/app/templates/admin/list_users.html index 86a87b1..0e7bad8 100644 --- a/app/templates/admin/list_users.html +++ b/app/templates/admin/list_users.html @@ -8,25 +8,26 @@
List Active Users

+

{{ 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 }}
{{ 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 }}
- + {% for usr in users %} - - - - - + + + + - - - + + + {% else %} - - - + + + {% endif %}
id email last seen last ip walletcurrency
{{ 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
+
{% include "panel/services.html" %}
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 %}
{{ 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 }}
{{ 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 }}