diff --git a/app/views/layouts/default.jade b/app/views/layouts/default.jade index 4bf285fa..45ba09c2 100644 --- a/app/views/layouts/default.jade +++ b/app/views/layouts/default.jade @@ -1,5 +1,5 @@ doctype -html(lang='en', data-ng-app='insight') +html(lang='en', data-ng-app='insight' data-ng-csp) include ../includes/head body #wrap diff --git a/public/src/css/common.css b/public/src/css/common.css index 9d3496a3..12358f4d 100644 --- a/public/src/css/common.css +++ b/public/src/css/common.css @@ -1,5 +1,7 @@ /* Sticky footer styles -------------------------------------------------- */ +@charset "UTF-8"; + html, body { color: #373D42; @@ -13,6 +15,12 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: 'Ubuntu', sans-serif; } +[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], +.ng-cloak, .x-ng-cloak, +.ng-hide { + display: none !important; +} + /* Styling for the ngProgress itself */ #ngProgress { background-color: #373D42 !important; diff --git a/public/src/js/filters.js b/public/src/js/filters.js index a726efc4..a1cad320 100644 --- a/public/src/js/filters.js +++ b/public/src/js/filters.js @@ -1 +1,9 @@ -'use strict'; \ No newline at end of file +'use strict'; + +angular.module('insight') + .filter('startFrom', function() { + return function(input, start) { + start = +start; //parse to int + return input.slice(start); + } +}); diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html index 8fd3b588..0b7528fc 100644 --- a/public/views/transaction/tx.html +++ b/public/views/transaction/tx.html @@ -1,4 +1,4 @@ -