summaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/locationField.html
blob: f76259ed156c75a17004fc45c07f2132cb7dfb7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>