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.
		
		
		
		
			
				
					45 lines
				
				2.3 KiB
			
		
		
			
		
	
	
					45 lines
				
				2.3 KiB
			| 
								 
											2 years ago
										 
									 | 
							
								
							 | 
						||
| 
								 | 
							
								<div class="modal" ng-controller="CreateNewDecisionServiceCtrl">
							 | 
						||
| 
								 | 
							
									<div class="modal-dialog">
							 | 
						||
| 
								 | 
							
										<div class="modal-content">
							 | 
						||
| 
								 | 
							
											<div class="modal-header"><h2>{{'DECISION-SERVICE.POPUP.CREATE-TITLE' | translate}}</h2></div>
							 | 
						||
| 
								 | 
							
											<div class="modal-body">
							 | 
						||
| 
								 | 
							
												<p>{{'DECISION-SERVICE.POPUP.CREATE-DESCRIPTION' | translate}}</p>
							 | 
						||
| 
								 | 
							
												<div ng-if="model.errorMessage && model.errorMessage.length > 0" class="alert error" style="font-size: 14px; margin-top:20px">
							 | 
						||
| 
								 | 
							
								                  <div class="popup-error" style="font-size: 14px">
							 | 
						||
| 
								 | 
							
								                    <span class="glyphicon glyphicon-remove-circle"></span>
							 | 
						||
| 
								 | 
							
								                    <span>{{model.errorMessage}}</span>
							 | 
						||
| 
								 | 
							
								                  </div>
							 | 
						||
| 
								 | 
							
								                </div>
							 | 
						||
| 
								 | 
							
												<div class="form-group">
							 | 
						||
| 
								 | 
							
												    <label for="newDRDName">{{'DECISION-SERVICE.NAME' | translate}}</label>
							 | 
						||
| 
								 | 
							
												    <input ng-disabled="model.loading" type="text" class="form-control" maxlength="400"
							 | 
						||
| 
								 | 
							
											               id="newDRDName" ng-model="model.decisionService.name" custom-keys enter-pressed="ok()" auto-focus editor-input-check>
							 | 
						||
| 
								 | 
							
												</div>
							 | 
						||
| 
								 | 
							
												<div class="form-group">
							 | 
						||
| 
								 | 
							
												    <label for="newDRDKey">{{'DECISION-SERVICE.KEY' | translate}}</label>
							 | 
						||
| 
								 | 
							
												    <input ng-disabled="model.loading" type="text" class="form-control" maxlength="255"
							 | 
						||
| 
								 | 
							
											               id="newDRDKey" ng-model="model.decisionService.key" editor-input-check>
							 | 
						||
| 
								 | 
							
												</div>
							 | 
						||
| 
								 | 
							
												<div class="form-group">
							 | 
						||
| 
								 | 
							
												    <label for="newDRDDescription">{{'DECISION-SERVICE.DESCRIPTION' | translate}}</label>
							 | 
						||
| 
								 | 
							
													<textarea ng-disabled="model.loading" class="form-control" id="newDRDDescription" rows="5" ng-model="model.decisionService.description"></textarea>
							 | 
						||
| 
								 | 
							
												</div>
							 | 
						||
| 
								 | 
							
											</div>
							 | 
						||
| 
								 | 
							
											
							 | 
						||
| 
								 | 
							
											<div class="modal-footer">
							 | 
						||
| 
								 | 
							
												<div class="pull-right">
							 | 
						||
| 
								 | 
							
													<button type="button" class="btn btn-sm btn-default" ng-click="cancel()" ng-disabled="model.loading">
							 | 
						||
| 
								 | 
							
														{{'GENERAL.ACTION.CANCEL' | translate}}
							 | 
						||
| 
								 | 
							
													</button>
							 | 
						||
| 
								 | 
							
													<button type="button" class="btn btn-sm btn-default" ng-click="ok()" ng-disabled="model.loading || !model.decisionService.name || model.decisionService.name.length == 0 || !model.decisionService.key || model.decisionService.key.length == 0">
							 | 
						||
| 
								 | 
							
														{{'DECISION-TABLE.ACTION.CREATE-CONFIRM' | translate}}
							 | 
						||
| 
								 | 
							
													</button>
							 | 
						||
| 
								 | 
							
												</div>
							 | 
						||
| 
								 | 
							
												<div class="loading pull-right" ng-show="model.loading">
							 | 
						||
| 
								 | 
							
													<div class="l1"></div><div class="l2"></div><div class="l2"></div>
							 | 
						||
| 
								 | 
							
												</div>
							 | 
						||
| 
								 | 
							
											</div>
							 | 
						||
| 
								 | 
							
										</div>
							 | 
						||
| 
								 | 
							
									</div>
							 | 
						||
| 
								 | 
							
								</div>
							 |