diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 9b735217..00000000 --- a/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# Editor configuration, see http://editorconfig.org -root = true - -[*] -charset = utf-8 -indent_style = space -indent_size = 4 -insert_final_newline = true -trim_trailing_whitespace = true - -[*.md] -max_line_length = off -trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore deleted file mode 100644 index aa3784e0..00000000 --- a/.gitignore +++ /dev/null @@ -1,43 +0,0 @@ -# See http://help.github.com/ignore-files/ for more about ignoring files. - -# compiled output -/tmp -/out-tsc - -# dependencies -/node_modules -package-lock.json - -# IDEs and editors -/.idea -.project -.classpath -.history -.c9/ -*.launch -.settings/ -*.sublime-workspace - -# IDE - VSCode -.vscode/* -!.vscode/settings.json -!.vscode/tasks.json -!.vscode/launch.json -!.vscode/extensions.json - -# misc -/.sass-cache -/connect.lock -/coverage -/libpeerconnection.log -npm-debug.log -testem.log -/typings - -# e2e -/e2e/*.js -/e2e/*.map - -# System Files -.DS_Store -Thumbs.db diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 71a9c0fd..00000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "recommendations": [ - "Angular.ng-template", - "eamodio.gitlens", - "eg2.tslint", - "joelday.docthis", - "esbenp.prettier-vscode", - "Mikael.Angular-BeastCode", - "PKief.material-icon-theme", - "ruiquelhas.vscode-uppercase", - "xyz.local-history", - "msjsdiag.debugger-for-chrome" - ] -} diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index ee780ced..00000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Current TS File", - "type": "node", - "request": "launch", - "args": ["${relativeFile}"], - "runtimeArgs": [ "--no-lazy","-r", "ts-node/register"], - "sourceMaps": true, - "cwd": "${workspaceRoot}", - "protocol": "inspector", - }, - { - "type": "chrome", - "request": "attach", - "name": "Attach Chrome", - "port": 9222, - "webRoot": "${workspaceFolder}", - "urlFilter": "https://localhost:4200/*" - }, - { - "type": "chrome", - "request": "launch", - "name": "Launch Chrome", - "url": "http://localhost:4200/", - "webRoot": "${workspaceFolder}" - }, - { - "type": "chrome", - "request": "launch", - "name": "Launch Chrome https", - "url": "https://localhost:4200/", - "webRoot": "${workspaceFolder}" - } - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index b43cc295..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "tslint.alwaysShowRuleFailuresAsWarnings": true, - "prettier.singleQuote": true, - "tslint.autoFixOnSave": true, - "prettier.printWidth": 140, - "editor.showFoldingControls": "always", - "editor.wordWrap": "off", - "eslint.enable": false - "files.exclude": { - "**/app/**/*.js.map": true, - "**/app/**/*.js": { - "when": "$(basename).ts" - }, - "typings": true, - "node_modules": true, - ".history": true, - ".vscode": true // this excludes the folder - }, - "search.exclude": { - "**/node_modules": true, - "**/bower_components": true, - "**/documentation": true - } -} diff --git a/docs/1.fb3f7ddfc281f803615b.js b/1.fb3f7ddfc281f803615b.js similarity index 100% rename from docs/1.fb3f7ddfc281f803615b.js rename to 1.fb3f7ddfc281f803615b.js diff --git a/docs/10.da57842cefa17d210703.js b/10.da57842cefa17d210703.js similarity index 100% rename from docs/10.da57842cefa17d210703.js rename to 10.da57842cefa17d210703.js diff --git a/docs/11.d90bb198eac1fd206c27.js b/11.d90bb198eac1fd206c27.js similarity index 100% rename from docs/11.d90bb198eac1fd206c27.js rename to 11.d90bb198eac1fd206c27.js diff --git a/docs/12.25f53b44bfddfdb79d4f.js b/12.25f53b44bfddfdb79d4f.js similarity index 100% rename from docs/12.25f53b44bfddfdb79d4f.js rename to 12.25f53b44bfddfdb79d4f.js diff --git a/docs/13.4e303e84204f70af6cc5.js b/13.4e303e84204f70af6cc5.js similarity index 100% rename from docs/13.4e303e84204f70af6cc5.js rename to 13.4e303e84204f70af6cc5.js diff --git a/docs/14.2b840d69677843e378f3.js b/14.2b840d69677843e378f3.js similarity index 100% rename from docs/14.2b840d69677843e378f3.js rename to 14.2b840d69677843e378f3.js diff --git a/docs/15.435019e9c5e150237bc3.js b/15.435019e9c5e150237bc3.js similarity index 100% rename from docs/15.435019e9c5e150237bc3.js rename to 15.435019e9c5e150237bc3.js diff --git a/docs/16.d9cb70f5d77ad543ac1d.js b/16.d9cb70f5d77ad543ac1d.js similarity index 100% rename from docs/16.d9cb70f5d77ad543ac1d.js rename to 16.d9cb70f5d77ad543ac1d.js diff --git a/docs/17.f9a67e433090c9932d09.js b/17.f9a67e433090c9932d09.js similarity index 100% rename from docs/17.f9a67e433090c9932d09.js rename to 17.f9a67e433090c9932d09.js diff --git a/docs/18.4075311dfde1f35cb91b.js b/18.4075311dfde1f35cb91b.js similarity index 100% rename from docs/18.4075311dfde1f35cb91b.js rename to 18.4075311dfde1f35cb91b.js diff --git a/docs/19.6c753da692adac89b7f4.js b/19.6c753da692adac89b7f4.js similarity index 100% rename from docs/19.6c753da692adac89b7f4.js rename to 19.6c753da692adac89b7f4.js diff --git a/docs/2.227098fa73f097553492.js b/2.227098fa73f097553492.js similarity index 100% rename from docs/2.227098fa73f097553492.js rename to 2.227098fa73f097553492.js diff --git a/docs/20.a0c93e6e74645a8c59b9.js b/20.a0c93e6e74645a8c59b9.js similarity index 100% rename from docs/20.a0c93e6e74645a8c59b9.js rename to 20.a0c93e6e74645a8c59b9.js diff --git a/docs/21.b2d3475261ab9683b4b7.js b/21.b2d3475261ab9683b4b7.js similarity index 100% rename from docs/21.b2d3475261ab9683b4b7.js rename to 21.b2d3475261ab9683b4b7.js diff --git a/docs/3.77481d797626d1eeb20d.js b/3.77481d797626d1eeb20d.js similarity index 100% rename from docs/3.77481d797626d1eeb20d.js rename to 3.77481d797626d1eeb20d.js diff --git a/docs/3rdpartylicenses.txt b/3rdpartylicenses.txt similarity index 100% rename from docs/3rdpartylicenses.txt rename to 3rdpartylicenses.txt diff --git a/docs/4.c6b19ea54e9b33502a5d.js b/4.c6b19ea54e9b33502a5d.js similarity index 100% rename from docs/4.c6b19ea54e9b33502a5d.js rename to 4.c6b19ea54e9b33502a5d.js diff --git a/docs/5.bd2b8e97ead47b363a20.js b/5.bd2b8e97ead47b363a20.js similarity index 100% rename from docs/5.bd2b8e97ead47b363a20.js rename to 5.bd2b8e97ead47b363a20.js diff --git a/docs/6.8f21d90642a9d4d6697e.js b/6.8f21d90642a9d4d6697e.js similarity index 100% rename from docs/6.8f21d90642a9d4d6697e.js rename to 6.8f21d90642a9d4d6697e.js diff --git a/docs/7.deb77bdc6927d40066da.js b/7.deb77bdc6927d40066da.js similarity index 100% rename from docs/7.deb77bdc6927d40066da.js rename to 7.deb77bdc6927d40066da.js diff --git a/docs/8.fce4fc03fc00985a0fa3.js b/8.fce4fc03fc00985a0fa3.js similarity index 100% rename from docs/8.fce4fc03fc00985a0fa3.js rename to 8.fce4fc03fc00985a0fa3.js diff --git a/docs/9.6cec0aebcebda7a9481b.js b/9.6cec0aebcebda7a9481b.js similarity index 100% rename from docs/9.6cec0aebcebda7a9481b.js rename to 9.6cec0aebcebda7a9481b.js diff --git a/docs/Fontin_Sans_R.6447e60e69e9362ccc05.otf b/Fontin_Sans_R.6447e60e69e9362ccc05.otf similarity index 100% rename from docs/Fontin_Sans_R.6447e60e69e9362ccc05.otf rename to Fontin_Sans_R.6447e60e69e9362ccc05.otf diff --git a/LICENSE b/LICENSE deleted file mode 100644 index d2dad9ac..00000000 --- a/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ - Copyright 2018 StartJavascript - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. diff --git a/README.md b/README.md deleted file mode 100644 index e90ee21f..00000000 --- a/README.md +++ /dev/null @@ -1,71 +0,0 @@ -# SB Admin rewritten in Angular7 and Material2 - -Simple Dashboard Admin App built using Angular 7 and Material 2. - -This project is a port of the famous Free Admin Bootstrap Theme [SB Admin v1.0](http://startbootstrap.com/template-overviews/sb-admin-2/) to Angular6 Theme. - -## [Demo](http://rawgit.com/start-javascript/sb-admin-material/master/dist/) - -### Donation -If this project help you reduce time to develop, you can give me a cup of tea :) - -[](https://www.paypal.me/nitinkrmr) - -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.6. - -### Introduction - -Provides fast, reliable and extensible starter for the development of Angular projects. - -`sb-admin-material` provides the following features: - -* Developed using Material-v2.0.0 -* angular-v7.1.0 -* angular/cli-v7.0.6 -* angular/material-v7.1.0 -* angular/cdk-v7.1.0 -* angular/flex-layout-v7.0.0-beta.19 -* [ngx-translate-v11.0.1](https://github.com/ngx-translate) -* Following the best practices. -* Ahead-of-Time compilation support. -* Official Angular i18n support. -* Production and development builds. -* Tree-Shaking production builds. - -### How to start - -**Note** that this seed project requires **node >=v8.9.0 and npm >=6**. - -In order to start the project use: - -```bash -$ git clone https://github.com/start-javascript/sb-admin-material.git -$ cd sb-admin-material -# install the project's dependencies -$ npm install -# watches your files and uses livereload by default run `npm start` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. -$ npm start -# prod build, will output the production application in `dist` -# the produced code can be deployed (rsynced) to a remote server -$ npm run build -``` - -## 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. - -## Running unit tests - -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). - -## Running end-to-end tests - -Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). - -## Further help - -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). diff --git a/angular.json b/angular.json deleted file mode 100644 index 5b99928b..00000000 --- a/angular.json +++ /dev/null @@ -1,148 +0,0 @@ -{ - "$schema": "./node_modules/@angular/cli/lib/config/schema.json", - "version": 1, - "newProjectRoot": "projects", - "projects": { - "ng-material": { - "root": "", - "sourceRoot": "src", - "projectType": "application", - "prefix": "app", - "schematics": { - "@schematics/angular:component": { - "style": "scss" - } - }, - "architect": { - "build": { - "builder": "@angular-devkit/build-angular:browser", - "options": { - "aot": true, - "outputPath": "dist", - "index": "src/index.html", - "main": "src/main.ts", - "tsConfig": "src/tsconfig.app.json", - "polyfills": "src/polyfills.ts", - "assets": [ - "src/assets", - "src/favicon.ico" - ], - "styles": [ - "src/styles/styles.scss" - ], - "scripts": [ - "node_modules/chart.js/dist/Chart.js" - ] - }, - "configurations": { - "production": { - "fileReplacements": [ - { - "replace": "src/environments/environment.ts", - "with": "src/environments/environment.prod.ts" - } - ], - "optimization": true, - "outputHashing": "all", - "sourceMap": false, - "extractCss": true, - "namedChunks": false, - "aot": true, - "extractLicenses": true, - "vendorChunk": false, - "buildOptimizer": true, - "budgets": [ - { - "type": "initial", - "maximumWarning": "2mb", - "maximumError": "5mb" - }, - { - "type": "anyComponentStyle", - "maximumWarning": "6kb" - } - ] - } - } - }, - "serve": { - "builder": "@angular-devkit/build-angular:dev-server", - "options": { - "browserTarget": "ng-material:build" - }, - "configurations": { - "production": { - "browserTarget": "ng-material:build:production" - } - } - }, - "extract-i18n": { - "builder": "@angular-devkit/build-angular:extract-i18n", - "options": { - "browserTarget": "ng-material:build" - } - }, - "test": { - "builder": "@angular-devkit/build-angular:karma", - "options": { - "main": "src/test.ts", - "polyfills": "src/polyfills.ts", - "tsConfig": "src/tsconfig.spec.json", - "karmaConfig": "src/karma.conf.js", - "scripts": [ - "node_modules/chart.js/dist/Chart.js" - ], - "styles": [ - "styles.scss" - ], - "assets": [ - "src/assets", - "src/favicon.ico" - ] - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": [ - "src/tsconfig.app.json", - "src/tsconfig.spec.json" - ], - "exclude": [ - "**/node_modules/**" - ] - } - } - } - }, - "ng-material-e2e": { - "root": "e2e/", - "projectType": "application", - "prefix": "", - "architect": { - "e2e": { - "builder": "@angular-devkit/build-angular:protractor", - "options": { - "protractorConfig": "e2e/protractor.conf.js", - "devServerTarget": "ng-material:serve" - }, - "configurations": { - "production": { - "devServerTarget": "ng-material:serve:production" - } - } - }, - "lint": { - "builder": "@angular-devkit/build-angular:tslint", - "options": { - "tsConfig": "e2e/tsconfig.e2e.json", - "exclude": [ - "**/node_modules/**" - ] - } - } - } - } - }, - "defaultProject": "ng-material" -} diff --git a/docs/assets/fonts/FontinSans/Fontin_Sans_B.otf b/assets/fonts/FontinSans/Fontin_Sans_B.otf similarity index 100% rename from docs/assets/fonts/FontinSans/Fontin_Sans_B.otf rename to assets/fonts/FontinSans/Fontin_Sans_B.otf diff --git a/docs/assets/fonts/FontinSans/Fontin_Sans_BI.otf b/assets/fonts/FontinSans/Fontin_Sans_BI.otf similarity index 100% rename from docs/assets/fonts/FontinSans/Fontin_Sans_BI.otf rename to assets/fonts/FontinSans/Fontin_Sans_BI.otf diff --git a/docs/assets/fonts/FontinSans/Fontin_Sans_I.otf b/assets/fonts/FontinSans/Fontin_Sans_I.otf similarity index 100% rename from docs/assets/fonts/FontinSans/Fontin_Sans_I.otf rename to assets/fonts/FontinSans/Fontin_Sans_I.otf diff --git a/docs/assets/fonts/FontinSans/Fontin_Sans_R.otf b/assets/fonts/FontinSans/Fontin_Sans_R.otf similarity index 100% rename from docs/assets/fonts/FontinSans/Fontin_Sans_R.otf rename to assets/fonts/FontinSans/Fontin_Sans_R.otf diff --git a/docs/assets/fonts/FontinSans/Fontin_Sans_SC.otf b/assets/fonts/FontinSans/Fontin_Sans_SC.otf similarity index 100% rename from docs/assets/fonts/FontinSans/Fontin_Sans_SC.otf rename to assets/fonts/FontinSans/Fontin_Sans_SC.otf diff --git a/docs/assets/i18n/en.json b/assets/i18n/en.json similarity index 100% rename from docs/assets/i18n/en.json rename to assets/i18n/en.json diff --git a/docs/assets/i18n/fr.json b/assets/i18n/fr.json similarity index 100% rename from docs/assets/i18n/fr.json rename to assets/i18n/fr.json diff --git a/docs/assets/i18n/ur.json b/assets/i18n/ur.json similarity index 100% rename from docs/assets/i18n/ur.json rename to assets/i18n/ur.json diff --git a/docs/assets/images/card-1.jpg b/assets/images/card-1.jpg similarity index 100% rename from docs/assets/images/card-1.jpg rename to assets/images/card-1.jpg diff --git a/docs/assets/images/card-2.jpg b/assets/images/card-2.jpg similarity index 100% rename from docs/assets/images/card-2.jpg rename to assets/images/card-2.jpg diff --git a/docs/assets/images/card-3.jpg b/assets/images/card-3.jpg similarity index 100% rename from docs/assets/images/card-3.jpg rename to assets/images/card-3.jpg diff --git a/docs/common.d6c15c90975a311f06c6.js b/common.d6c15c90975a311f06c6.js similarity index 100% rename from docs/common.d6c15c90975a311f06c6.js rename to common.d6c15c90975a311f06c6.js diff --git a/e2e/protractor.conf.js b/e2e/protractor.conf.js deleted file mode 100644 index 86776a39..00000000 --- a/e2e/protractor.conf.js +++ /dev/null @@ -1,28 +0,0 @@ -// Protractor configuration file, see link for more information -// https://github.com/angular/protractor/blob/master/lib/config.ts - -const { SpecReporter } = require('jasmine-spec-reporter'); - -exports.config = { - allScriptsTimeout: 11000, - specs: [ - './src/**/*.e2e-spec.ts' - ], - capabilities: { - 'browserName': 'chrome' - }, - directConnect: true, - baseUrl: 'http://localhost:4200/', - framework: 'jasmine', - jasmineNodeOpts: { - showColors: true, - defaultTimeoutInterval: 30000, - print: function() {} - }, - onPrepare() { - require('ts-node').register({ - project: require('path').join(__dirname, './tsconfig.e2e.json') - }); - jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } })); - } -}; \ No newline at end of file diff --git a/e2e/src/app.e2e-spec.ts b/e2e/src/app.e2e-spec.ts deleted file mode 100644 index e42d1f96..00000000 --- a/e2e/src/app.e2e-spec.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { AppPage } from './app.po'; - -describe('workspace-project App', () => { - let page: AppPage; - - beforeEach(() => { - page = new AppPage(); - }); - - it('should display welcome message', () => { - page.navigateTo(); - expect(page.getParagraphText()).toEqual('Welcome to app!'); - }); -}); diff --git a/e2e/src/app.po.ts b/e2e/src/app.po.ts deleted file mode 100644 index 82ea75ba..00000000 --- a/e2e/src/app.po.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { browser, by, element } from 'protractor'; - -export class AppPage { - navigateTo() { - return browser.get('/'); - } - - getParagraphText() { - return element(by.css('app-root h1')).getText(); - } -} diff --git a/e2e/tsconfig.e2e.json b/e2e/tsconfig.e2e.json deleted file mode 100644 index a6dd6220..00000000 --- a/e2e/tsconfig.e2e.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "extends": "../tsconfig.json", - "compilerOptions": { - "outDir": "../out-tsc/app", - "module": "commonjs", - "target": "es5", - "types": [ - "jasmine", - "jasminewd2", - "node" - ] - } -} \ No newline at end of file diff --git a/docs/favicon.ico b/favicon.ico similarity index 100% rename from docs/favicon.ico rename to favicon.ico diff --git a/docs/index.html b/index.html similarity index 57% rename from docs/index.html rename to index.html index 201dd7b1..fb2f22e6 100644 --- a/docs/index.html +++ b/index.html @@ -1,7 +1,7 @@