From 9325a1c10344b4b75c7afaea4ca98bf27a823846 Mon Sep 17 00:00:00 2001 From: Sky Young Date: Mon, 21 May 2018 16:03:01 -0700 Subject: [PATCH] Update UI to say Flo instead of Florincoin --- public/index-template.html | 4 ++-- public/src/js/config.js | 10 +++++----- public/src/js/controllers/scanner.js | 2 +- public/views/includes/connection.html | 2 +- public/views/messages_verify.html | 5 ++--- public/views/status.html | 4 ++-- public/views/transaction/tx.html | 4 ++-- public/views/transaction_sendraw.html | 3 +-- 8 files changed, 16 insertions(+), 18 deletions(-) diff --git a/public/index-template.html b/public/index-template.html index abb5f77..e36a641 100644 --- a/public/index-template.html +++ b/public/index-template.html @@ -7,8 +7,8 @@ Flosight - - + + diff --git a/public/src/js/config.js b/public/src/js/config.js index cb597f8..13ef92d 100644 --- a/public/src/js/config.js +++ b/public/src/js/config.js @@ -5,7 +5,7 @@ angular.module('flosight').config(function($routeProvider) { $routeProvider. when('/block/:blockHash', { templateUrl: 'views/block.html', - title: 'Florincoin Block ' + title: 'Flo Block ' }). when('/block-index/:blockHeight', { controller: 'BlocksController', @@ -17,7 +17,7 @@ angular.module('flosight').config(function($routeProvider) { }). when('/tx/:txId/:v_type?/:v_index?', { templateUrl: 'views/transaction.html', - title: 'Florincoin Transaction ' + title: 'Flo Transaction ' }). when('/', { templateUrl: 'views/index.html', @@ -25,15 +25,15 @@ angular.module('flosight').config(function($routeProvider) { }). when('/blocks', { templateUrl: 'views/block_list.html', - title: 'Florincoin Blocks solved Today' + title: 'Flo Blocks solved Today' }). when('/blocks-date/:blockDate/:startTimestamp?', { templateUrl: 'views/block_list.html', - title: 'Florincoin Blocks solved ' + title: 'Flo Blocks solved ' }). when('/address/:addrStr', { templateUrl: 'views/address.html', - title: 'Florincoin Address ' + title: 'Flo Address ' }). when('/status', { templateUrl: 'views/status.html', diff --git a/public/src/js/controllers/scanner.js b/public/src/js/controllers/scanner.js index 7cf6321..4643846 100644 --- a/public/src/js/controllers/scanner.js +++ b/public/src/js/controllers/scanner.js @@ -112,7 +112,7 @@ angular.module('flosight.system').controller('ScannerController', qrcode.callback = function(data) { _scanStop(); - var str = (data.indexOf('florincoin:') === 0) ? data.substring(8) : data; + var str = (data.indexOf('flo:') === 0) ? data.substring(8) : data; console.log('QR code detected: ' + str); $searchInput .val(str) diff --git a/public/views/includes/connection.html b/public/views/includes/connection.html index a858132..2e9fdbd 100644 --- a/public/views/includes/connection.html +++ b/public/views/includes/connection.html @@ -7,7 +7,7 @@ Error!

- Can't connect to florincoind to get live updates from the p2p network. (Tried connecting to florincoind at {{host}}:{{port}} and failed.) + Can't connect to flod to get live updates from the p2p network. (Tried connecting to flod at {{host}}:{{port}} and failed.)

diff --git a/public/views/messages_verify.html b/public/views/messages_verify.html index 51f147b..de08fc4 100644 --- a/public/views/messages_verify.html +++ b/public/views/messages_verify.html @@ -70,11 +70,10 @@

- Florincoin comes with a way of signing arbitrary messages. + Flo comes with a way of signing arbitrary messages.

- This form can be used to verify that a message comes from - a specific Florincoin address. + This form can be used to verify that a message comes from a specific Flo address.

diff --git a/public/views/status.html b/public/views/status.html index febf062..1fc9707 100644 --- a/public/views/status.html +++ b/public/views/status.html @@ -63,7 +63,7 @@ - Last Block Hash (Florincoind) + Last Block Hash (Flod) {{lastblockhash}} @@ -76,7 +76,7 @@
-

Florincoin node information

+

Flo node information

diff --git a/public/views/transaction/tx.html b/public/views/transaction/tx.html index bc76f3d..f161001 100644 --- a/public/views/transaction/tx.html +++ b/public/views/transaction/tx.html @@ -39,7 +39,7 @@
{{vin.addr}} - {{vin.addr}} + {{vin.addr}} {{vin.addr}}
(Input unconfirmed)
@@ -137,7 +137,7 @@
{{vout.addr}} - {{vout.addr}} + {{vout.addr}} {{address}}
diff --git a/public/views/transaction_sendraw.html b/public/views/transaction_sendraw.html index 21b5063..4a3c343 100644 --- a/public/views/transaction_sendraw.html +++ b/public/views/transaction_sendraw.html @@ -47,8 +47,7 @@

- This form can be used to broadcast a raw transaction in hex format over - the Florincoin network. + This form can be used to broadcast a raw transaction in hex format over the Flo network.