Startup changes
This commit is contained in:
@@ -138,8 +138,13 @@
|
||||
</div>
|
||||
<div class="hidden-element" id="unlocking_window">
|
||||
<div class="box">
|
||||
<h1>Please Wait</h1>
|
||||
<p>SiaDrive will refresh once unlocking is complete. This may take several minutes, so please be patient.</p>
|
||||
<h1>Unlocking Wallet</h1>
|
||||
<p>This may take several minutes, so please be patient.</p>
|
||||
</div>
|
||||
<div class="box" style="padding: 0; margin-bottom: 0;">
|
||||
<div class="fill">
|
||||
<img style="opacity: 0.35; max-width: 181px; max-height: 103px; border-radius: 10px; display: inline-block; margin: auto auto;" src="./images/startup.gif">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="hidden-element" id="create_window">
|
||||
@@ -151,7 +156,7 @@
|
||||
</div>
|
||||
<div class="hidden-element" id="offline_window">
|
||||
<div class="box">
|
||||
<h1>Offline</h1>
|
||||
<h1>Connecting</h1>
|
||||
<p>Waiting to establish connection to Sia...</p>
|
||||
</div>
|
||||
<div class="box" style="padding: 0; margin-bottom: 0;">
|
||||
|
@@ -243,14 +243,6 @@
|
||||
return window.appActions.mountDrive(mountLocation, cb);
|
||||
}
|
||||
|
||||
function _startApp() {
|
||||
window.appActions.startApp();
|
||||
}
|
||||
|
||||
function _stopApp() {
|
||||
window.appActions.stopApp();
|
||||
}
|
||||
|
||||
function _unlockWallet(pwd, cb) {
|
||||
return window.appActions.unlockWallet(pwd, cb);
|
||||
}
|
||||
@@ -279,8 +271,6 @@
|
||||
return {
|
||||
createWallet: _createWallet,
|
||||
mountDrive: _mountDrive,
|
||||
startApp: _startApp,
|
||||
stopApp: _stopApp,
|
||||
unlockWallet: _unlockWallet,
|
||||
unmountDrive: _unmountDrive,
|
||||
shutdown: _shutdown,
|
||||
@@ -370,7 +360,6 @@
|
||||
}
|
||||
|
||||
function beginMainApplication() {
|
||||
AppActions.startApp();
|
||||
setMainWindow('app_window');
|
||||
const settingsEditLink = document.getElementById('ID_Sia_Settings_Edit');
|
||||
settingsEditLink.onclick = () => {
|
||||
@@ -529,7 +518,6 @@
|
||||
}
|
||||
|
||||
function reloadApplication() {
|
||||
AppActions.stopApp();
|
||||
document.getElementById('ID_SiaDrive').innerText = 'SiaDrive ' + UiState.clientVersion();
|
||||
document.getElementById('ID_ServerVersion').innerText = '...';
|
||||
if (UiState.isOnline()) {
|
||||
|
Reference in New Issue
Block a user