diff options
author | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-02 23:44:50 +0100 |
---|---|---|
committer | Danijel Andjelkovic <adanijel99@gmail.com> | 2022-03-02 23:44:50 +0100 |
commit | 311c84b1bf0fa3a9680b16ba1ec3309a0a1dca1f (patch) | |
tree | 987a2b00e211e56298f257834bef29bb268a6274 /sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html | |
parent | e3999e37a0a0018be4704ed58b7d984781f429c8 (diff) | |
parent | ee11a13a99d5635eb27850bcd909b73e6f50fced (diff) |
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar
Diffstat (limited to 'sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html')
-rwxr-xr-x | sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html b/sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html new file mode 100755 index 00000000..0669929b --- /dev/null +++ b/sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html @@ -0,0 +1,24 @@ +<div id="forma"> + <h2>DODAJ LAPTOP</h2> + <label>Brand:</label> + <input type="text" placeholder=" Lenovo" [(ngModel)]="laptop.brand"><br> + <label>Model:</label> + <input type="text" placeholder=" Ideapad" [(ngModel)]="laptop.model"><br> + <label>Ram:</label> + <input type="number" placeholder=" 8" [(ngModel)]="laptop.ram"> <br> + <label>Memorija:</label> + <input type="number" placeholder=" 1000" [(ngModel)]="laptop.hdd"> <br> + <label>Grafika:</label> + <input type="text" placeholder=" nVidia GeForce 1080" [(ngModel)]="laptop.graphics"> <br> + <label>Ekran:</label> + <input type="text" placeholder=" 15.6" [(ngModel)]="laptop.display"> <br> + <label>Procesor:</label> + <input type="text" placeholder=" Intel i7 dualCore " [(ngModel)]="laptop.processor"><br> + <label>Cena:</label> + <input type="number" placeholder=" 760 " [(ngModel)]="laptop.price"><br> + + <button (click)="dodaj(laptop)">Dodaj laptop</button> + + <button (click)="back()">Nazad na početnu</button> +</div> + |