-
ethoFS Account Address Not Found - Please Install/Login To a Browser Extension or Login
- With Private Key Below
-
-
- | Private Key: |
-
-
- |
-
- |
-
+
+
+
+
+
+ | Name |
+ ethoFS Contract Hash |
+ Start Block |
+ End Block |
+ Status |
+ Options |
+
+
+
-
-
-
-
-
-
-
-
-
-
-
ethoFS Account Registration
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ETHOFS BROWSER NODE INFORMATION
-
-
-
-
-
-
Status:            
-
-
Peer Health:       
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Upload Your Files
-
-
-
-
- Click here to upload a directory or drag an individual file into this
- box to upload.
-
-
-
-
-
-
-
-
- | Upload Path |
- File Name |
- File Size |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
ethoFS Upload Status:
- In
- Progress
-
-
-
Message Log:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
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
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 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
- |
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
ethoFS Account Address Not Found - Please Install/Login To a Browser Extension or Login
+ With Private Key Below
+
+
+
+
+
+
+
+
+
+
+
+
+
ethoFS Account Registration
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ETHOFS BROWSER NODE INFORMATION
+
+
+
+
+
+
Status:            
+
+
Peer Health:       
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Upload Your Files
+
+
+
+
+ Click here to upload a directory or drag an individual file into this
+ box to upload.
+
+
+
+
+
+
+
+
+ | Upload Path |
+ File Name |
+ File Size |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
ethoFS Upload Status:
+ In
+ Progress
+
+
+
Message Log:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/renderer/uploads.js b/renderer/uploads.js
index 0106abf..1aa7dcc 100644
--- a/renderer/uploads.js
+++ b/renderer/uploads.js
@@ -40,6 +40,7 @@ let messageFlag = 0;
let messageString = "";
let healthMessage = "";
let averageAvailableStorageTotal = 0;
+var switchFlag = null;
/*SET CONTRACTS UP HERE*/
var GlobalChannelString = "ethoFSPinningChannel_alpha11";
@@ -111,13 +112,17 @@ class Uploads {
statsRow.style.display = "block";
var uploadButton = document.getElementById("main-upload-button");
uploadButton.style.display = "block";
- var loginButton = document.getElementById("main-login-button");
- loginButton.style.display = "none";
+ document.getElementById("ethofs-login-button-text").innerHTML = "Switch User";
+ switchFlag = "SWITCH";
+ //var loginButton = document.getElementById("main-login-button");
+ //loginButton.style.display = "none";
}
checkLogin() {
- if (GlobalPrivateKey == null) {
- EthoUploads.beforeLoginState();
+ if (GlobalPrivateKey == null || GlobalPrivateKey == "SWITCH") {
+ if (GlobalPrivateKey == null) {
+ EthoUploads.beforeLoginState();
+ }
web3 = new Web3()
web3.setProvider(new Web3.providers.WebsocketProvider("ws://localhost:8546"));
$('#ethofsLoginModal').iziModal();
@@ -1421,6 +1426,7 @@ $(document).on("render_uploads", function () {
});
$(document).on("click", "#main-login-button", function (event) {
+ GlobalPrivateKey = switchFlag;
EthoUploads.checkLogin();
});