Skip to content

Commit 7afbdbe

Browse files
committed
initial release
1 parent 6a54301 commit 7afbdbe

File tree

242 files changed

+15420
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+15420
-0
lines changed

.angular-cli.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"project": {
4+
"name": "purple-angular",
5+
"ejected": true
6+
},
7+
"apps": [
8+
{
9+
"root": "src",
10+
"outDir": "dist",
11+
"assets": [
12+
"assets",
13+
"favicon.ico"
14+
],
15+
"index": "index.html",
16+
"main": "main.ts",
17+
"polyfills": "polyfills.ts",
18+
"test": "test.ts",
19+
"tsconfig": "tsconfig.app.json",
20+
"testTsconfig": "tsconfig.spec.json",
21+
"prefix": "app",
22+
"styles": [
23+
"styles.scss"
24+
],
25+
"scripts": [],
26+
"environmentSource": "environments/environment.ts",
27+
"environments": {
28+
"dev": "environments/environment.ts",
29+
"prod": "environments/environment.prod.ts"
30+
}
31+
}
32+
],
33+
"e2e": {
34+
"protractor": {
35+
"config": "./protractor.conf.js"
36+
}
37+
},
38+
"lint": [
39+
{
40+
"project": "src/tsconfig.app.json",
41+
"exclude": "**/node_modules/**"
42+
},
43+
{
44+
"project": "src/tsconfig.spec.json",
45+
"exclude": "**/node_modules/**"
46+
},
47+
{
48+
"project": "e2e/tsconfig.e2e.json",
49+
"exclude": "**/node_modules/**"
50+
}
51+
],
52+
"test": {
53+
"karma": {
54+
"config": "./karma.conf.js"
55+
}
56+
},
57+
"defaults": {
58+
"styleExt": "scss",
59+
"component": {
60+
}
61+
}
62+
}

.editorconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.gitignore

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/dist-server
6+
/tmp
7+
/out-tsc
8+
9+
# dependencies
10+
/node_modules
11+
12+
# IDEs and editors
13+
/.idea
14+
.project
15+
.classpath
16+
.c9/
17+
*.launch
18+
.settings/
19+
*.sublime-workspace
20+
21+
# IDE - VSCode
22+
.vscode/*
23+
!.vscode/settings.json
24+
!.vscode/tasks.json
25+
!.vscode/launch.json
26+
!.vscode/extensions.json
27+
28+
# misc
29+
/.sass-cache
30+
/connect.lock
31+
/coverage
32+
/libpeerconnection.log
33+
npm-debug.log
34+
yarn-error.log
35+
testem.log
36+
/typings
37+
38+
# e2e
39+
/e2e/*.js
40+
/e2e/*.map
41+
42+
# System Files
43+
.DS_Store
44+
Thumbs.db

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
CHANGELOG
2+
=========
3+
4+
V 2.2.1
5+
------
6+
- Updated to angular version 6.1.4
7+
- Updated to bootstrap version 4.1.3
8+
- Improved design
9+
- Other bug fixes
10+
11+
V 2.0.0
12+
------
13+
- Updated to angular version 5.2.0
14+
- Updated to bootstrap version 4.1
15+
- Improved design
16+
- Other bug fixes
17+
18+
V 1.0.0
19+
-------
20+
- Initial release

README.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# PurpleAdmin Free Angular Admin Template
2+
3+
4+
PurpleAdmin Free Angular Admin Template is a free admin template based on Bootstrap 4. The template is built using the framework NG-Bootstrap.
5+
6+
PrupleAdmin Free Angular Admin Template is a completely responsive and mobile-first admin template that provides a great foundation for your Angular + Bootstrap project.
7+
This remarkably flexible and highly customizable template helps you create an amazing UI for your admin panel.
8+
9+
## Demo
10+
11+
Visit: http://www.bootstrapdash.com/demo/purple-free-angular/
12+
13+
## Installation
14+
15+
### What's included
16+
17+
Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:
18+
19+
```
20+
PurpleAdmin Free Angular Admin Template/
21+
├── dist/
22+
├── e2e/
23+
├── src/
24+
├──.angular-cli.json
25+
├── .editorconfig
26+
├── angular.json
27+
├── package.json
28+
├── README.md
29+
├── tsconfig.json
30+
├── tslint.json
31+
```
32+
33+
### Usage
34+
35+
``` bash
36+
# clone the repo
37+
$ git clone
38+
https://github.com/BootstrapDash/PurpleAdmin-Free-Angular-Admin-Template.git
39+
40+
# go into app's directory
41+
$ cd PurpleAdmin-Free-Angular-Admin-Template
42+
43+
# install dependencies
44+
npm install
45+
46+
# serve with hot reload at localhost:4200
47+
ng serve
48+
49+
# build for production with minification
50+
ng build
51+
```
52+
53+
### Go Premium!!
54+
55+
Do you need a template with more features and functionalities? Get more with our collection of the premium template with more plugins, eye catching animations, UI components, and sample pages all fitting together with a high-quality design. Visit https://www.bootstrapdash.com for more admin templates.

angular.json

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"purple-angular": {
7+
"root": "",
8+
"sourceRoot": "src",
9+
"projectType": "application",
10+
"prefix": "app",
11+
"schematics": {
12+
"@schematics/angular:component": {
13+
"styleext": "scss"
14+
}
15+
},
16+
"architect": {
17+
"build": {
18+
"builder": "@angular-devkit/build-angular:browser",
19+
"options": {
20+
"outputPath": "dist/purple-angular",
21+
"index": "src/index.html",
22+
"main": "src/main.ts",
23+
"polyfills": "src/polyfills.ts",
24+
"tsConfig": "src/tsconfig.app.json",
25+
"assets": [
26+
"src/favicon.ico",
27+
"src/assets"
28+
],
29+
"styles": [
30+
"src/styles.scss"
31+
],
32+
"scripts": []
33+
},
34+
"configurations": {
35+
"production": {
36+
"fileReplacements": [
37+
{
38+
"replace": "src/environments/environment.ts",
39+
"with": "src/environments/environment.prod.ts"
40+
}
41+
],
42+
"optimization": true,
43+
"outputHashing": "all",
44+
"sourceMap": false,
45+
"extractCss": true,
46+
"namedChunks": false,
47+
"aot": true,
48+
"extractLicenses": true,
49+
"vendorChunk": false,
50+
"buildOptimizer": true
51+
}
52+
}
53+
},
54+
"serve": {
55+
"builder": "@angular-devkit/build-angular:dev-server",
56+
"options": {
57+
"browserTarget": "purple-angular:build"
58+
},
59+
"configurations": {
60+
"production": {
61+
"browserTarget": "purple-angular:build:production"
62+
}
63+
}
64+
},
65+
"extract-i18n": {
66+
"builder": "@angular-devkit/build-angular:extract-i18n",
67+
"options": {
68+
"browserTarget": "purple-angular:build"
69+
}
70+
},
71+
"test": {
72+
"builder": "@angular-devkit/build-angular:karma",
73+
"options": {
74+
"main": "src/test.ts",
75+
"polyfills": "src/polyfills.ts",
76+
"tsConfig": "src/tsconfig.spec.json",
77+
"karmaConfig": "src/karma.conf.js",
78+
"styles": [
79+
"src/styles.scss"
80+
],
81+
"scripts": [],
82+
"assets": [
83+
"src/favicon.ico",
84+
"src/assets"
85+
]
86+
}
87+
},
88+
"lint": {
89+
"builder": "@angular-devkit/build-angular:tslint",
90+
"options": {
91+
"tsConfig": [
92+
"src/tsconfig.app.json",
93+
"src/tsconfig.spec.json"
94+
],
95+
"exclude": [
96+
"**/node_modules/**"
97+
]
98+
}
99+
}
100+
}
101+
},
102+
"purple-angular-e2e": {
103+
"root": "e2e/",
104+
"projectType": "application",
105+
"architect": {
106+
"e2e": {
107+
"builder": "@angular-devkit/build-angular:protractor",
108+
"options": {
109+
"protractorConfig": "e2e/protractor.conf.js",
110+
"devServerTarget": "purple-angular:serve"
111+
},
112+
"configurations": {
113+
"production": {
114+
"devServerTarget": "purple-angular:serve:production"
115+
}
116+
}
117+
},
118+
"lint": {
119+
"builder": "@angular-devkit/build-angular:tslint",
120+
"options": {
121+
"tsConfig": "e2e/tsconfig.e2e.json",
122+
"exclude": [
123+
"**/node_modules/**"
124+
]
125+
}
126+
}
127+
}
128+
}
129+
},
130+
"defaultProject": "purple-angular"
131+
}

e2e/src/app.e2e-spec.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { AppPage } from './app.po';
2+
3+
describe('workspace-project App', () => {
4+
let page: AppPage;
5+
6+
beforeEach(() => {
7+
page = new AppPage();
8+
});
9+
10+
it('should display welcome message', () => {
11+
page.navigateTo();
12+
expect(page.getParagraphText()).toEqual('Welcome to purple-angular!');
13+
});
14+
});

e2e/src/app.po.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { browser, by, element } from 'protractor';
2+
3+
export class AppPage {
4+
navigateTo() {
5+
return browser.get('/');
6+
}
7+
8+
getParagraphText() {
9+
return element(by.css('app-root h1')).getText();
10+
}
11+
}

e2e/tsconfig.e2e.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../out-tsc/app",
5+
"module": "commonjs",
6+
"target": "es5",
7+
"types": [
8+
"jasmine",
9+
"jasminewd2",
10+
"node"
11+
]
12+
}
13+
}

0 commit comments

Comments
 (0)