summaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/locationField.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/templates/locationField.html')
-rw-r--r--src/main/resources/templates/locationField.html18
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>