From 95900946334ebc8e4cdc55164d018da23d4adcce Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sun, 14 Jan 2018 10:14:02 +0800 Subject: [PATCH] attach click events to decode and prove buttons --- src/templates/js/config.js | 5 +-- src/templates/partials/tx_details.html | 47 ++++++++++++++++++++++++-- 2 files changed, 46 insertions(+), 6 deletions(-) diff --git a/src/templates/js/config.js b/src/templates/js/config.js index 42def96..123dc00 100755 --- a/src/templates/js/config.js +++ b/src/templates/js/config.js @@ -1,8 +1,5 @@ var config = { - apiUrl: "http://127.0.0.1:1984/", - mainnetExplorerUrl: "https://xmrchain.com/", - testnetExplorerUrl: "https://testnet.xmrchain.com/", - testnet: false, + testnet: true, //@todo need to make it automated coinUnitPlaces: 12, txMinConfirms: 10, // corresponds to CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE in Monero txCoinbaseMinConfirms: 60, // corresponds to CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW in Monero diff --git a/src/templates/partials/tx_details.html b/src/templates/partials/tx_details.html index cf431d6..ea87585 100644 --- a/src/templates/partials/tx_details.html +++ b/src/templates/partials/tx_details.html @@ -93,7 +93,15 @@
- + + {{#enable_js}} + + + {{/enable_js}} + {{^enable_js}} + + {{/enable_js}} @@ -116,7 +124,16 @@
- + + {{#enable_js}} + + + {{/enable_js}} + {{^enable_js}} + + {{/enable_js}} + @@ -124,6 +141,32 @@ {{/have_raw_tx}} + {{#enable_js}} + + +
+ +
+ + + + {{/enable_js}} + {{#has_inputs}}