source: Sources/frontend/src/app/login/login.component.html@ cd15236

Last change on this file since cd15236 was 8423429, checked in by AngelNasev <angel.nasev@…>, 17 months ago

Add backend and frontend projects

  • Property mode set to 100644
File size: 3.1 KB
Line 
1<div class="parent-container">
2 <div class="header">
3 <div class="headings">
4 <h1>
5 Добредојдовте на <i>FinkiForums</i>
6 <br>
7 Централизирано место за прашања околу ФИНКИ
8 </h1>
9 </div>
10 <img id="logo" src="https://i.ibb.co/zn95ydK/NEW-LOGO.jpg">
11 </div>
12
13 <button class="action-button" (click)="showLogin()">Најави се</button>
14
15 <h1>
16 Сеуште немате профил?
17 <br>
18 Регистрирајте се и научете повеќе
19 </h1>
20
21 <button class="action-button" (click)="showRegister()">Регистрирај се</button>
22
23 <div class="container" *ngIf="login">
24 <form class="example-form">
25 <div class="login-form">
26 <label>Корисничко име</label>
27 <input placeholder="Enter your username" name="username"
28 [(ngModel)]="username">
29 <label>Лозинка</label>
30 <input placeholder="Enter your password"
31 value=""
32 name="password"
33 type="password"
34 [(ngModel)]="password">
35 <button (click)="submitLogin()"
36 [disabled]="username==null && password==null" type="button">Submit
37 </button>
38 </div>
39 </form>
40 </div>
41 <div class="container" *ngIf="register">
42 <form class="example-form">
43 <div class="register-form">
44 <label>Име</label>
45 <input placeholder="Enter your name" name="name"
46 [(ngModel)]="name">
47 <label>Презиме</label>
48 <input placeholder="Enter your last name" name="lastName"
49 [(ngModel)]="lastName">
50 <label>Електронска пошта</label>
51 <input placeholder="Enter your email" name="email"
52 [(ngModel)]="email">
53 <label>Корисничко име</label>
54 <input placeholder="Enter your username" name="username"
55 [(ngModel)]="username">
56 <label>Лозинка</label>
57 <input placeholder="Enter your password"
58 value=""
59 name="password"
60 type="password"
61 [(ngModel)]="password">
62 <div class="form-check">
63 <div class="radio-button-group">
64 <input class="radio" type="radio" name="userType" [(ngModel)]="userType" value="PROFESSOR">
65 <label class="radio-label">Професор</label>
66 </div>
67 <div class="radio-button-group">
68 <input class="radio" type="radio" name="userType" [(ngModel)]="userType" value="STUDENT">
69 <label class="radio-label">Студент</label>
70 </div>
71 </div>
72 <label *ngIf="userType=='STUDENT'">Индекс</label>
73 <input *ngIf="userType=='STUDENT'"
74 placeholder="Enter your index"
75 name="index"
76 [(ngModel)]="index">
77 <button (click)="submitRegister()"
78 [disabled]="name==null || lastName==null || email==null || username==null || password==null || userType==null"
79 type="button">Регистрирај се
80 </button>
81 </div>
82 </form>
83 </div>
84</div>
Note: See TracBrowser for help on using the repository browser.