From 081f81c41cf39065078b87cdc54d7e627c4edbf2 Mon Sep 17 00:00:00 2001 From: PCoder Date: Fri, 19 Jun 2020 13:13:26 +0530 Subject: [PATCH] Begin handling click events --- alplora/static/alplora/js/virtual_machine_detail.js | 10 ++++++++++ hosting/templates/hosting/invoices.html | 9 +++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/alplora/static/alplora/js/virtual_machine_detail.js b/alplora/static/alplora/js/virtual_machine_detail.js index 303f95ca..39e4c3bf 100755 --- a/alplora/static/alplora/js/virtual_machine_detail.js +++ b/alplora/static/alplora/js/virtual_machine_detail.js @@ -15,4 +15,14 @@ $( document ).ready(function() { $('html,body').scrollTop(scrollmem); }); + + // Toggle subscription and one-time payments div + $('#li-one-time-charges').click(function() { + console.log("li-one-time-charges clicked"); + }); + $('#li-subscriptions').click(function() { + console.log("li-one-time-charges clicked"); + }); + + }); \ No newline at end of file diff --git a/hosting/templates/hosting/invoices.html b/hosting/templates/hosting/invoices.html index 32ec8004..554858dc 100644 --- a/hosting/templates/hosting/invoices.html +++ b/hosting/templates/hosting/invoices.html @@ -16,10 +16,10 @@ -
+
@@ -73,7 +73,8 @@ {% endif %} -
+ +