diff options
author | Ivan Ljubisavljevic <ivan996sk@gmail.com> | 2022-03-02 20:05:03 +0100 |
---|---|---|
committer | Ivan Ljubisavljevic <ivan996sk@gmail.com> | 2022-03-02 20:05:03 +0100 |
commit | 38c59d321f84ddfb21029df1ccd2979094c95670 (patch) | |
tree | 4a0cb194e09c19e2279306f69a816e87ed6300c2 /sandbox/TestIvanLjubisavljevic/frontend/src/app/izmeni-laptop/izmeni-laptop.component.html | |
parent | 6c7bcbaff8b2a71936da7edb69c90e45f7efd399 (diff) |
Dodat frontend za test app
Diffstat (limited to 'sandbox/TestIvanLjubisavljevic/frontend/src/app/izmeni-laptop/izmeni-laptop.component.html')
-rwxr-xr-x | sandbox/TestIvanLjubisavljevic/frontend/src/app/izmeni-laptop/izmeni-laptop.component.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sandbox/TestIvanLjubisavljevic/frontend/src/app/izmeni-laptop/izmeni-laptop.component.html b/sandbox/TestIvanLjubisavljevic/frontend/src/app/izmeni-laptop/izmeni-laptop.component.html new file mode 100755 index 00000000..c49a700d --- /dev/null +++ b/sandbox/TestIvanLjubisavljevic/frontend/src/app/izmeni-laptop/izmeni-laptop.component.html @@ -0,0 +1,25 @@ +<div *ngIf="laptop" id="forma"> + <label>Brand:</label> + <input type="text" [(ngModel)]="laptop.brand" ><br> + <label>Model:</label> + <input type="text" [(ngModel)]="laptop.model"><br> + <label>Ram:</label> + <input type="number" [(ngModel)]="laptop.ram"> <br> + <label>Memorija:</label> + <input type="number" [(ngModel)]="laptop.hdd"> <br> + <label>Grafika:</label> + <input type="text" [(ngModel)]="laptop.graphics"> <br> + <label>Ekran:</label> + <input type="text" [(ngModel)]="laptop.display"> <br> + <label>Procesor:</label> + <input type="text" [(ngModel)]="laptop.processor"><br> + <label>Cena:</label> + <input type="number" [(ngModel)]="laptop.price"><br> + + <button (click)="izmeni(laptop)">Sačuvaj izmene</button><br> + <button (click)="back()">Nazad na početnu</button> +</div> + +<div *ngIf="izmenio" id="forma"> + <p style="color:green">Uspešno izmenjeni podaci!</p> +</div>
\ No newline at end of file |