{{!
  Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.

  WSO2 Inc. licenses this file to you 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.
}}
{{#zone "topCss"}}
    {{css "css/daterangepicker.css"}}
{{/zone}}
<span id="device-type-details" data-devicetypes="{{deviceTypes}}"></span>
<div id="rangeSliderWrapper" class="pull-right col-lg-9">
    <div id="dateRangePickerContainer">
        <div class="btn-group" role="group">
            <button id="hour-btn" type="button"
                    class="btn btn-default date-range">Hour
            </button>
            <button id="h12-btn" type="button"
                    class="btn btn-default date-range">12 Hours
            </button>
            <button id="h24-btn" type="button"
                    class="btn btn-default date-range">24 Hours
            </button>
            <button id="h48-btn" type="button"
                    class="btn btn-default date-range">48 Hours
            </button>
            <button id="date-range" type="button"
                    class="btn btn-default date-range last-child"
                    data-toggle="popup"
                    title="Click to set custom date range"></button>
        </div>
    </div>
</div>
{{#zone "bottomJs"}}
    {{js "js/moment.js"}}
    {{js "js/jquery.daterangepicker.js"}}
    {{js "js/date-picker.js"}}
{{/zone}}