superdesk/superdesk-client-core

View on GitHub
scripts/core/ui/views/sd-timepicker.html

Summary

Maintainability
Test Coverage
<div class="timepicker-input" ng-init="opened = false">
    <input type="text"
           class="{{style}}"
           ng-model="tt"
           sd-timepicker-inner
           data-opened="opened"
           ng-disabled="disabled"
           data-view-time-format="viewTimeFormat"
           data-model-time-format="modelTimeFormat"/>
    <button class="icn-btn" ng-click="openTimePicker($event)" ng-disabled = "disabled"><i class="icon-time"></i></button>
</div>