summaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/groupField.html
blob: c2ea0266aa4315a2f4c746044945d870c9b6422e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<table class="bwlp-group-container">
    <tr ng-repeat="group in field.groups" class="bwlp-group"
         ng-click="selectGroup($event, group.id)">
        <td>
            {{ group.name }}
        </td>
        <td class="bwlp-group-status">
            {{ group.freeCount }} available ({{ group.offlineCount }} offline)
        </td>
        <td style="width: 200px">
            <div ng-if="group.password" class="bwlp-password">
                <span ng-if="data.id !== group.id">Password protected</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()">Log out</button>