aboutsummaryrefslogtreecommitdiff
path: root/sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html
diff options
context:
space:
mode:
authorTAMARA JERINIC <tamara.jerinic@gmail.com>2022-03-02 23:38:27 +0100
committerTAMARA JERINIC <tamara.jerinic@gmail.com>2022-03-02 23:38:27 +0100
commitdce4e644d5e5d9c97ff5ac337448b52f2a2a64fd (patch)
treeffdb31f43958e8c557647a4bd61914d6d13486e4 /sandbox/TestIvanLjubisavljevic/frontend/src/app/new-laptop/new-laptop.component.html
parent9826a8079ffcd1d849a8a8821696d51691606133 (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/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>
+