diff options
author | Udo Walter | 2020-05-07 19:30:48 +0200 |
---|---|---|
committer | Udo Walter | 2020-05-07 19:30:48 +0200 |
commit | 90f06cbe0b2ff3b1a9d85d2f73fe5864e692341b (patch) | |
tree | 17139070c9ac144f9cd214a01e4af5e86a895dbe /src/main/resources/templates/locationField.html | |
parent | Prevent user from sticking to connection if it was reset. (diff) | |
download | bwlp-guacamole-ext-90f06cbe0b2ff3b1a9d85d2f73fe5864e692341b.tar.gz bwlp-guacamole-ext-90f06cbe0b2ff3b1a9d85d2f73fe5864e692341b.tar.xz bwlp-guacamole-ext-90f06cbe0b2ff3b1a9d85d2f73fe5864e692341b.zip |
Add location selection
Diffstat (limited to 'src/main/resources/templates/locationField.html')
-rw-r--r-- | src/main/resources/templates/locationField.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/resources/templates/locationField.html b/src/main/resources/templates/locationField.html new file mode 100644 index 0000000..f76259e --- /dev/null +++ b/src/main/resources/templates/locationField.html @@ -0,0 +1,18 @@ +<table class="bwlp-location-container"> + <tr ng-repeat="location in field.locations" class="bwlp-location" + ng-click="selectLocation($event, location.id)"> + <td> + {{ location.name }} + </td> + <td class="bwlp-location-status"> + {{ location.freeCount }} available ({{ location.offlineCount }} offline) + </td> + <td style="width: 200px"> + <div ng-if="location.password" class="bwlp-password"> + <span ng-if="data.id !== location.id">Password protected</span> + <input ng-if="data.id === location.id" ng-model="data.password" + type="password" placeholder="Password" class="bwlp-password-input" required> + </div> + </td> + </tr> +</table> |