class CallListController { constructor () { this.div = document.getElementById('callListDiv'); this.transcriptionBGColorA = '#010101'; this.transcriptionBGColorB = '#151515'; this.calls = undefined; this.group = undefined; } updateHtml (calls, group) { this.calls = calls; this.group = group; let html = '
'; html += '' html += ''; html += '
TGID' + calls[0]['tg_id'] + '' + calls.length + ' callsTags' + calls[0]['tg_tags'] + '
Name' + calls[0]['tg_name'] + 'System' + systemMatchMap[calls[0]['system']] + '
'; html += '
 Playlist Options' html += '
'; html += '
'; html += ''; for (let i=0; i'; html += ''; html += '' html += '' ; html += ''; html += ''; html += ''; html += ''; html += ''; html += ''; html += ''; } html += '
 StartDurTalkerTranscription
<>' + call['nice_start'] + '' + call['precise_dur'].toFixed(1) + '' + call['talker_id'] + '' + transcription + '
'; this.div.innerHTML = html; } togglePlaylistOptions () { if (document.getElementById('playlistOptionsSpan').style.display == 'none') { this.showPlaylistCheckboxes(); document.getElementById('playlistOptionsSpan').style.display = 'block'; } else { this.hidePlaylistCheckboxes(); document.getElementById('playlistOptionsSpan').style.display = 'none'; } } showPlaylistCheckboxes () { for (let i=0; i