diff --git a/app/views/includes/foot.jade b/app/views/includes/foot.jade
index b84cba8..305c244 100755
--- a/app/views/includes/foot.jade
+++ b/app/views/includes/foot.jade
@@ -1,4 +1,4 @@
-#footer(data-ng-include="'/views/footer.html'", role='navigation')
+#footer(data-ng-include="'/views/includes/footer.html'", role='navigation')
script(type='text/javascript', src='/socket.io/socket.io.js')
script(type='text/javascript', src='/lib/momentjs/moment.js')
diff --git a/app/views/includes/navbar.jade b/app/views/includes/navbar.jade
index 10463d6..56e5e3c 100644
--- a/app/views/includes/navbar.jade
+++ b/app/views/includes/navbar.jade
@@ -1 +1 @@
-.navbar.navbar-default.navbar-fixed-top(data-ng-include="'/views/header.html'", role='navigation')
+.navbar.navbar-default.navbar-fixed-top(data-ng-include="'/views/includes/header.html'", role='navigation')
diff --git a/app/views/index.jade b/app/views/index.jade
index bcc7ac5..a74f173 100755
--- a/app/views/index.jade
+++ b/app/views/index.jade
@@ -1,11 +1,4 @@
extends layouts/default
block content
- .connection-status.container(data-ng-controller='ConnectionController')
- .alert.alert-danger(data-ng-show='!serverOnline || !clienteOnline || !apiOnline', data-ng-init='getConnStatus()')
- strong Error!
- p(data-ng-show='!apiOnline') Can't connect to bitcoind.
- p(data-ng-show='!serverOnline') Can't connect to server.
- p(data-ng-show='!clienteOnline') Can't connect to internet. Please, check your connection.
-
section.container(data-ng-view)
diff --git a/public/css/common.css b/public/css/common.css
index 2bb5a11..e7e31ea 100644
--- a/public/css/common.css
+++ b/public/css/common.css
@@ -294,7 +294,7 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
-#wrap > .container { padding: 0 15px; }
+#wrap > .container { padding: 60px 15px 0; }
.container .text-muted a { color: #eee; }
@@ -401,7 +401,6 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
.transaction-vin-vout .ellipsis { margin-bottom: 10px; }
.transaction-vin-vout .btc-value { margin-left: 15px; }
-.connection-status { margin-top: 60px; }
.page-header { margin-top: 0; }
.block_hash {
diff --git a/public/js/config.js b/public/js/config.js
index 3aeedbb..1abe75a 100755
--- a/public/js/config.js
+++ b/public/js/config.js
@@ -20,11 +20,11 @@ angular.module('insight').config(function($routeProvider) {
title: 'Home'
}).
when('/blocks', {
- templateUrl: '/views/blocks/list.html',
+ templateUrl: '/views/blocks_list.html',
title: 'Bitcoin Blocks solved Today'
}).
when('/blocks-date/:blockDate', {
- templateUrl: '/views/blocks/list.html',
+ templateUrl: '/views/blocks_list.html',
title: 'Bitcoin Blocks solved '
}).
when('/address/:addrStr', {
diff --git a/public/views/404.html b/public/views/404.html
index bb3b23f..76da6bd 100644
--- a/public/views/404.html
+++ b/public/views/404.html
@@ -1,3 +1,4 @@
+
Ooops!
404 Page not found :(
diff --git a/public/views/address.html b/public/views/address.html
index c23d54e..76c06ff 100644
--- a/public/views/address.html
+++ b/public/views/address.html
@@ -1,3 +1,4 @@
+
diff --git a/public/views/block.html b/public/views/block.html
index 2342f37..53e4aae 100644
--- a/public/views/block.html
+++ b/public/views/block.html
@@ -1,3 +1,4 @@
+
diff --git a/public/views/blocks/list.html b/public/views/block_list.html
similarity index 96%
rename from public/views/blocks/list.html
rename to public/views/block_list.html
index 90c999f..f826056 100644
--- a/public/views/blocks/list.html
+++ b/public/views/block_list.html
@@ -1,3 +1,4 @@
+
diff --git a/public/views/includes/connection.html b/public/views/includes/connection.html
new file mode 100644
index 0000000..eb301ab
--- /dev/null
+++ b/public/views/includes/connection.html
@@ -0,0 +1,8 @@
+
+
+
Error!
+
Can't connect to bitcoind.
+
Can't connect to server.
+
Can't connect to internet. Please, check your connection.
+
+
diff --git a/public/views/footer.html b/public/views/includes/footer.html
similarity index 100%
rename from public/views/footer.html
rename to public/views/includes/footer.html
diff --git a/public/views/header.html b/public/views/includes/header.html
old mode 100755
new mode 100644
similarity index 100%
rename from public/views/header.html
rename to public/views/includes/header.html
diff --git a/public/views/infoStatus.html b/public/views/includes/infoStatus.html
similarity index 100%
rename from public/views/infoStatus.html
rename to public/views/includes/infoStatus.html
diff --git a/public/views/index.html b/public/views/index.html
index 2e482a6..cba1d2c 100644
--- a/public/views/index.html
+++ b/public/views/index.html
@@ -1,6 +1,7 @@
{{flashMessage}}
+
diff --git a/public/views/status.html b/public/views/status.html
index 68c83e6..0cf5060 100644
--- a/public/views/status.html
+++ b/public/views/status.html
@@ -1,11 +1,12 @@
+
-
+
Sync Status
@@ -15,7 +16,7 @@
Sync Progress |
-
+ |
{{sync.syncPercentage}}% Complete
@@ -26,7 +27,7 @@
Current Sync Status |
{{sync.status}} |
|
-
+
Initial Block Chain Height |
{{sync.blockChainHeight}} |
@@ -39,10 +40,10 @@
{{sync.skippedBlocks}} |
-
+
Transaction Output Set Information
-
+
Height |
@@ -74,10 +75,10 @@
-
+
Last Block
-
+
Last Block Hash |
{{lastblockhash}} |
@@ -89,7 +90,7 @@
Bitcoin node information
-
+
Version |
@@ -144,7 +145,7 @@
Difficulty
-
+
Mining Difficulty |
diff --git a/public/views/transaction.html b/public/views/transaction.html
index 2d378cb..abb4533 100644
--- a/public/views/transaction.html
+++ b/public/views/transaction.html
@@ -1,3 +1,4 @@
+
Transaction
@@ -48,7 +49,7 @@
-
+