.tab-toolbar
    .btn.btn-outline-secondary.reveal-button
        i.fas.fa-ellipsis-h
    .toolbar(*ngIf='session', [class.show]='!session.open')
        i.fas.fa-circle.text-success.mr-2(*ngIf='session.open')
        i.fas.fa-circle.text-danger.mr-2(*ngIf='!session.open')
        strong(*ngIf='session') {{session.connection.port}} ({{session.connection.baudrate}})

        .mr-auto

        button.btn.btn-secondary.mr-3((click)='changeBaudRate()', *ngIf='session.open')
            span Change baud rate

        button.btn.btn-info((click)='reconnect()', *ngIf='!session.open')
            i.fas.fa-reload
            span Reconnect
