primeng + font-awesome + bootstrap
This commit is contained in:
parent
6fe7f5e161
commit
054dc5afce
@ -19,7 +19,10 @@
|
||||
"testTsconfig": "tsconfig.spec.json",
|
||||
"prefix": "icod",
|
||||
"styles": [
|
||||
"styles.scss"
|
||||
"styles.scss",
|
||||
"../node_modules/font-awesome/css/font-awesome.min.css",
|
||||
"../node_modules/primeng/resources/themes/omega/theme.css",
|
||||
"../node_modules/primeng/resources/primeng.min.css"
|
||||
],
|
||||
"scripts": [],
|
||||
"environmentSource": "environments/environment.ts",
|
||||
|
@ -12,7 +12,7 @@
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^5.2.0",
|
||||
"@angular/animations": "^5.2.9",
|
||||
"@angular/common": "^5.2.0",
|
||||
"@angular/compiler": "^5.2.0",
|
||||
"@angular/core": "^5.2.0",
|
||||
@ -22,7 +22,10 @@
|
||||
"@angular/platform-browser-dynamic": "^5.2.0",
|
||||
"@angular/router": "^5.2.0",
|
||||
"@angular/service-worker": "^5.2.0",
|
||||
"bootstrap": "^4.0.0",
|
||||
"core-js": "^2.4.1",
|
||||
"font-awesome": "^4.7.0",
|
||||
"primeng": "^5.2.4",
|
||||
"rxjs": "^5.5.6",
|
||||
"zone.js": "^0.8.19"
|
||||
},
|
||||
|
@ -1,21 +1 @@
|
||||
<!--The content below is only a placeholder and can be replaced.-->
|
||||
<div style="text-align:center">
|
||||
<h1>
|
||||
Welcome to {{ title }}!
|
||||
</h1>
|
||||
<img width="300" alt="Angular Logo" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==">
|
||||
</div>
|
||||
<h2>Here are some links to help you start: </h2>
|
||||
<ul>
|
||||
<li>
|
||||
<h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
|
||||
</li>
|
||||
<li>
|
||||
<h2><a target="_blank" rel="noopener" href="https://github.com/angular/angular-cli/wiki">CLI Documentation</a></h2>
|
||||
</li>
|
||||
<li>
|
||||
<h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<router-outlet></router-outlet>
|
||||
|
@ -4,7 +4,6 @@ import {Observable} from 'rxjs/Observable';
|
||||
|
||||
@Injectable()
|
||||
export class DataService {
|
||||
|
||||
private rootURL = '/api/v1/data/';
|
||||
|
||||
constructor(private http: HttpClient) {
|
||||
@ -12,7 +11,6 @@ export class DataService {
|
||||
|
||||
public list(p: DataParams): Observable<Data[]> {
|
||||
let params = new HttpParams();
|
||||
|
||||
params = params.append('response_type', 'list');
|
||||
|
||||
if (p.start !== undefined) {
|
||||
@ -167,7 +165,6 @@ export class DataService {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return this.http.get<Data>(this.rootURL, {params: params});
|
||||
}
|
||||
|
||||
@ -182,7 +179,6 @@ export class DataService {
|
||||
public removeId(id: string) {
|
||||
return this.http.delete(this.rootURL + id);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export class DataParams {
|
||||
|
@ -1 +1 @@
|
||||
/* You can add global styles to this file, and also import other style files */
|
||||
@import "~bootstrap/scss/bootstrap";
|
||||
|
@ -27,7 +27,7 @@
|
||||
"@ngtools/json-schema" "^1.1.0"
|
||||
rxjs "^5.5.6"
|
||||
|
||||
"@angular/animations@^5.2.0":
|
||||
"@angular/animations@^5.2.9":
|
||||
version "5.2.9"
|
||||
resolved "https://registry.yarnpkg.com/@angular/animations/-/animations-5.2.9.tgz#220db9fb5a52a193db0023d721b23ddd25a75770"
|
||||
dependencies:
|
||||
@ -805,6 +805,10 @@ boom@5.x.x:
|
||||
dependencies:
|
||||
hoek "4.x.x"
|
||||
|
||||
bootstrap@^4.0.0:
|
||||
version "4.0.0"
|
||||
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.0.0.tgz#ceb03842c145fcc1b9b4e15da2a05656ba68469a"
|
||||
|
||||
brace-expansion@^1.1.7:
|
||||
version "1.1.11"
|
||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||
@ -2474,6 +2478,10 @@ follow-redirects@1.0.0:
|
||||
dependencies:
|
||||
debug "^2.2.0"
|
||||
|
||||
font-awesome@^4.7.0:
|
||||
version "4.7.0"
|
||||
resolved "https://registry.yarnpkg.com/font-awesome/-/font-awesome-4.7.0.tgz#8fa8cf0411a1a31afd07b06d2902bb9fc815a133"
|
||||
|
||||
for-in@^0.1.3:
|
||||
version "0.1.8"
|
||||
resolved "https://registry.yarnpkg.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1"
|
||||
@ -4965,6 +4973,10 @@ pretty-error@^2.0.2:
|
||||
renderkid "^2.0.1"
|
||||
utila "~0.4"
|
||||
|
||||
primeng@^5.2.4:
|
||||
version "5.2.4"
|
||||
resolved "https://registry.yarnpkg.com/primeng/-/primeng-5.2.4.tgz#79d9b030ea37fdeb23284dcbbca3b89dddc3e91e"
|
||||
|
||||
process-nextick-args@~1.0.6:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
||||
|
Loading…
Reference in New Issue
Block a user