| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <div id="nifi-registry-user-login-dialog"> |
| <div class="pad-bottom-md" fxLayout="row" fxLayoutAlign="space-between center"> |
| <span class="md-card-title">Log In</span> |
| </div> |
| <div fxLayout="column" fxLayoutAlign="space-between start" class="pad-bottom-md"> |
| <div class="pad-bottom-md fill-available-width"> |
| <mat-input-container floatPlaceholder="always" fxFlex> |
| <input #usernameInput matInput floatPlaceholder="always" placeholder="Username"> |
| </mat-input-container> |
| </div> |
| <div class="pad-bottom-md fill-available-width"> |
| <mat-input-container floatPlaceholder="always" fxFlex> |
| <input #passwordInput type="password" matInput floatPlaceholder="always" placeholder="Password"> |
| </mat-input-container> |
| </div> |
| </div> |
| <div fxLayout="row"> |
| <span fxFlex></span> |
| <button (click)="usernameInput.value='';passwordInput.value=''" color="fds-regular" mat-raised-button |
| i18n="Clear log in form|A button for clearing the login form.@@nf-clear-user-login-button"> |
| Clear |
| </button> |
| <button [disabled]="usernameInput.value.length === 0 || passwordInput.value.length === 0" class="push-left-sm" (click)="login(usernameInput, passwordInput)" color="fds-primary" mat-raised-button |
| i18n="Log in|A button for attempting to authenticate with the registry.@@nf-user-login-button"> |
| Log In |
| </button> |
| </div> |
| </div> |