blob: cfab95d308ab47fd1d2d392d2b222d341204ef06 [file] [log] [blame]
Radek Krejcid23f0df2017-08-31 16:34:49 +02001<div class="netopeer-content" id="netopeer-dashboard">
Radek Krejci2b510682018-04-27 14:31:39 +02002 <table class="items">
3 <tr class="item_header">
4 <th class="item_left">&nbsp;</th>
5 <th >Currently connected devices</th>
6 <th class="item_right">autoconnect</th>
7 </tr>
8 <tr class="item" *ngFor="let session of sessionsService.sessions" (click)="gotoConfig(session)">
9 <td class="item_left item_actions">
10 <img class="item_action_delete" src="assets/netopeer/icons/close.svg" alt="x" title="disconnect"
11 onmouseover="this.src='assets/netopeer/icons/close_active.svg'"
12 onmouseout="this.src='assets/netopeer/icons/close.svg'" (click)="sessionsService.close(session.key).subscribe(); $event.stopPropagation()"/>
13 </td>
14 <td>{{session.device.name}}</td>
15 <td class="item_right"><input type="checkbox" name="autoconnect" disabled [checked]="session.device.autoconnect"
16 title="Automatically connect the device on user login."/></td>
17 </tr>
18 </table>
Radek Krejcid23f0df2017-08-31 16:34:49 +020019</div>