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/modals/save-modal/save-modal.service.html

44 lines
1.3 KiB

<div class="ng-modal-window">
<div class="ng-modal-inner">
<div class="modal-header">
<a>
<i
class="icon-close"
ng-click="$ctrl.closeMe()"
title="{{ ::I18n.t('js.close_popup_title') }}">
</i>
</a>
</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="save_query_name"
id="save-query-name"
ng-model="queryName" focus required />
</div>
</div>
</div>
<div class="form--space">
<button class="button -highlight -with-icon icon-checkmark"
ng-click="saveQueryAs(queryName)"
ng-disabled="modalSaveForm.$invalid">
{{ ::I18n.t('js.modals.button_save') }}
</button>
<button class="button" ng-click="$ctrl.closeMe()">
{{ ::I18n.t('js.modals.button_cancel') }}
</button>
</div>
</form>
</div>
</div>