summaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/groupField.html
diff options
context:
space:
mode:
authorUdo Walter2020-05-13 14:04:52 +0200
committerUdo Walter2020-05-13 14:04:52 +0200
commite5a3a1d737e88c89a4ba3fbc8d277745093139b1 (patch)
tree9fac401c4a848eb3a38429f17e6050eaa506dd2e /src/main/resources/templates/groupField.html
parentFix connecting to a new client after exiting a client. Add logo, favicon and ... (diff)
downloadbwlp-guacamole-ext-e5a3a1d737e88c89a4ba3fbc8d277745093139b1.tar.gz
bwlp-guacamole-ext-e5a3a1d737e88c89a4ba3fbc8d277745093139b1.tar.xz
bwlp-guacamole-ext-e5a3a1d737e88c89a4ba3fbc8d277745093139b1.zip
Add some debug logs. Rename the 'virtual' locations to groups.
Diffstat (limited to 'src/main/resources/templates/groupField.html')
-rw-r--r--src/main/resources/templates/groupField.html19
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>