diff --git a/public/views/starting.html b/public/views/starting.html deleted file mode 100644 index e73578b58..000000000 --- a/public/views/starting.html +++ /dev/null @@ -1,3 +0,0 @@ -

Starting...

- -Splash screen me... diff --git a/src/js/routes.js b/src/js/routes.js index f634839a1..664617526 100644 --- a/src/js/routes.js +++ b/src/js/routes.js @@ -106,7 +106,11 @@ angular.module('copayApp').config(function(historicLogProvider, $provide, $logPr .state('starting', { url: '/starting', - templateUrl: 'views/starting.html' + template: '{{starting}}', + controller: function($scope, $log, gettextCatalog) { + $log.info('Starting...'); + $scope.starting = gettextCatalog.getString('Starting...'); + } }) /* diff --git a/src/js/services/logHeader.js b/src/js/services/logHeader.js index 272aec6f0..bbf3da903 100644 --- a/src/js/services/logHeader.js +++ b/src/js/services/logHeader.js @@ -1,7 +1,7 @@ 'use strict'; angular.module('copayApp.services') - .factory('logHeader', function($log, platformInfo) { - $log.info('Starting Copay v' + window.version + ' #' + window.commitHash); + .factory('logHeader', function($window, $log, platformInfo) { + $log.info($window.appConfig.nameCase + ' v' + window.version + ' #' + window.commitHash); $log.info('Client: '+ JSON.stringify(platformInfo) ); return {}; }); diff --git a/src/sass/main.scss b/src/sass/main.scss index 3cdb63cc5..3dff22f78 100644 --- a/src/sass/main.scss +++ b/src/sass/main.scss @@ -955,6 +955,30 @@ input[type=number] { } } +/* Starting */ + +#starting { + background: rgba(30, 49, 134, 1); + background: -moz-linear-gradient(top, rgba(30, 49, 134, 1) 0%, rgba(17, 27, 73, 1) 100%); + background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(30, 49, 134, 1)), color-stop(100%, rgba(17, 27, 73, 1))); + background: -webkit-linear-gradient(top, rgba(30, 49, 134, 1) 0%, rgba(17, 27, 73, 1) 100%); + background: -o-linear-gradient(top, rgba(30, 49, 134, 1) 0%, rgba(17, 27, 73, 1) 100%); + background: -ms-linear-gradient(top, rgba(30, 49, 134, 1) 0%, rgba(17, 27, 73, 1) 100%); + background: linear-gradient(to bottom, rgba(30, 49, 134, 1) 0%, rgba(17, 27, 73, 1) 100%); + color: #fff; + height: 100%; + .scroll-content { + display: table !important; + width: 100% !important; + height: 100% !important; + } + .scroll { + display: table-cell; + vertical-align: middle; + text-align: center; + } +} + @import "ionic"; @import "common"; @import "forms";