diff options
| author | Nevena Bojovic <nenabojov@gmail.com> | 2022-04-06 21:20:32 +0200 | 
|---|---|---|
| committer | Nevena Bojovic <nenabojov@gmail.com> | 2022-04-06 21:20:32 +0200 | 
| commit | 8295292c8f593ec7ab9dd527ad8afce0bc474364 (patch) | |
| tree | b381a151784856d3f0e40c751d96ec012321f8a1 /frontend/src/app/_elements/notifications/notifications.component.html | |
| parent | 45201c5c388b4988af3b319d6702c60397929dfc (diff) | |
| parent | 499f641683767d2da735fb760c89f0c611e37596 (diff) | |
Merge branch 'dev' of http://gitlab.pmf.kg.ac.rs/igrannonica/neuronstellar into dev
# Conflicts:
#	backend/api/api/appsettings.json
Diffstat (limited to 'frontend/src/app/_elements/notifications/notifications.component.html')
| -rw-r--r-- | frontend/src/app/_elements/notifications/notifications.component.html | 23 | 
1 files changed, 20 insertions, 3 deletions
| diff --git a/frontend/src/app/_elements/notifications/notifications.component.html b/frontend/src/app/_elements/notifications/notifications.component.html index d1da41b4..0b87e4fc 100644 --- a/frontend/src/app/_elements/notifications/notifications.component.html +++ b/frontend/src/app/_elements/notifications/notifications.component.html @@ -1,3 +1,20 @@ -<div *ngIf="notifications" class="position-fixed card card-body bg-dark text-white m-3" style="bottom: 0; right: 0;"> -    <h3>Notifikacije</h3> -</div>
\ No newline at end of file +<div *ngIf="notifications" class="position-fixed card card-body p-1 m-3" style="bottom: 0; right: 0; width: 18rem;"> +    <h2 class="m-auto" (click)="closed = !closed;" data-bs-toggle="collapse" href="#collapseNotifs" role="button" +        aria-expanded="true" aria-controls="collapseNotifs">Notifikacije +        <button class="border-0 bg-white"> +            <mat-icon class="position-absolute" style="top: 8px; right: 12px;">{{closed ? 'keyboard_arrow_up' : +                'keyboard_arrow_down'}}</mat-icon> +        </button> +    </h2> + +    <div id="collapseNotifs" class="collapse show"> +        <div *ngFor="let notification of notifications" class="p-2 m-1 border rounded"> +            <div class="d-flex flex-row"> +                <p>{{notification.title}}</p> +            </div> +            <div class="border-3 border-primary bg-dark m-1" style="height: 5px; margin-top: -10px !important;"> +                <div class="bg-primary" style="height: 5px;" [style]="'width: '+(notification.progress*100)+'%;'"> +                </div> +            </div> +        </div> +    </div>
\ No newline at end of file | 
