source: Sources/frontend/src/app/question/question.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: 520 bytes
Line 
1<div class="container">
2 <h1>{{course?.name}}</h1>
3 <div class="header">
4 <h2>Прашања</h2>
5 <div class="buttons">
6 <button *ngIf="this.activeUser?.userType=='STUDENT'" routerLink="/add-question/{{course?.id}}">+ Прашање</button>
7 <button routerLink="/materials/{{course?.id}}">Материјали</button>
8 </div>
9 </div>
10
11 <div class="card" *ngFor="let q of questions" routerLink="/question-details/{{q?.id}}">
12 <h3>{{q?.title}}</h3>
13 <p>{{q?.content}}</p>
14 </div>
15
16</div>
17
Note: See TracBrowser for help on using the repository browser.