3 class="page-layout simple left-sidenav inner-sidenav motion-list"
7 class="header md-accent-bg"
9 layout-align="space-between center"
12 <div layout="row" layout-align="start center">
13 <div class="logo" layout="row" layout-align="start center">
14 <span class="logo-icon">
15 <md-icon md-font-icon="icon-video" class="s24"></md-icon>
17 <span class="logo-text" translate="VIDEO.SCREENRECORDINGS"
18 >ScreenRecordings</span
27 class="search-input-wrapper"
29 layout-align="start center"
32 <md-icon md-font-icon="icon-magnify"></md-icon>
34 <md-input-container md-no-float class="m-0">
37 placeholder="Search for anyone"
39 ng-model="vm.query.filter"
40 ng-model-options="{ debounce: 1000 }"
42 translate-attr-placeholder="VIDEO.SEARCH_FOR_ANYONE"
48 filters="vm.quickFilters"
50 search="vm.getScreenRecordings()"
58 ng-show="vm.selectedScreenRecordings.length > 0"
59 class="selected-bar header animate-slide-down md-accent-bg"
61 layout-align="start center"
64 class="close-button-wrapper"
65 ng-click="vm.selectedScreenRecordings =[]"
67 <md-button layout="row" layout-align="start center">
68 <md-icon md-font-icon="icon-arrow-left" class="mr-8"></md-icon>
69 <span translate="VIDEO.BACK">Back</span>
73 <div flex layout="row" layout-align="space-between center">
75 <span class="selected-screenRecordings-count">
76 <span>{{vm.selectedScreenRecordings.length}}</span>
77 <span translate="VIDEO.SELECTED">selected</span>
80 <md-menu class="select-menu" ng-if="!vm.currentThread">
82 class="md-icon-button"
83 ng-click="$mdMenu.open($event)"
84 aria-label="multi select toggle"
86 translate-attr-aria-label="VIDEO.MULTI_SELECT_TOGGLE"
88 <md-icon md-font-icon="icon-menu-down"></md-icon>
90 <md-menu-content width="3">
93 ng-click="vm.selectAllScreenRecordings()"
94 translate="VIDEO.SELECT_ALL"
101 ng-click="vm.deselectScreenRecordings()"
102 translate="VIDEO.SELECT_NONE"
111 <div class="multi-select-actions">
113 class="md-icon-button"
114 ng-csv="vm.exportSelectedScreenRecordings"
116 filename="screenRecordings.csv"
118 <md-icon md-font-icon="icon-file-excel"></md-icon>
121 class="md-icon-button"
122 ng-if="vm.crudPermissions.canDelete"
123 ng-click="vm.deleteSelectedScreenRecordings($event)"
124 aria-label="delete selected"
126 translate-attr-label="VIDEO.DELETE_SELECTED"
128 <md-icon md-font-icon="icon-delete"></md-icon>
133 <!-- / SELECTED BAR -->
136 <div class="content" md-background-bg layout="row" layout-align="start start">
138 <div class="main scrollable" ms-scroll>
139 <!-- SCREENRECORDING TABLE -->
146 ng-model="vm.selectedScreenRecordings"
147 md-progress="vm.promise"
151 md-order="vm.query.sort"
152 md-on-reorder="vm.getScreenRecordings"
157 ng-if="vm.table == 'users' || vm.table == 'agents'"
160 <th md-column md-order-by="id">{{ 'VIDEO.ID' | translate }}</th>
161 <th md-column md-order-by="rating">
162 {{ 'VIDEO.RATING' | translate }}
164 <th md-column md-order-by="UserId">
165 {{ 'VIDEO.AGENT' | translate }}
167 <th md-column md-order-by="duration">
168 {{ 'VIDEO.DURATION' | translate }}
170 <th md-column md-order-by="startedAt">
171 {{ 'VIDEO.RECORDSTARTTIME' | translate }}
173 <th md-column md-order-by="closedAt">
174 {{ 'VIDEO.RECORDENDTIME' | translate }}
176 <th md-column width="10px"></th>
180 <tr md-row ng-hide="vm.screenRecordings.rows.length">
181 <td md-cell colspan="7">
182 <div layout="row" layout-align="center center">
183 <span translate="VIDEO.NO_AVAILABLE_INFO"
184 >No Available Info</span
191 md-select="screenRecording"
193 ng-repeat="screenRecording in vm.screenRecordings.rows"
195 <td md-cell ng-if="screenRecording.userpic">
198 alt="{{screenRecording.name}}"
199 ng-src="api/users/{{screenRecording.id}}/avatar"
204 ng-if="!screenRecording.userpic && (vm.table == 'users' || vm.table == 'agents')"
208 alt="{{screenRecording.name}}"
209 ng-src="assets/images/avatars/profile.png"
213 ng-click="vm.createOrEditscreenRecording($event, screenRecording)"
217 {{screenRecording.id}}
220 ng-click="vm.createOrEditscreenRecording($event, screenRecording)"
225 md-font-icon="icon-star"
227 ng-show="screenRecording.rating"
228 ng-repeat="rating in [1,2,3,4,5] | limitTo:screenRecording.rating"
231 ng-hide="screenRecording.rating"
232 translate="VIDEO.NO_RATING"
237 ng-click="vm.createOrEditscreenRecording($event, screenRecording)"
241 {{ (vm.users | filter : {'id':screenRecording.UserId} :
246 ng-bind="vm.convertDuration(screenRecording.duration)"
250 ng-click="vm.createOrEditscreenRecording($event, screenRecording)"
254 {{screenRecording.startedAt | date:'medium' }}
257 ng-click="vm.createOrEditscreenRecording($event, screenRecording)"
261 {{screenRecording.closedAt | date:'medium' }}
264 <td md-cell class="actions">
267 class="md-icon-button"
270 translate-attr-aria-label="VIDEO.MORE"
271 ng-click="$mdMenu.open($event)"
273 <md-icon md-font-icon="icon-dots-vertical"></md-icon>
276 <md-menu-content width="3">
283 ng-click="vm.playrecording(screenRecording, $event , 'value' , 'play_screenrecording' , 'video' )"
284 translate="VIDEO.PLAY_SCREENRECORDING"
296 ng-click="vm.downloadfile2(screenRecording, $event , 'screen/recordings' )"
297 translate="VIDEO.DOWNLOAD_SCREENRECORDING"
299 Download screenRecording
307 <md-menu-item ng-if="vm.crudPermissions.canDelete">
309 ng-click="vm.deleteconfirm(screenRecording, $event )"
310 translate="VIDEO.DELETE_SCREENRECORDING"
312 Delete screenRecording
321 </md-table-container>
324 md-label="{page: '{{'VIDEO.PAGE' | translate}}:', rowsPerPage: '{{'VIDEO.ROWSPERPAGE' | translate}}:', of: '{{'VIDEO.OF' | translate}}'}"
325 md-limit="vm.query.limit"
326 md-limit-options="[10, 15, 20, 50, 100, 250]"
327 md-page="vm.query.page"
328 md-total="{{vm.screenRecordings.count}}"
329 md-on-paginate="vm.getScreenRecordings"
331 ></md-table-pagination>
333 <!-- / SCREENRECORDING TABLE -->
336 <!-- / NO RESULTS -->
342 <!-- NO ADD BUTTON BUTTON -->