aboutsummaryrefslogtreecommitdiffstats
path: root/views/address.html
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2015-11-28 23:57:34 -0800
committerAdam Soltys <[email protected]>2015-11-30 21:10:59 -0800
commit41f8c6831bb91c0b0be1219b1566e59e48673465 (patch)
tree39626cf1a8fe7b8d73f750ccaf433bfa8c425d6b /views/address.html
parentf2bff842cbe16c18923b905f70ed168096648727 (diff)
downloadcoinos-server-41f8c6831bb91c0b0be1219b1566e59e48673465.tar.gz
coinos-server-41f8c6831bb91c0b0be1219b1566e59e48673465.zip
Use bower, grunt and browserify instead of connect-assets
Diffstat (limited to 'views/address.html')
-rw-r--r--views/address.html55
1 files changed, 55 insertions, 0 deletions
diff --git a/views/address.html b/views/address.html
new file mode 100644
index 00000000..19275e52
--- /dev/null
+++ b/views/address.html
@@ -0,0 +1,55 @@
+{{#yield-scripts}}
+ {{#js}}js/generate_address{{/js}}
+{{/yield-scripts}}
+
+{{#yield-styles}}
+ <style>
+ button { margin-top: 5px; }
+ pre { font-size: 18px; }
+ </style>
+{{/yield-styles}}
+
+<div id="key-dialog" class="alert alert-success">
+ Bitcoin Address
+ <pre id="pubkey"></pre>
+ <div id="pubqr"></div>
+</div>
+
+<div id="key-dialog" class="alert alert-danger">
+ <span id="status"></span> Private Key
+ <pre id="privkey"></pre>
+
+ <div class="pull-right text-right hidden-print">
+ <button type="button" class="btn btn-primary regenerate"><span class="glyphicon glyphicon-refresh"></span> Regenerate</button><br />
+ <button type="button" class="btn btn-primary print"><span class="glyphicon glyphicon-print"></span> Print</button><br />
+ </div>
+ <div id="privqr" style="margin-bottom: 10px"></div>
+
+ <form id="encrypt" class="hidden-print">
+ <div class="form-group">
+ <label for="password">Password:</label>
+ <input type="password" id="password" name="password" class="form-control" />
+ </div>
+
+ <div class="form-group">
+ <label for="confirm">Confirm Password:</label>
+ <input type="password" id="confirm" name="confirm" class="form-control" />
+ </div>
+
+ <input type="submit" class="btn btn-primary" value="Encrypt" />
+ </form>
+</div>
+
+<div class="modal fade" id="modal" tabindex="-1" role="dialog">
+ <div class="modal-dialog">
+ <div class="modal-content">
+ <div class="modal-header">
+ <h4 class="modal-title">Please Wait</h4>
+ </div>
+
+ <div class="modal-body">
+ <i class="fa fa-spinner fa-spin"></i> Encrypting Private Key
+ </div>
+ </div>
+ </div>
+</div>