From aaff4f048dbe1af23e57e2233b5a8f9d6b4d5811 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 7 Jul 2017 23:25:38 +0530 Subject: [PATCH] Removed some unnecessary code --- hosting/templates/hosting/orders.html | 4 ---- hosting/templates/hosting/user_keys.html | 5 ----- hosting/templates/hosting/virtual_machine_detail.html | 1 - 3 files changed, 10 deletions(-) diff --git a/hosting/templates/hosting/orders.html b/hosting/templates/hosting/orders.html index afe8f297..1fd1efa8 100644 --- a/hosting/templates/hosting/orders.html +++ b/hosting/templates/hosting/orders.html @@ -59,10 +59,6 @@ action="{% url 'hosting:delete_order' order.id %}"> {% csrf_token %} diff --git a/hosting/templates/hosting/user_keys.html b/hosting/templates/hosting/user_keys.html index f4db83d2..ad457a3e 100644 --- a/hosting/templates/hosting/user_keys.html +++ b/hosting/templates/hosting/user_keys.html @@ -59,10 +59,6 @@
{% csrf_token %} @@ -99,7 +95,6 @@ window.onload = function () { {% for user_key in keys %} - // var locale_date = new Date(document.getElementById("ssh-created_at-{{user_key.id}}").textContent).toISOString(); var locale_date = moment.utc(document.getElementById("ssh-created_at-{{user_key.id}}").textContent,'YYYY-MM-DD HH:mm').toDate(); locale_date = moment(locale_date).format("YYYY-MM-DD h:mm:ss a"); document.getElementById('ssh-created_at-{{user_key.id}}').innerHTML = locale_date; diff --git a/hosting/templates/hosting/virtual_machine_detail.html b/hosting/templates/hosting/virtual_machine_detail.html index fdedac30..ae2176f7 100644 --- a/hosting/templates/hosting/virtual_machine_detail.html +++ b/hosting/templates/hosting/virtual_machine_detail.html @@ -171,7 +171,6 @@