Skip to content

Commit 010a878

Browse files
committed
Template da paginação feito.˜
1 parent fa9ebe5 commit 010a878

17 files changed

+86
-182
lines changed

.swp

-12 KB
Binary file not shown.

angular-cli.json

Lines changed: 0 additions & 67 deletions
This file was deleted.

karma.conf.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/app/domain/Jwt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export class Jwt {
2-
public constructor(init?:Partial<Jwt>) {
2+
public constructor(init?: Partial<Jwt>) {
33
Object.assign(this, init);
44
}
55

src/app/domain/User.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export class User {
2-
public constructor(init?:Partial<User>) {
2+
public constructor(init?: Partial<User>) {
33
Object.assign(this, init);
44
}
55

src/app/domain/card.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export class Card {
2-
public constructor(init?:Partial<Card>) {
2+
public constructor(init?: Partial<Card>) {
33
Object.assign(this, init);
44
}
55

src/app/domain/country.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export class Country {
2-
public constructor(init?:Partial<Country>) {
2+
public constructor(init?: Partial<Country>) {
33
Object.assign(this, init);
44
}
55

src/app/domain/pagination.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export class Pagination<T> {
2-
public constructor(init?:Partial<Pagination<T>>) {
2+
public constructor(init?: Partial<Pagination<T>>) {
33
Object.assign(this, init);
44
}
55

src/app/modules/core/http-backend.interceptor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ export class HttpBackendInterceptor implements HttpInterceptor {
6161
var data = new Date();
6262

6363
users.push(new User({ Id: 1, Name: 'Pikachu', Email: 'pikachu@gmail.com', Document: '02343767327', Birthdate: new Date('1991-04-28T12:00:00'), Country: 'Kanto', Profile: 'Administrator', Active: true }));
64-
// users.push(new User({ Id: 2, Name: 'Charmander', Email: 'charmander@gmail.com', Document: '02343767327', Birthdate: new Date('1991-04-28T12:00:00'), Country: 'Kanto', Profile: 'Regular', Active: false }));
65-
// users.push(new User({ Id: 3, Name: 'Squirtle', Email: 'squirtle@gmail.com', Document: '02343767327', Birthdate: new Date('1991-04-28T12:00:00'), Country: 'Kanto', Profile: 'Administrator', Active: true }));
64+
users.push(new User({ Id: 2, Name: 'Charmander', Email: 'charmander@gmail.com', Document: '02343767327', Birthdate: new Date('1991-04-28T12:00:00'), Country: 'Kanto', Profile: 'Regular', Active: false }));
65+
users.push(new User({ Id: 3, Name: 'Squirtle', Email: 'squirtle@gmail.com', Document: '02343767327', Birthdate: new Date('1991-04-28T12:00:00'), Country: 'Kanto', Profile: 'Administrator', Active: true }));
6666
// users.push(new User({ Id: 4, Name: 'Bulbasaur', Email: 'bulbasaur@gmail.com', Document: '02343767327', Birthdate: new Date('1991-04-28T12:00:00'), Country: 'Kanto', Profile: 'Administrator', Active: true }));
6767
// users.push(new User({ Id: 5, Name: 'Mew', Email: 'mew@gmail.com', Document: '02343767327', Birthdate: new Date('1991-04-28T12:00:00'), Country: 'Kanto', Profile: 'Administrator', Active: false }));
6868
// users.push(new User({ Id: 6, Name: 'Chansey', Email: 'chansey@gmail.com', Document: '02343767327', Birthdate: new Date('1991-04-28T12:00:00'), Country: 'Kanto', Profile: 'Administrator', Active: true }));

src/app/modules/ui/.ui.module.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ import { HeaderComponent } from './header.component';
77
import { FooterComponent } from './footer.component';
88
import { NotFoundComponent } from './not-found.component';
99
import { PaginationComponent } from './pagination.component';
10+
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
1011

1112
@NgModule({
1213
imports: [
14+
FontAwesomeModule,
1315
CommonModule,
1416
RouterModule
1517
],

0 commit comments

Comments
 (0)