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/edit-pane/edit-pane.directive.html

22 lines
1.4 KiB

<div class="inplace-edit--write edit-strategy-{{ strategy }}" ng-show="fieldController.isEditing">
<form class="inplace-edit--form" ng-if="fieldController.isEditing" name="editPaneController.editForm" ng-submit="editPaneController.submit()" novalidate>
<div class="inplace-edit--write-value" ng-include="templateUrl" tabindex="-1" ng-attr-role="{{ strategy == 'text' || 'wiki_textarea' ? 'textbox' : 'button' }}">
</div>
<div class="inplace-edit--dashboard">
<div class="inplace-edit--controls" ng-hide="fieldController.state.isBusy || !editPaneController.isActive()">
<accessible-by-keyboard execute="editPaneController.submit()"
link-title="{{ editPaneController.saveTitle }}"
class="inplace-edit--control inplace-edit--control--save">
<icon-wrapper icon-name="checkmark" icon-title="{{ editPaneController.saveTitle }}">
</icon-wrapper>
</accessible-by-keyboard>
<accessible-by-keyboard execute="editPaneController.discardEditing()"
link-title="{{ editPaneController.cancelTitle }}"
class="inplace-edit--control inplace-edit--control--cancel">
<icon-wrapper icon-name="close" icon-title="{{ editPaneController.cancelTitle }}">
</icon-wrapper>
</accessible-by-keyboard>
</div>
</div>
</form>
</div>