-
-
-
-
-
-
-
-
- @if (!isReadOnlyMode) {
- - {{ - isReadOnlyMode - ? ('PANEL.RECORDING.VIEW_ONLY_CONTENT_TITLE' | translate) - : ('PANEL.RECORDING.CONTENT_TITLE' | translate) - }} -
- - {{ - isReadOnlyMode - ? recordingList.length === 0 - ? ('PANEL.RECORDING.NO_RECORDINGS_AVAILABLE' | translate) - : ('PANEL.RECORDING.VIEW_ONLY_CONTENT_SUBTITLE' | translate) - : ('PANEL.RECORDING.CONTENT_SUBTITLE' | translate) - }} - -
-
-
-
-
-
-
+ @if (isPanelOpened) {
+ 0">
-
-
-
+ }
+
+ }
-
-
-
+
+ @if (recordingList.length === 0) {
+
+ }
+
+ @if (recordingList.length > 0) {
+
+
+ }
+
+ @if (recordingList.length === 0) {
+
+
+ }
+
+
+ @if (!isReadOnlyMode) {
+ + {{ + isReadOnlyMode + ? ('PANEL.RECORDING.VIEW_ONLY_CONTENT_TITLE' | translate) + : ('PANEL.RECORDING.CONTENT_TITLE' | translate) + }} +
+ + {{ + isReadOnlyMode + ? recordingList.length === 0 + ? ('PANEL.RECORDING.NO_RECORDINGS_AVAILABLE' | translate) + : ('PANEL.RECORDING.VIEW_ONLY_CONTENT_SUBTITLE' | translate) + : ('PANEL.RECORDING.CONTENT_SUBTITLE' | translate) + }} + +
+
+ @if (recordingAlive) {
+
+ }
+
+
+ @if (recordingStatus === recStatusEnum.STOPPED) {
+
+ } @else {
+
+
+ }
+
+
+
+
+
+
+
+
+ @if (recordingStatus === recStatusEnum.STARTING) {
+
+ {{ 'PANEL.RECORDING.STARTING' | translate }}
+
+ }
+
+ @if (recordingStatus === recStatusEnum.STOPPING) {
+
+ {{ 'PANEL.RECORDING.STOPPING' | translate }}
+
+ }
+
+ @if (recordingStatus === recStatusEnum.FAILED) {
+
+
+ Message: {{ recordingError }}
+
+
+ }
+
-
- {{ 'PANEL.RECORDING.STARTING' | translate }}
-
+
+ @if (recordingList.length > 0) {
+
- } @else {
-
-
+
+ @for (recording of recordingList; track trackByRecordingId($index, recording)) {
+
+
+ video_file
-
- {{ 'PANEL.RECORDING.STOPPING' | translate }}
-
+
+
-
+ {{ recording.filename }}
+
-
- Message: {{ recordingError }}
-
-
-
-
+
+
}
+ @if (recording.status === recStatusEnum.STARTED) {
+
+ {{ 'PANEL.RECORDING.IN_PROGRESS' | translate }}
+
+ } @else {
+ {{ recording.duration | duration }}
+ | {{ recording.size / 1024 / 1024 | number: '1.1-2' }} MBs
+ }
+
+
+
+ @if (recording.status !== recStatusEnum.STARTED) {
+
+ {{ recording.startedAt | date: 'HH:mm - dd/MM/yyyy' }}
+
+ }
+
+
+ @if (!isReadOnlyMode) {
+ @if (recording.status !== recStatusEnum.STARTED) {
+
+ @if (showControls.play) {
+
+ }
+
+ @if (showControls.externalView) {
+
+ }
+
+ @if (showControls.download) {
+
+ }
+
+ @if (showControls.delete) {
+
+ }
+
+ }
+ } @else {
+ @if (recording.status !== recStatusEnum.STARTED) {
+
+
+
+ }
+ }
+
+ }
+
0" class="item recording-list-container">
-
-
-
- video_file
-
-
-
-
-
-
- {{ recording.filename }}
-
-
-
-
-
- {{ 'PANEL.RECORDING.IN_PROGRESS' | translate }}
-
-
- {{ recording.duration | duration }}
- | {{ recording.size / 1024 / 1024 | number: '1.1-2' }} MBs
-
-
-
-
-
- {{ recording.startedAt | date: 'HH:mm - dd/MM/yyyy' }}
-
-
-
- @if (!isReadOnlyMode) {
-
-
-
- @if (showControls.externalView) {
-
- } @else {
-
-
-
- }
-
-
-
-
-
-
-
- }
-