Skip to content

Commit

Permalink
angular material kuruldu
Browse files Browse the repository at this point in the history
  • Loading branch information
NisanurBulut committed Jul 27, 2020
1 parent 0c7c1b9 commit 3db9424
Show file tree
Hide file tree
Showing 9 changed files with 64 additions and 2 deletions.
Binary file modified PratikForumAPI/.vs/PratikForumAPI/v16/.suo
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions PratikForumClient/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
],
"styles": [
"src/styles.css",
"src/main-style.scss",
"./node_modules/@fortawesome/fontawesome-free/css/all.min.css"
],
"scripts": []
Expand Down
37 changes: 37 additions & 0 deletions PratikForumClient/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion PratikForumClient/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
},
"private": true,
"dependencies": {
"@angular/animations": "~8.2.8",
"@angular/animations": "^8.2.14",
"@angular/cdk": "^10.1.0",
"@angular/common": "~8.2.8",
"@angular/compiler": "~8.2.8",
"@angular/core": "~8.2.8",
"@angular/forms": "~8.2.8",
"@angular/material": "^10.1.0",
"@angular/platform-browser": "~8.2.8",
"@angular/platform-browser-dynamic": "~8.2.8",
"@angular/router": "~8.2.8",
Expand Down
4 changes: 3 additions & 1 deletion PratikForumClient/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { BudgetMainComponent } from './budget-main/budget-main.component';
import { AddItemFormComponent } from './budget-main/add-item-form/add-item-form.component';
import { BudgetItemListComponent } from './budget-main/budget-item-list/budget-item-list.component';
import { BudgetItemCardComponent } from './budget-main/budget-item-list/budget-item-card/budget-item-card.component';
import { EditItemModalComponent } from './budget-main/edit-item-modal/edit-item-modal.component';


@NgModule({
Expand All @@ -42,7 +43,8 @@ import { BudgetItemCardComponent } from './budget-main/budget-item-list/budget-i
BudgetMainComponent,
AddItemFormComponent,
BudgetItemListComponent,
BudgetItemCardComponent
BudgetItemCardComponent,
EditItemModalComponent
],
imports: [
BrowserModule,
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h1 class="title">Düzenle</h1>
<app-add-item-form [item]="item" onsubmit="onsubmitted($event)"></app-add-item-form>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Component, OnInit, Input } from '@angular/core';
import { BudgetItem } from 'src/app/models/budget-item.model';

@Component({
selector: 'app-edit-item-modal',
templateUrl: './edit-item-modal.component.html',
styleUrls: ['./edit-item-modal.component.css']
})
export class EditItemModalComponent implements OnInit {
@Input() item: BudgetItem;
constructor() { }

ngOnInit() {
}
onsubmitted(updatedItem: BudgetItem) {

}
}

0 comments on commit 3db9424

Please sign in to comment.