Layout changes
This commit is contained in:
@@ -1,99 +1,146 @@
|
||||
<HTML>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=10" />
|
||||
<HEAD>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=10" />
|
||||
<style>
|
||||
body {
|
||||
background-color: lightgray;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: 2px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
p {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
div {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
div.footer {
|
||||
margin: 0 auto;
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
width: 98%;
|
||||
}
|
||||
|
||||
table {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
button {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.fill {
|
||||
margin: 0 auto;
|
||||
width: 98%;
|
||||
}
|
||||
</style>
|
||||
</HEAD>
|
||||
<BODY ID=CSiaDriveDlg BGCOLOR=LIGHTGREY>
|
||||
<h3 style="margin-bottom: 5px">Sia Information</h3>
|
||||
<div style="float: right;">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: right">Client Version:</td>
|
||||
<td id="ClientVersion"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right">Server Version:</td>
|
||||
<td id="ServerVersion"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: right">Available:</td>
|
||||
<td id="WalletBalanceConfirmed"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right">Pending:</td>
|
||||
<td id="WalletBalanceUnconfirmed"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right">Total:</td>
|
||||
<td id="WalletBalanceTotal"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<BODY id="CSiaDriveDlg">
|
||||
<div class="fill">
|
||||
<h3>Sia Information</h3>
|
||||
<div style="float: right;">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: right">Client Version:</td>
|
||||
<td id="ClientVersion"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right">Server Version:</td>
|
||||
<td id="ServerVersion"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div>
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: right">Available:</td>
|
||||
<td id="WalletBalanceConfirmed"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right">Pending:</td>
|
||||
<td id="WalletBalanceUnconfirmed"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: right">Total:</td>
|
||||
<td id="WalletBalanceTotal"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="main_window" style="padding: 0">
|
||||
<div id="main_window">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="position: absolute; bottom: 10; width: 100%">
|
||||
<table width="100%">
|
||||
<TR width=100%">
|
||||
<TD ALIGN=RIGHT VALIGN=BOTTOM>
|
||||
<BUTTON STYLE="WIDTH: 100" ID="ButtonOK">OK</BUTTON> <BUTTON STYLE="WIDTH: 100" ID="ButtonCancel">Exit</BUTTON>
|
||||
</TD>
|
||||
</TR>
|
||||
</table>
|
||||
</div>
|
||||
<div id="exit_window" style="display: none" align="center">
|
||||
<BUTTON STYLE="WIDTH: 100px" ID="ExitYes">Yes</BUTTON> <BUTTON STYLE="WIDTH: 100px" ID="ExitNo">No</BUTTON>
|
||||
</div>
|
||||
|
||||
<div id="exit_window" style="display: none" align="center">
|
||||
<BUTTON STYLE="WIDTH: 100" ID="ExitYes">Yes</BUTTON> <BUTTON STYLE="WIDTH: 100" ID="ExitNo">No</BUTTON>
|
||||
</div>
|
||||
<div id="create_wallet" style="display: none" class="fill">
|
||||
<h3>Create New Wallet</h3>
|
||||
<p>Click 'Create' to create a new Sia wallet or exit the application if this is not what you want to do.</p>
|
||||
<button ID="CreateWalletButton">Create</button>
|
||||
</div>
|
||||
|
||||
<div id="create_wallet" style="display: none">
|
||||
<h3 style="margin-bottom: 5px">Create New Wallet</h3>
|
||||
<p style="margin-top: 0">Click 'Create' to create a new Sia wallet or exit the application if this is not what you want to do.</p>
|
||||
<button ID="CreateWalletButton">Create</button>
|
||||
</div>
|
||||
<div id="unlock_wallet" style="display: none" class="fill">
|
||||
<h3>Unlock Wallet</h3>
|
||||
<p>Enter wallet password and click 'Unlock' to continue.</p>
|
||||
<input type="password" id="WalletUnlockPwd" style="width: inherit"/><br/><br/>
|
||||
<button ID="UnlockWalletButton">Unlock</button>
|
||||
</div>
|
||||
|
||||
<div id="unlock_wallet" style="display: none" width="100%">
|
||||
<h3 style="margin-bottom: 5px">Unlock Wallet</h3>
|
||||
<p style="margin-top: 0">Enter wallet password and click 'Unlock' to continue.</p>
|
||||
<input type="password" id="WalletUnlockPwd" style="width: 100%"/><br/><br/>
|
||||
<button ID="UnlockWalletButton">Unlock</button>
|
||||
</div>
|
||||
<div id="disp_wallet_seed" style="display: none" class="fill">
|
||||
<h3>Wallet Created</h3>
|
||||
<p>Please save the following seed. You will need this to unlock and/or restore your wallet. Click 'Done' once you've backed-up your seed.</p>
|
||||
<textarea rows=4 cols=60 width="100%" id="WalletCreatedSeed"></textarea><br/><br/>
|
||||
<button ID="ConfirmSeedButton">Done</button>
|
||||
</div>
|
||||
|
||||
<div width="100%" id="disp_wallet_seed" style="display: none">
|
||||
<h3 style="margin-bottom: 5px">Wallet Created</h3>
|
||||
<p style="margin-top: 0">Please save the following seed. You will need this to unlock and/or restore your wallet. Click 'Done' once you've backed-up your seed.</p>
|
||||
<textarea rows=4 cols=60 width="100%" id="WalletCreatedSeed"></textarea><br/><br/>
|
||||
<button ID="ConfirmSeedButton">Done</button>
|
||||
</div>
|
||||
<div id="tab_view" style="display: none" class="fill">
|
||||
<h3>Receive Address</h3>
|
||||
<label id="WalletAddress"></label><br/><br/>
|
||||
<TABLE class="fill">
|
||||
<TR>
|
||||
<TD ALIGN=CENTER VALIGN=TOP>
|
||||
<select id="MountDrives"></select>
|
||||
<input id="MountButton" type="button" value="Mount"/>
|
||||
<input id="wallet_btn" type="button" value="Wallet" />
|
||||
<input id="host_btn" type="button" value="Host" />
|
||||
</TD>
|
||||
</TR>
|
||||
<tr align="center" valign="top">
|
||||
|
||||
</tr>
|
||||
</TABLE>
|
||||
</div>
|
||||
|
||||
<div id="tab_view" style="display: none">
|
||||
<h3 style="margin-bottom: 5px">Receive Address</h3>
|
||||
<label id="WalletAddress"></label><br/><br/>
|
||||
<TABLE WIDTH=100%>
|
||||
<TR WIDTH=100%>
|
||||
<TD ALIGN=CENTER VALIGN=TOP>
|
||||
<select id="MountDrives"></select>
|
||||
<input id="MountButton" type="button" value="Mount"/>
|
||||
<input id="wallet_btn" type="button" value="Wallet" />
|
||||
<input id="host_btn" type="button" value="Host" />
|
||||
</TD>
|
||||
</TR>
|
||||
<tr width="100%" align="center" valign="top">
|
||||
<div id="tab_page"></div>
|
||||
</tr>
|
||||
</TABLE>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<table class="fill">
|
||||
<TR>
|
||||
<TD ALIGN=RIGHT VALIGN=BOTTOM>
|
||||
<BUTTON STYLE="WIDTH: 100px" ID="ButtonOK">OK</BUTTON>
|
||||
<BUTTON STYLE="WIDTH: 100px" ID="ButtonCancel">Exit</BUTTON>
|
||||
</TD>
|
||||
</TR>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="wallet_tab" style="display: none"></div>
|
||||
|
||||
<div id="host_tab" style="display: none"></div>
|
||||
|
||||
<div id="mount_tab" style="display: none"></div>
|
||||
<script src="res:/JS/#136" type="text/javascript"></script>
|
||||
</BODY>
|
||||
<script src="res:/JS/#136" type="text/javascript"></script>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
function setAvailableDrives(driveList) {
|
||||
driveList = JSON.parse(driveList);
|
||||
driveList = Array.isArray(driveList) ? driveList : JSON.parse(driveList);
|
||||
|
||||
var sel = document.getElementById("MountDrives");
|
||||
sel.innerHTML = "";
|
||||
|
@@ -3,6 +3,4 @@
|
||||
// SiaDrive.pch will be the pre-compiled header
|
||||
// stdafx.obj will contain the pre-compiled type information
|
||||
|
||||
#include "stdafx.h"
|
||||
|
||||
|
||||
#include "stdafx.h"
|
Reference in New Issue
Block a user