From adf3fc23368e9f70e53dd16872969206a0bd419d Mon Sep 17 00:00:00 2001 From: blavenie <benoit.lavenier@e-is.pro> Date: Tue, 31 May 2016 12:24:07 +0200 Subject: [PATCH] Minor fix --- .gitignore | 3 +++ README.md | 4 ++-- gulpfile.js | 4 ++-- www/css/style.css | 12 ------------ www/js/controllers/wot-controllers.js | 2 +- www/lib/ionic/scss/tsconfig.json | 18 ++++++++++++++++++ 6 files changed, 26 insertions(+), 17 deletions(-) create mode 100644 www/lib/ionic/scss/tsconfig.json diff --git a/.gitignore b/.gitignore index 1623c54d..75e43cc7 100644 --- a/.gitignore +++ b/.gitignore @@ -13,8 +13,11 @@ www/css/ionic.app.css www/css/ionic.app.min.css www/js/config.js +www/lib/angular www/lib/angular-animate www/lib/angular-messages www/lib/angular-sanitize www/lib/angular-ui-router +www/lib/angular-moment +www/lib/moment www/lib/waves diff --git a/README.md b/README.md index 67645901..90bd6764 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # Cesium -[Unhosted webapp](https://unhosted.org) client for [duniter](http://duniter.org) network. +[Unhosted webapp](https://unhosted.org) client for [Duniter](https://duniter.org) network. -Try it at: http://cesium.duniter.iofr +Try it at: http://cesium.duniter.fr ## Developer diff --git a/gulpfile.js b/gulpfile.js index 0f7750c9..f082ea47 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -20,7 +20,7 @@ var paths = { templates: ['./www/templates/**/*.html'] }; -gulp.task('default', ['sass','config']); +gulp.task('default', ['sass', 'config']); gulp.task('sass', function(done) { gulp.src('./scss/ionic.app.scss') @@ -45,7 +45,7 @@ gulp.task('sass', function(done) { gulp.task('watch', function() { gulp.watch(paths.sass, ['sass']); //gulp.watch(paths.config, ['config']); - gulp.watch(paths.templates, ['removeCode']); + //gulp.watch(paths.templates, ['removeCode']); }); gulp.task('install', ['git-check'], function() { diff --git a/www/css/style.css b/www/css/style.css index 852f66b6..c5fbc74e 100644 --- a/www/css/style.css +++ b/www/css/style.css @@ -76,18 +76,6 @@ font-style: italic !important; } -/*#wallet .item .comment-bubble{ - font-style: italic !important; - border-radius: .75rem; - background: #e6e5eb; - color: #383641; - margin: 0; - font-size: 12px; - padding-right: 8px; - padding-top: 2px; - padding-bottom: 2px; -}*/ - #wallet .item h3 .gray{ font-size: 11px ! important; } diff --git a/www/js/controllers/wot-controllers.js b/www/js/controllers/wot-controllers.js index 6bdba064..c0adef4f 100644 --- a/www/js/controllers/wot-controllers.js +++ b/www/js/controllers/wot-controllers.js @@ -169,7 +169,7 @@ function WotIdentityViewController($scope, $state, BMA, Wallet, UIUtils, $q, $ti .then(function(block) { $scope.identity.sigDate = block.time; // Retrieve sigDate - if (Wallet.isLogin()) { + if (Wallet.isLogin() && !!Wallet.data.parameters && !!Wallet.data.parameters.sigQty) { $scope.sigQty = Wallet.data.parameters.sigQty; onLoadFinish(); } diff --git a/www/lib/ionic/scss/tsconfig.json b/www/lib/ionic/scss/tsconfig.json new file mode 100644 index 00000000..6b58d2e6 --- /dev/null +++ b/www/lib/ionic/scss/tsconfig.json @@ -0,0 +1,18 @@ +{ + "version": "1.5.0-alpha", + "compilerOptions": { + "target": "es5", + "module": "commonjs", + "declaration": false, + "noImplicitAny": false, + "removeComments": true, + "noLib": false, + "preserveConstEnums": true, + "suppressImplicitAnyIndexErrors": true + }, + "filesGlob": [ + "./**/*.ts", + "!./node_modules/**/*.ts" + ], + "files": [] +} -- GitLab