aboutsummaryrefslogtreecommitdiffstats
path: root/views/users/edit.html
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2014-09-15 10:09:03 -0700
committerAdam Soltys <[email protected]>2014-09-15 10:09:03 -0700
commit0765adfc8993e8641e61a8db40965ef091c0f451 (patch)
tree3acbb32a40e47f295dec6b2085ef0f15213baaac /views/users/edit.html
parentd07a4738359e1825e3629871b96c049275ab18c0 (diff)
downloadcoinos-server-0765adfc8993e8641e61a8db40965ef091c0f451.tar.gz
coinos-server-0765adfc8993e8641e61a8db40965ef091c0f451.zip
Mail key
Diffstat (limited to 'views/users/edit.html')
-rw-r--r--views/users/edit.html35
1 files changed, 21 insertions, 14 deletions
diff --git a/views/users/edit.html b/views/users/edit.html
index 66251923..0e0af3df 100644
--- a/views/users/edit.html
+++ b/views/users/edit.html
@@ -6,6 +6,7 @@
<h1>Settings</h1>
<input type="hidden" id="username" name="username" value="{{user}}" />
+ <input type="hidden" id="email" name="email" />
<div class="form-group">
<label for="title">Store Name:</label>
@@ -18,9 +19,10 @@
</div>
<div class="form-group">
- <label for="pubkey">Public Key:</label>
+ <label for="pubkey">Bitcoin Public Key:</label>
<div class="input-group">
<input type="text" id="pubkey" name="pubkey" class="form-control" placeholder="xpub..." />
+ <input type="hidden" id="privkey" name="privkey" />
<span class="input-group-btn">
<button id="generate" type="button" class="btn">New</button>
</span>
@@ -63,32 +65,37 @@
<div class="modal-body">
<ul class="nav nav-tabs" role="tablist">
- <li class="active"><a href="#step1" role="tab" data-toggle="tab">Key</a></li>
+ <li class="active"><a id="step1_link" href="#step1" role="tab" data-toggle="tab">Key</a></li>
<li><a href="#step2" role="tab" data-toggle="tab">What's this?</a></li>
</ul>
<div class="tab-content">
<div id="step1" class="tab-pane active">
- <div class="form-group">
- <label for="encryption-password">Encryption Password:</label>
- <input type="password" id="encryption-password" name="encryption-password" class="form-control" />
- </div>
+ <form id="encrypt">
+ <div class="form-group">
+ <label for="encryption-password">Encryption Password:</label>
+ <input type="password" id="encryption-password" name="encryption-password" class="form-control" />
+ </div>
- <div class="form-group">
- <label for="encryption-confirm">Confirm Password:</label>
- <input type="password" id="encryption-confirm" name="encryption-confirm" class="form-control" />
- </div>
+ <div class="form-group">
+ <label for="encryption-confirm">Confirm Password:</label>
+ <input type="password" id="encryption-confirm" name="encryption-confirm" class="form-control" />
+ </div>
+
+ <input type="submit" style="position: absolute; left: -9999px" />
+ </form>
<div id="key-dialog" class="alert alert-danger">
Extended Private Key <span id="status">(Unencrypted)</span>
- <pre id="privkey"></pre>
+ <pre id="privkey_text"></pre>
<div id="qr"></div>
</div>
</div>
<div id="step2" class="tab-pane">
- <p>This is an extended key, or <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki"><abbr title="Hierarchical Deterministic Wallet">HD Wallet</abbr></a>.</p>
+ <p>This is a Bitcoin extended key, also known as an <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki"><abbr title="Hierarchical Deterministic Wallet">HD Wallet</abbr></a>.</p>
<p>The <b>public</b> portion of the key is stored and used by CoinOS to generate a separate receiving address for every payment to your account. This prevents people from seeing transactions to your account other than their own.</p>
- <p>The <b>private</b> portion of the key currently displayed in the 'Key' tab will not be accessible after you close this window. You are responsible for saving it and making copies of it.</p>
- <p>Encrypting the key with a strong password prevents people from using the key if they get ahold of one of your copies. Keep the password written down and backed up separately from the key itself. <span class="text-danger"><b>We cannot reset your password</b> -- if you lose it or forget it, your funds will be lost forever.</span></p>
+ <p>The <b>private</b> portion of the key (displayed on the 'Key' tab) will not be accessible after you close this window. You are responsible for safely storing it and making copies of it, either by printing it out or saving it somewhere on your computer or online.</p>
+ <p>Encrypting the key with a strong password provides a safeguard against someone gaining access to a copy of the key. They will need to know your password to decrypt the key. Keep the password written down and backed up separately from the key.</p>
+ <p class="text-danger"><b>IMPORTANT: We cannot reset your password. If you lose it or forget it, any funds sent to your account will be lost forever.</b></p>
<img src="/assets/img/forever.gif" width="370px" />
</div>