OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/frontend/app/components/inplace-edit/directives/field-edit/edit-date-range/edit-date-range.directive.html

26 lines
1003 B

<div class="inplace-edit--date-range">
<label
class="hidden-for-sighted"
for="inplace-edit--write-value--{{::field.name}}-start">
{{::startDateLabel}}
</label>
<input type="text"
class="inplace-edit--date-range-start-date"
id="inplace-edit--write-value--{{::field.name}}-start"
ng-change="onStartEdit()"
ng-model="startDate" ng-class="{'inplace-edit--highlight': startDateIsChanged}" />
<div class="inplace-edit--date-range-start-date-picker"></div>
<span class="delimeter">-</span>
<label
class="hidden-for-sighted"
for="inplace-edit--write-value--{{::field.name}}-end">
{{::endDateLabel}}
</label>
<input type="text"
class="inplace-edit--date-range-end-date"
id="inplace-edit--write-value--{{::field.name}}-end"
ng-change="onEndEdit()"
ng-model="endDate" ng-class="{'inplace-edit--highlight': endDateIsChanged}" />
<div class="inplace-edit--date-range-end-date-picker"></div>
</div>