From 6539344d125579eff921c5e9754fa4b6e7c6ac49 Mon Sep 17 00:00:00 2001
From: Dev-JamesR
Date: Sun, 13 Oct 2019 20:59:22 -0700
Subject: [PATCH] #17 Missing Modals Bug Fix / #14 Inactive Buttons Fix
---
assets/dashboard/js/app.js | 3 +-
assets/templates/uploads.html | 476 ++++++++++++++++++----------------
2 files changed, 257 insertions(+), 222 deletions(-)
diff --git a/assets/dashboard/js/app.js b/assets/dashboard/js/app.js
index 68e33ce..79fe9c9 100644
--- a/assets/dashboard/js/app.js
+++ b/assets/dashboard/js/app.js
@@ -986,7 +986,6 @@ function startUploadProcess() {
from: GlobalUserAddress,
value: contractCost
};
- $('#preparingUploadModal').modal('hide');
console.log("Contract Address: " + GlobalControllerContractAddress + " Value: " + contractCost);
if (privateKeyLogin == true) {
const tx = {
@@ -1006,6 +1005,7 @@ function startUploadProcess() {
if (result) {
console.log("Result: " + result);
$('#minedBlockTrackerModal').modal('show');
+ $('#preparingUploadModal').modal('hide');
waitForReceipt(result, function(receipt) {
console.log("Transaction Has Been Mined: " + receipt);
$('#minedBlockTrackerModal').modal('hide');
@@ -1027,6 +1027,7 @@ function startUploadProcess() {
if (!error) {
if (result) {
$('#minedBlockTrackerModal').modal('show');
+ $('#preparingUploadModal').modal('hide');
waitForReceipt(result, function(receipt) {
console.log("Transaction Has Been Mined: " + receipt);
$('#minedBlockTrackerModal').modal('hide');
diff --git a/assets/templates/uploads.html b/assets/templates/uploads.html
index 240859a..e2c2809 100644
--- a/assets/templates/uploads.html
+++ b/assets/templates/uploads.html
@@ -1,6 +1,7 @@
-
+
@@ -12,7 +13,8 @@
-->
-
+
@@ -185,14 +187,16 @@
|
-
+
|
@@ -220,7 +224,8 @@
@@ -265,7 +270,8 @@
@@ -290,7 +296,8 @@
box to upload.
-
+
@@ -331,7 +339,8 @@
|
-
+
|
@@ -375,7 +384,8 @@
@@ -387,7 +397,8 @@
-
+
-
-
-
-
-
-
-
-
-
-
Ether-1 Transaction Status:
- In
- Progress
-
-
-
Message Log:
-
-
-
-
-
-
Current Ether-1 Block Height:
-       
- 0
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
ETHOFS UPLOAD STATUS:
- PREPARING UPLOAD
-
-
-
Message Log:
- Preparing Data For Upload
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
Ether-1 Transaction Status:
+ In
+ Progress
+
+
+
Message Log:
- ETHOFS HOSTING CONTRACT DETAILS
+
-
-
-
-
-
- | Contract Name |
-
-
- |
-
- |
-
-
- | Contract Deployment Block Height |
-
-
- |
-
- |
-
-
- | Contract Expiration Block Height |
-
-
- |
-
- |
-
-
- | Contract Status |
-
-
- |
-
- |
-
-
- | Total Contract Size |
-
-
- |
-
- |
-
-
- | Content Hash |
-
-
-
-
-
- | Contract Extension Duration (Blocks) |
- Cost |
-
-
- |
-
- |
-
- 0 ETHO
- |
-
-
-
-
-
-
-
-
+
+
Current Ether-1 Block Height:
+       
+ 0
+
-
-
-
+
+
-
+
+
+
+
+
+
+
+
+
+
ETHOFS UPLOAD STATUS:
+ PREPARING UPLOAD
+
+
+
Message Log:
+ Preparing Data For
+ Upload
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETHOFS HOSTING CONTRACT DETAILS
+
+
+
+
+
+
+
+ | Contract Name |
+
+
+ |
+
+ |
+
+
+ | Contract Deployment Block Height |
+
+
+ |
+
+ |
+
+
+ | Contract Expiration Block Height |
+
+
+ |
+
+ |
+
+
+ | Contract Status |
+
+
+ |
+
+ |
+
+
+ | Total Contract Size |
+
+
+ |
+
+ |
+
+
+ | Content Hash |
+
+
+
+
+
+ | Contract Extension Duration (Blocks) |
+ Cost |
+
+
+ |
+
+ |
+
+ 0 ETHO
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -707,4 +741,4 @@
module = window.module;
-
+
\ No newline at end of file