diff options
author | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-03-02 23:38:27 +0100 |
---|---|---|
committer | TAMARA JERINIC <tamara.jerinic@gmail.com> | 2022-03-02 23:38:27 +0100 |
commit | dce4e644d5e5d9c97ff5ac337448b52f2a2a64fd (patch) | |
tree | ffdb31f43958e8c557647a4bd61914d6d13486e4 /sandbox/TestIvanLjubisavljevic/frontend/src/app/izmeni-laptop/izmeni-laptop.component.html | |
parent | 9826a8079ffcd1d849a8a8821696d51691606133 (diff) |
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into Tamara
# Conflicts:
# .gitignore
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 |