mirror of https://github.com/OpenVidu/openvidu.git
ov-components: Fixed recording panel elements
parent
5dd689adc6
commit
07e4ede64d
|
@ -96,6 +96,12 @@
|
|||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#recording-action-buttons {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#start-recording-btn {
|
||||
width: 100%;
|
||||
background-color: var(--ov-tertiary-color);
|
||||
|
|
|
@ -90,18 +90,19 @@
|
|||
<!-- Recording list -->
|
||||
<div *ngIf="recordingsList.length > 0" class="item">
|
||||
<mat-list>
|
||||
<div mat-subheader>{{ 'PANEL.RECORDING.RECORDINGS' | translate }}</div>
|
||||
<!-- <div mat-subheader>{{ 'PANEL.RECORDING.RECORDINGS' | translate }}</div> -->
|
||||
<mat-list-item *ngFor="let recording of recordingsList">
|
||||
<mat-icon class="recording-icon" mat-list-icon>video_file</mat-icon>
|
||||
<div mat-line>
|
||||
<mat-icon class="recording-icon" matListItemIcon>video_file</mat-icon>
|
||||
<div matListItemTitle>
|
||||
<span class="recording-name">{{ recording.id }}</span>
|
||||
</div>
|
||||
<div mat-line class="time-container">
|
||||
<div matListItemLine class="time-container">
|
||||
<span class="recording-duration"> {{ recording.duration | duration }} </span>
|
||||
<span class="recording-size"> | {{ recording.size / 1024 / 1024 | number : '1.1-2' }} MBs</span>
|
||||
</div>
|
||||
<div mat-line class="recording-date">{{ recording.createdAt | date : 'HH:mm - dd/MM/yyyy' }}</div>
|
||||
<div matListItemLine class="recording-date">{{ recording.createdAt | date : 'HH:mm - dd/MM/yyyy' }}</div>
|
||||
|
||||
<div *ngIf="recording.status !== recStatusEnum.STARTED" id="recording-action-buttons">
|
||||
<button
|
||||
mat-icon-button
|
||||
(click)="play(recording)"
|
||||
|
@ -129,6 +130,7 @@
|
|||
>
|
||||
<mat-icon>delete</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
</mat-list-item>
|
||||
</mat-list>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue