diff options
Diffstat (limited to 'src/main/resources/templates/groupField.html')
-rw-r--r-- | src/main/resources/templates/groupField.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/resources/templates/groupField.html b/src/main/resources/templates/groupField.html new file mode 100644 index 0000000..c2ea026 --- /dev/null +++ b/src/main/resources/templates/groupField.html @@ -0,0 +1,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> |