From b97a332ae9b03c4939d8ed7a994795c106b07c4b Mon Sep 17 00:00:00 2001 From: Yemel Jardi Date: Fri, 29 Aug 2014 15:01:07 -0300 Subject: [PATCH] Add reconnecting notification, change subscribed list to dict, update balance after reconnect --- css/src/main.css | 13 +++++++++++++ index.html | 2 +- js/models/blockchain/Insight.js | 21 +++++++++++---------- js/services/controllerUtils.js | 16 +++++++++++----- test/mocks/FakeWallet.js | 5 ++++- test/test.blockchain.Insight.js | 18 +++++++++--------- 6 files changed, 49 insertions(+), 26 deletions(-) diff --git a/css/src/main.css b/css/src/main.css index f7e34e300..bbda4a577 100644 --- a/css/src/main.css +++ b/css/src/main.css @@ -128,6 +128,19 @@ input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill, inpu -webkit-box-shadow: 0 0 0px 1000px white inset; } +.status { + border: 1px solid #f0c36d; + background-color: #f9edbe; + position: absolute; + margin-left: auto; + margin-right: auto; + left: 0; + right: 0; + top: 10px; + width: 215px; + padding: 7px; +} + .join label, .open label, .setup label { diff --git a/index.html b/index.html index f3a30b346..d4f2613f2 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@
- + Attempting to reconnect...