summaryrefslogblamecommitdiffstats
path: root/src/main/resources/templates/locationField.html
blob: 9feb83c6921a276084839732f946a75317339365 (plain) (tree)
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>
<button class="logout-button" ng-click="logout()">Log out</button>