summaryrefslogtreecommitdiff
path: root/www/templates/eventserversettings.html
blob: a3ed37aa1f89a74f3c894a80f2aea16f30ac4261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<ion-view view-title="Event Server" cache-view="false">

    <ion-nav-buttons side="left">
        <button class="button button-icon button-clear ion-navicon" ng-click="openMenu()"></button>
        <button data-badge="{{$root.alarmCount}}" class="animated infinite tada button button-icon button-clear ion-ios-bell notification-badge" ng-click="handleAlarms();" ng-if="$root.isAlarm"></button>
    </ion-nav-buttons>
    <ion-content>

        <ion-checkbox ng-model="check.isUseEventServer">use event server</ion-checkbox>

        <label class="item item-input item-floating-label" ng-if="check.isUseEventServer">
            <span class="input-label">Event Server</span>
            <input autocapitalize="none" autocomplete="off" autocorrect="off" type="text" placeholder="Event notification url" ng-model="loginData.eventServer">


        </label>

        <ul class="list" ng-if="check.isUseEventServer">

            <li class="item item-checkbox" ng-repeat="monitor in monitors">
                <label class="checkbox">
                    <input type="checkbox" ng-model="monitor.Monitor.isChecked" ng-checked="monitor.Monitor.isChecked">
                </label>
                {{monitor.Monitor.Name}}
            </li>


        </ul>

    </ion-content>
</ion-view>