Last change
on this file was 8423429, checked in by AngelNasev <angel.nasev@…>, 17 months ago |
Add backend and frontend projects
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[8423429] | 1 | <div class="container">
|
---|
| 2 | <div >
|
---|
| 3 | <div>
|
---|
| 4 | <h3>Прикачи датотека</h3>
|
---|
| 5 | </div><br>
|
---|
| 6 | <div>
|
---|
| 7 | <div *ngIf="fileStatus.status==='progress'">
|
---|
| 8 | <div>
|
---|
| 9 | <div [style.width.%]="fileStatus.percent" class="progress-bar progress-bar-animated bg-info" role="progressbar" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">
|
---|
| 10 | {{ fileStatus.requestType }} {{ fileStatus.percent }}
|
---|
| 11 | </div>
|
---|
| 12 | </div>
|
---|
| 13 | </div> <hr>
|
---|
| 14 |
|
---|
| 15 | <form enctype="multipart/form-data">
|
---|
| 16 | <fieldset>
|
---|
| 17 | <div>
|
---|
| 18 | <div>
|
---|
| 19 | <input type="file" (change)="onUploadFiles($event)" name="files" multiple class="form-control" />
|
---|
| 20 | </div>
|
---|
| 21 | </div>
|
---|
| 22 | </fieldset>
|
---|
| 23 | </form>
|
---|
| 24 |
|
---|
| 25 | <br>
|
---|
| 26 |
|
---|
| 27 | <div *ngIf="filenames.length > 0">
|
---|
| 28 | <h3>Прикачени материјали</h3>
|
---|
| 29 | <div *ngFor="let filename of filenames">
|
---|
| 30 | <a (click)="onDownloadFile(filename)">
|
---|
| 31 | {{ filename }}
|
---|
| 32 | <a><span>Превземи</span></a>
|
---|
| 33 | </a><br>
|
---|
| 34 | </div>
|
---|
| 35 | </div>
|
---|
| 36 | </div>
|
---|
| 37 | </div>
|
---|
| 38 | <button routerLink="/materials/{{courseId}}">Назад кон материјали</button>
|
---|
| 39 | </div>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.