<!--

    Copyright (C) 2015-2016 Jeeva Kandasamy (jkandasa@gmail.com)

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

            http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<div class="container-fluid"> <!-- Container-fluid -->

  <!-- Loading icon disaplay -->
  <div ng-hide="sensorVariableTypes.$resolved">
    <div ng-include src="'partials/common-html/loading.html'"></div>
  </div>

  <div ng-show="sensorVariableTypes.$resolved"> <!-- Main Message -->

    <!-- Page Header -->
    <div ng-include src="'partials/common-html/header-add-update.html'"></div>

    <div>
      <form class="form-horizontal">
        <div class="col-md-4">

          <div class="form-group">
            <label class="col-md-3 control-label">{{ 'TYPE' | translate }}</label>
            <div class="col-md-9">
              <label>{{item.displayName}}</label>
            </div>
          </div>

          <div class="form-group">
            <label class="col-md-3 control-label">{{ 'VARIABLE_TYPES' | translate }}</label>
            <div class="col-md-9">
              <select class="form-control" multiple data-live-search="true" pf-select ng-options="svt.displayName as svt.displayName for svt in sensorVariableTypes | orderBy:'displayName'" ng-model="item.value">
                <option value="" ng-hide="true"></option>
              </select>
            </div>
          </div>

          <!-- Include save form buttons -->
          <div ng-include src="'partials/common-html/save-form.html'"></div>

        </div>
      </form>
    </div>

  </div> <!-- Main Message -->
</div> <!-- container -->
