160 lines
5.7 KiB
HTML
160 lines
5.7 KiB
HTML
<html>
|
|
<head>
|
|
<title>Sia Drive</title>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11" />
|
|
<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%;
|
|
}
|
|
|
|
.disabled_overlay {
|
|
display: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: fixed; /* Stay in place */
|
|
z-index: 50; /* Sit on top */
|
|
height: 100%;
|
|
width: 100%; /* Full width */
|
|
overflow: auto; /* Enable scroll if needed */
|
|
background-color: rgb(0, 0, 0); /* Fallback color */
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body id="CSiaDriveDlg">
|
|
<div id="ID_DisabledOverlay" class="disabled_overlay" style="top: 0;left: 0;"></div>
|
|
<div id="ID_Body">
|
|
<div class="fill">
|
|
<h3>Sia Information</h3>
|
|
<div style="float: right;">
|
|
<table>
|
|
<tr>
|
|
<td style="text-align: right">Client Version:</td>
|
|
<td id="ID_ClientVersion"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: right">Server Version:</td>
|
|
<td id="ID_ServerVersion"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div>
|
|
<table>
|
|
<tr>
|
|
<td style="text-align: right">Available:</td>
|
|
<td id="ID_WalletConfirmedBalance"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: right">Pending:</td>
|
|
<td id="ID_WalletBalanceUnconfirmed"></td>
|
|
</tr>
|
|
<tr>
|
|
<td style="text-align: right">Total:</td>
|
|
<td id="ID_WalletTotalBalance"></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="main_window">
|
|
|
|
</div>
|
|
|
|
<div id="exit_window" style="display: none;">
|
|
<button style="width: 100px" id="ExitYes">Yes</button> <button style="width: 100px" 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="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="ID_WalletUnlockPwd" style="width: inherit"/><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 style="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="ID_WalletReceiveAddress"></label><br/><br/>
|
|
<table class="fill">
|
|
<tr>
|
|
<td style="text-align: center; vertical-align: 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>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<table class="fill">
|
|
<tr>
|
|
<td style="text-align: right; vertical-align: bottom">
|
|
<button style="width: 100px" id="ButtonOK">OK</button>
|
|
<button style="width: 100px" id="ButtonCancel">Exit</button>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<script src="res:/JS/#136" type="text/javascript"></script>
|
|
</body>
|
|
</html>
|