From 725579362d3fe8cf83024eff781ff27b40762938 Mon Sep 17 00:00:00 2001 From: kostis30fyllou Date: Mon, 14 Jun 2021 16:22:40 +0300 Subject: [PATCH] Remove some files, update Readme --- .../.editorconfig | 13 -- interactive-mining-angular-frontend/README.md | 21 ++- .../angular.json | 8 +- .../src/assets/.gitkeep | 0 .../src/assets/README | 15 -- .../src/favicon.ico | Bin 5430 -> 0 bytes .../tslint.json | 141 ------------------ 7 files changed, 13 insertions(+), 185 deletions(-) delete mode 100755 interactive-mining-angular-frontend/.editorconfig delete mode 100755 interactive-mining-angular-frontend/src/assets/.gitkeep delete mode 100755 interactive-mining-angular-frontend/src/assets/README delete mode 100755 interactive-mining-angular-frontend/src/favicon.ico delete mode 100755 interactive-mining-angular-frontend/tslint.json diff --git a/interactive-mining-angular-frontend/.editorconfig b/interactive-mining-angular-frontend/.editorconfig deleted file mode 100755 index 6e87a00..0000000 --- a/interactive-mining-angular-frontend/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# Editor configuration, see http://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 2 -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -max_line_length = off -trim_trailing_whitespace = false diff --git a/interactive-mining-angular-frontend/README.md b/interactive-mining-angular-frontend/README.md index 9e909b5..2eaed53 100755 --- a/interactive-mining-angular-frontend/README.md +++ b/interactive-mining-angular-frontend/README.md @@ -1,6 +1,6 @@ -# Interactiveminingv3 +# Interactivemining v3 -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.3.0. +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.3.0 and updated to version 11.2.14 # Import @@ -8,12 +8,8 @@ Import Module import {InteractiveMiningModule} from 'interactiveminingv3'; -Place these files in your .angular-cli.json +Place these files in your angular.json - "styles": [ - "../node_modules/interactiveminingv3/assets/css/interactive-mining.css", - "../node_modules/interactiveminingv3/assets/css/animations.css" - ], "scripts": [ "../node_modules/jquery/dist/jquery.min.js", "../node_modules/uikit/dist/js/uikit.min.js", @@ -22,6 +18,13 @@ Place these files in your .angular-cli.json "../node_modules/interactiveminingv3/assets/js/jquery.sticky-sidebar.js" ] +Import this css files on your global styles.css or on another more specific scss. E.g + + .mining { + @import "~interactiveminingv3/assets/css/interactive-mining.css"; + @import "~interactiveminingv3/assets/css/animations.css"; + } + Store to LocalStorage the Username and the Backend localStorage.setItem('user_id', this._userid); @@ -35,10 +38,6 @@ Navigate to `http://.../mining` with your project's router Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. -## Code scaffolding - -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. - ## Build Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. diff --git a/interactive-mining-angular-frontend/angular.json b/interactive-mining-angular-frontend/angular.json index 3c8fc4f..65f467a 100644 --- a/interactive-mining-angular-frontend/angular.json +++ b/interactive-mining-angular-frontend/angular.json @@ -17,8 +17,7 @@ "tsConfig": "src/tsconfig.app.json", "polyfills": "src/polyfills.ts", "assets": [ - "src/assets", - "src/favicon.ico" + "src/assets" ], "styles": [ "src/styles.css", @@ -90,8 +89,7 @@ "src/assets/css/animations.css" ], "assets": [ - "src/assets", - "src/favicon.ico" + "src/assets" ] } }, @@ -145,4 +143,4 @@ "prefix": "app" } } -} \ No newline at end of file +} diff --git a/interactive-mining-angular-frontend/src/assets/.gitkeep b/interactive-mining-angular-frontend/src/assets/.gitkeep deleted file mode 100755 index e69de29..0000000 diff --git a/interactive-mining-angular-frontend/src/assets/README b/interactive-mining-angular-frontend/src/assets/README deleted file mode 100755 index 532a1ac..0000000 --- a/interactive-mining-angular-frontend/src/assets/README +++ /dev/null @@ -1,15 +0,0 @@ -HOW TO INSTALL - -Put these in .angular-cli.json - - "styles": [ - "../node_modules/interactiveminingv3/assets/css/interactive-mining.css", - "../node_modules/interactiveminingv3/assets/css/animations.css" - ] - "scripts": [ - "../node_modules/jquery/dist/jquery.min.js", - "../node_modules/uikit/dist/js/uikit.min.js", - "../node_modules/uikit/dist/js/uikit-icons.min.js", - "../node_modules/interactiveminingv3/assets/js/ResizeSensor.js", - "../node_modules/interactiveminingv3/assets/js/jquery.sticky-sidebar.js" - ] \ No newline at end of file diff --git a/interactive-mining-angular-frontend/src/favicon.ico b/interactive-mining-angular-frontend/src/favicon.ico deleted file mode 100755 index 8081c7ceaf2be08bf59010158c586170d9d2d517..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5430 zcmc(je{54#6vvCoAI3i*G5%$U7!sA3wtMZ$fH6V9C`=eXGJb@R1%(I_{vnZtpD{6n z5Pl{DmxzBDbrB>}`90e12m8T*36WoeDLA&SD_hw{H^wM!cl_RWcVA!I+x87ee975; z@4kD^=bYPn&pmG@(+JZ`rqQEKxW<}RzhW}I!|ulN=fmjVi@x{p$cC`)5$a!)X&U+blKNvN5tg=uLvuLnuqRM;Yc*swiexsoh#XPNu{9F#c`G zQLe{yWA(Y6(;>y|-efAy11k<09(@Oo1B2@0`PtZSkqK&${ zgEY}`W@t{%?9u5rF?}Y7OL{338l*JY#P!%MVQY@oqnItpZ}?s z!r?*kwuR{A@jg2Chlf0^{q*>8n5Ir~YWf*wmsh7B5&EpHfd5@xVaj&gqsdui^spyL zB|kUoblGoO7G(MuKTfa9?pGH0@QP^b#!lM1yHWLh*2iq#`C1TdrnO-d#?Oh@XV2HK zKA{`eo{--^K&MW66Lgsktfvn#cCAc*(}qsfhrvOjMGLE?`dHVipu1J3Kgr%g?cNa8 z)pkmC8DGH~fG+dlrp(5^-QBeEvkOvv#q7MBVLtm2oD^$lJZx--_=K&Ttd=-krx(Bb zcEoKJda@S!%%@`P-##$>*u%T*mh+QjV@)Qa=Mk1?#zLk+M4tIt%}wagT{5J%!tXAE;r{@=bb%nNVxvI+C+$t?!VJ@0d@HIyMJTI{vEw0Ul ze(ha!e&qANbTL1ZneNl45t=#Ot??C0MHjjgY8%*mGis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