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/templates/work_packages/modals/save.html

33 lines
1.1 KiB

<div class="ng-modal-window">
<div class="ng-modal-inner">
<div class="modal-header"><i class="icon-close" ng-click="modal.closeMe()" title="{{ ::I18n.t('js.close_popup_title') }}"></i></div>
<h3>{{ ::I18n.t('js.label_save_as') }}</h3>
<form name="modalSaveForm" class="form">
<div class="form--field -required">
<label class="form--label">
{{ ::I18n.t('js.modals.label_name') }}
</label>
<div class="form--field-container">
<div class="form--text-field-container">
<input class="form--text-field" type="text" name="query_name"
ng-model="queryName" focus required></input>
</div>
</div>
</div>
<div class="form--space">
<button class="button -success -with-icon icon-yes"
ng-click="saveQueryAs(queryName)"
ng-disabled="modalSaveForm.$invalid">
{{ ::I18n.t('js.modals.button_save') }}
</button>
<button class="button" ng-click="modal.closeMe()">
{{ ::I18n.t('js.modals.button_cancel') }}
</button>
</div>
</form>
</div>
</div>