diff options
| author | Adam Soltys <[email protected]> | 2014-08-05 17:26:27 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2014-08-05 17:26:27 -0700 |
| commit | 17292a0c7804540a64b20b551a8e2479a7beef04 (patch) | |
| tree | 5a5c525753d3048c55cfd9190099b1f65af8a2c1 /views/calculator | |
| parent | 91da53cb29966298074e63f89b60e8401444781d (diff) | |
| download | coinos-server-17292a0c7804540a64b20b551a8e2479a7beef04.tar.gz coinos-server-17292a0c7804540a64b20b551a8e2479a7beef04.zip | |
Update routes
Diffstat (limited to 'views/calculator')
| -rw-r--r-- | views/calculator/setup.html | 60 | ||||
| -rw-r--r-- | views/calculator/show.html | 57 |
2 files changed, 0 insertions, 117 deletions
diff --git a/views/calculator/setup.html b/views/calculator/setup.html deleted file mode 100644 index bd98e885..00000000 --- a/views/calculator/setup.html +++ /dev/null @@ -1,60 +0,0 @@ -{{#yield-scripts}} -<script src='/js/jquery-1.8.2.min.js'></script> -<script src='/js/bootstrap.min.js'></script> -<script src='/js/2.5.3-crypto-sha256.js'></script> -<script src='/js/jsbn.js'></script> -<script src='/js/jsbn2.js'></script> -<script src='/js/check_address.js'></script> -<script src='/js/setup.js'></script> -{{/yield-scripts}} - -<form id="setup" action="/calculator" method="get"> - <h1>Settings</h1> - - <input type="hidden" id="username" name="username" value="{{user}}" /> - - <div class="form-group"> - <label for="title">Store Name:</label> - <input type="text" id="title" name="title" class="form-control" /> - </div> - - <div class="form-group"> - <label for="logo">Logo <small>(optional URL)</small>:</label> - <input type="text" id="logo" name="logo" class="form-control" /> - </div> - - <div class="form-group"> - <label for="address">Bitcoin Address:</label> - <input type="text" id="address" name="address" class="form-control" /> - </div> - - <div class="form-group"> - <label for="currency">Currency:</label> - <select id="currency" name="currency" class="form-control"> - </select> - </div> - - <div class="form-group"> - <label for="symbol">Exchange Rate:</label> - <select id="symbol" name="symbol" class="form-control"> - </select> - </div> - - <div class="form-group"> - <label for="commission">Commission/Discount <small>(optional %)</small>:</label> - <input type="text" id="commission" name="commission" class="form-control" /> - </div> - - <div class="form-group"> - <label for="password">New Password <small>(blank = no change)</small>:</label> - <input type="password" id="password" name="password" class="form-control" /> - </div> - - <div class="form-group"> - <label for="confirm">Confirm New Password:</label> - <input type="password" id="confirm" name="confirm" class="form-control" /> - </div> - - <br /> - <input class="btn btn-primary" type="submit" value="Done" /> -</form> diff --git a/views/calculator/show.html b/views/calculator/show.html deleted file mode 100644 index 95924789..00000000 --- a/views/calculator/show.html +++ /dev/null @@ -1,57 +0,0 @@ -{{#yield-scripts}} -<script src='/js/jquery-1.8.2.min.js'></script> -<script src='/js/moment.min.js'></script> -<script src='/js/qrcode.js'></script> -<script src='/js/bootstrap.min.js'></script> -<script src='/js/2.5.3-crypto-sha256.js'></script> -<script src='/js/jsbn.js'></script> -<script src='/js/jsbn2.js'></script> -<script src='/js/check_address.js'></script> -<script src='/js/calculator.js'></script> -{{/yield-scripts}} - -<div id="calculator" style="display: none"> - <input id="user" type="hidden" value="{{user}}" /> - - <h1 id="title"></h1> - <img id="logo" src="img/bitcoin.png" alt="Logo" /> - - <form role="form"> - <div class="form-group"> - <label for="exchange">Exchange Rate:</label> - <input type="text" id="exchange" value="0" disabled="disabled" class="form-control" /> - <span id="symbol"></span> - </div> - - <div class="form-group"> - <label for="amount">Amount:</label> - <input type="text" id="amount" class="form-control" /> - <span id="currency"></span> - </div> - - <div class="form-group"> - <label for="tip">Tip:</label> - <div class="btn-toolbar"> - <div class="btn-group" id="tip"> - <button type="button" class="active btn btn-default">0%</button> - <button type="button" class="btn btn-default">10%</button> - <button type="button" class="btn btn-default">15%</button> - <button type="button" class="btn btn-default">20%</button> - </div> - </div> - </div> - - <br /> - - <div id="payment"> - <p>Please send <strong id="total">0.0</strong> mBTC to</p> - <div id="qr"></div> - <p id="address"></p> - </div> - - <span id="received" class="btn btn-success">Payment Received. Thank you!</span> - <audio id="chaching" src="/cash_register.wav" hidden="true" enablejavascript="true"> - </div> -</form> - -<span id="error" class="btn btn-danger" style="display: none"></span> |
