blob: 8c3ce4fcd47079885071acc1893d9999e474e5f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<div style="font-size: 0.9em; color: grey; margin: -5px 0 20px 0">{{ 'GROUP_SELECTION.RESOLUTION_INFO' | translate }}</div>
<table class="bwlp-group-container">
<tr ng-repeat="group in field.groups" class="bwlp-group"
ng-click="selectGroup($event, group.id)" ng-dblclick="submitGroup($event, group.id)"
ng-class="{ 'selected-group': data.id === group.id }">
<td>
{{ group.name }}
</td>
<td class="bwlp-group-status">
{{ group.freeCount }} {{ 'GROUP_SELECTION.AVAILABLE' | translate }} ({{ group.offlineCount }} offline)
</td>
<td style="width: 200px">
<div ng-if="group.password" class="bwlp-password">
<span ng-if="data.id !== group.id">{{ 'GROUP_SELECTION.PASSWORD_PROTECTED' | translate }}</span>
<input ng-if="data.id === group.id" ng-model="data.password"
type="password" placeholder="Password" class="bwlp-password-input" required>
</div>
</td>
</tr>
</table>
<button type="button" class="logout-button" ng-click="logout()">{{ 'GROUP_SELECTION.LOG_OUT' | translate }}</button>
|