aboutsummaryrefslogtreecommitdiff
path: root/sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html
diff options
context:
space:
mode:
authorIvan Ljubisavljevic <ivan996sk@gmail.com>2022-03-02 20:05:03 +0100
committerIvan Ljubisavljevic <ivan996sk@gmail.com>2022-03-02 20:05:03 +0100
commit38c59d321f84ddfb21029df1ccd2979094c95670 (patch)
tree4a0cb194e09c19e2279306f69a816e87ed6300c2 /sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html
parent6c7bcbaff8b2a71936da7edb69c90e45f7efd399 (diff)
Dodat frontend za test app
Diffstat (limited to 'sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html')
-rwxr-xr-xsandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html24
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> &nbsp;
+ <input type="number" placeholder=" 8" [(ngModel)]="laptop.ram"> <br>
+ <label>Memorija:</label>&nbsp;
+ <input type="number" placeholder=" 1000" [(ngModel)]="laptop.hdd"> <br>
+ <label>Grafika:</label> &nbsp; &nbsp;
+ <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> &nbsp; &nbsp; &nbsp; &nbsp;
+ <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>
+