Skip to content

Commit

Permalink
init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
admincast committed Jan 14, 2018
0 parents commit 4d8daf7
Show file tree
Hide file tree
Showing 5,108 changed files with 843,540 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
html/tools/gulp/node_modules/
html/src/bower_components/
angular/node_modules/
115 changes: 115 additions & 0 deletions angular/.angular-cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"project": {
"name": "my-app"
},
"apps": [
{
"root": "src",
"outDir": "dist",
"assets": [
"assets",
"favicon.ico"
],
"index": "index.html",
"main": "main.ts",
"polyfills": "polyfills.ts",
"test": "test.ts",
"tsconfig": "tsconfig.app.json",
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"../node_modules/font-awesome/css/font-awesome.min.css",
"../node_modules/cd-themify-icons/index.css",
"../node_modules/animate.css/animate.min.css",
"../node_modules/toastr/build/toastr.min.css",
"../node_modules/datatables.net-bs4/css/dataTables.bootstrap4.css",
"../node_modules/datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css",
"../node_modules/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css",
"../node_modules/datatables.net-fixedheader-bs4/css/fixedHeader.bootstrap4.min.css",
"../node_modules/jvectormap/jquery-jvectormap.css",
"../node_modules/summernote/dist/summernote.css",
"../node_modules/bootstrap-markdown/css/bootstrap-markdown.min.css",
"../node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css",
"./assets/vendors/bootstrap-timepicker/css/bootstrap-timepicker.min.css",
"../node_modules/morris.js/morris.css",
"../node_modules/fullcalendar/dist/fullcalendar.min.css",
"../node_modules/select2/dist/css/select2.min.css",
"../node_modules/jquery-minicolors/jquery.minicolors.css",
"./assets/css/main.css"
],
"scripts": [
"../node_modules/jquery/dist/jquery.min.js",
"../node_modules/popper.js/dist/umd/popper.min.js",
"../node_modules/bootstrap/dist/js/bootstrap.min.js",
"../node_modules/metismenu/dist/metisMenu.min.js",
"../node_modules/jquery-slimscroll/jquery.slimscroll.min.js",
"../node_modules/toastr/build/toastr.min.js",
"../node_modules/chart.js/dist/Chart.min.js",
"../node_modules/raphael/raphael.min.js",
"../node_modules/morris.js/morris.min.js",
"../node_modules/jquery-sparkline/jquery.sparkline.min.js",
"../node_modules/jvectormap/jquery-jvectormap.min.js",
"../node_modules/jvectormap/tests/assets/jquery-jvectormap-world-mill-en.js",
"../node_modules/jvectormap/tests/assets/jquery-jvectormap-us-aea-en.js",
"../node_modules/moment/min/moment.min.js",
"../node_modules/datatables.net/js/jquery.dataTables.js",
"../node_modules/datatables.net-bs4/js/dataTables.bootstrap4.js",
"../node_modules/datatables.net-buttons/js/dataTables.buttons.min.js",
"../node_modules/datatables.net-buttons-bs4/js/buttons.bootstrap4.min.js",
"../node_modules/datatables.net-buttons/js/buttons.html5.min.js",
"../node_modules/datatables.net-buttons/js/buttons.print.min.js",
"../node_modules/datatables.net-buttons/js/buttons.colVis.min.js",
"../node_modules/datatables.net-responsive/js/dataTables.responsive.min.js",
"../node_modules/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js",
"../node_modules/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js",
"../node_modules/jszip/dist/jszip.min.js",
"../node_modules/summernote/dist/summernote.js",
"../node_modules/bootstrap-markdown/js/bootstrap-markdown.js",
"../node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js",
"./assets/vendors/bootstrap-timepicker/js/bootstrap-timepicker.min.js",
"../node_modules/jquery-validation/dist/jquery.validate.min.js",
"./assets/vendors/jquery.maskedinput/dist/jquery.maskedinput.min.js",
"../node_modules/fullcalendar/dist/fullcalendar.min.js",
"./assets/vendors/jquery-knob/dist/jquery.knob.min.js",
"../node_modules/select2/dist/js/select2.full.min.js",
"../node_modules/jquery-minicolors/jquery.minicolors.min.js",
"./assets/js/app.js"
],
"environmentSource": "environments/environment.ts",
"environments": {
"dev": "environments/environment.ts",
"prod": "environments/environment.prod.ts"
}
}
],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"lint": [
{
"project": "src/tsconfig.app.json",
"exclude": "**/node_modules/**"
},
{
"project": "src/tsconfig.spec.json",
"exclude": "**/node_modules/**"
},
{
"project": "e2e/tsconfig.e2e.json",
"exclude": "**/node_modules/**"
}
],
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "css",
"component": {}
}
}
13 changes: 13 additions & 0 deletions angular/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 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
42 changes: 42 additions & 0 deletions angular/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.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
27 changes: 27 additions & 0 deletions angular/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Angular

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.2.

## Development server

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.

## 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).
14 changes: 14 additions & 0 deletions angular/e2e/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { AppPage } from './app.po';

describe('angular App', () => {
let page: AppPage;

beforeEach(() => {
page = new AppPage();
});

it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
});
});
11 changes: 11 additions & 0 deletions angular/e2e/app.po.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { browser, by, element } from 'protractor';

export class AppPage {
navigateTo() {
return browser.get('/');
}

getParagraphText() {
return element(by.css('app-root h1')).getText();
}
}
14 changes: 14 additions & 0 deletions angular/e2e/tsconfig.e2e.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"baseUrl": "./",
"module": "commonjs",
"target": "es5",
"types": [
"jasmine",
"jasminewd2",
"node"
]
}
}
33 changes: 33 additions & 0 deletions angular/karma.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular/cli'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage-istanbul-reporter'),
require('@angular/cli/plugins/karma')
],
client:{
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
coverageIstanbulReporter: {
reports: [ 'html', 'lcovonly' ],
fixWebpackSourcePaths: true
},
angularCli: {
environment: 'dev'
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
});
};
Loading

0 comments on commit 4d8daf7

Please sign in to comment.