Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

v0.3.1

  • Loading branch information...
commit 3739e6998097ed430ad8dc7d735757c3de1eb6f5 2 parents c08f03a + 36529da
tcatm authored
Showing with 16 additions and 20 deletions.
  1. +1 −0  SSLserver.py
  2. +1 −2  bitcoinapp.js
  3. +14 −14 index.html
  4. +0 −4 txlist.js
View
1  SSLserver.py
@@ -74,6 +74,7 @@ def do_POST(self):
try:
data = response.read()
self.send_response(response.code)
+ self.send_header("Content-Type", "application/json")
self.send_header("Content-Length", len(data))
self.send_header("Last-Modified", time.time())
self.end_headers()
View
3  bitcoinapp.js
@@ -5,7 +5,7 @@
*/
function BitcoinApp() {
- this.version = "0.3";
+ this.version = "0.3.1";
/* hack to allow event handlers to find us */
var app = this;
@@ -40,7 +40,6 @@ function BitcoinApp() {
this.setRefreshInterval = function(interval) {
/* limit interval to 1 .. 10 s */
this.settings.refreshInterval = Math.min(Math.max(interval, 1000), 10000);
- console.log("refreshInterval adjusted to " + this.settings.refreshInterval);
}
this.showFullscreenObj = function(obj) {
View
28 index.html
@@ -48,20 +48,6 @@ <h3 id="section_Accounts">
</tbody>
</table>
</div>
- <h3 id="section_Settings">Settings / Server Information</h3>
- <div class="section">
- <form id="settingsServer">
- <label>User</label><input name="user" /></br>
- <label>Password</label><input name="pass" type="password"/></br>
- <label>URL</label><input name="url" value="http://localhost:8332"/></br>
- <label></label><button>Connect</button><br/>
- </form>
- <div id="serverInfo">
- <h4>Server Information</h4>
- <table>
- </table>
- </div>
- </div>
<h3 id="section_SendBTC">Send bitcoins</h3>
<div class="section" id="sendBTC">
<div id="sendBTCinfo"></div>
@@ -87,6 +73,20 @@ <h3 id="section_TX">Transactions</h3>
</table>
<div id="txlistfooter"></div>
</div>
+ <h3 id="section_Settings">Settings / Server Information</h3>
+ <div class="section">
+ <form id="settingsServer">
+ <label>User</label><input name="user" /></br>
+ <label>Password</label><input name="pass" type="password"/></br>
+ <label>URL</label><input name="url" value="http://localhost:8332"/></br>
+ <label></label><button>Connect</button><br/>
+ </form>
+ <div id="serverInfo">
+ <h4>Server Information</h4>
+ <table>
+ </table>
+ </div>
+ </div>
</div>
<div id="footer">
<p><a href="http://tcatm.github.com/bitcoin-js-remote">bitcoin-js-remote</a> <span id="version"></span> by <a href="mailto:tcatm@gawab.com">tcatm</a></p>
View
4 txlist.js
@@ -67,8 +67,6 @@ function TXList(list, app, settings) {
var end = new Date().getTime();
var time = end - start;
- console.log("TXList: process took " + time + " ms (" + transactions.length + " TX)");
-
this.renderList(transactions);
}
@@ -121,8 +119,6 @@ function TXList(list, app, settings) {
this.renderButtons(TXcount, transactions.length);
var time = new Date().getTime() - timestamp;
-
- console.log("TXList: render took " + time + " ms (" + TXcount + " TX)");
}
this.getTXid = function(tx) {
Please sign in to comment.
Something went wrong with that request. Please try again.