source: Sources/frontend/src/app/materials/materials.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: 859 bytes
Line 
1<div class="container">
2 <div class="header">
3 <h1>Материјали</h1>
4 <button *ngIf="this.activeUser?.userType=='PROFESSOR'" routerLink="/add-materials">+Материјал</button>
5 </div>
6 <ol>
7 <li *ngFor="let filename of files">
8 <p>{{ filename }}</p>
9 <a (click)="onDownloadFile(filename)">
10 <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-download"
11 viewBox="0 0 16 16">
12 <path
13 d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
14 <path
15 d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/>
16 </svg>
17 </a>
18 </li>
19 </ol>
20</div>
Note: See TracBrowser for help on using the repository browser.