Files
cbsnexora/src/app/shared/file-upload/file-upload.component.html
T
AdityaandClaude Opus 4.6 97f30ac3c1 feat: redesign all dialogs, file upload, address/nominee/identifier tabs
- File upload: compact dashed zone (54px height), inline icon+filename+change
- Dialogs: no scroll, rounded close button (red on hover), 700px width
- Identifier dialog: 2-column grid, section divider, outline fields
- Nominee: new NomineeDialogComponent popup (replaces page navigation)
- Address tab: card panels, status badges, 3-column grid
- Nominee tab: accordion with badges, 3-column grid
- Shared form dialog: outline fields, fixed close button

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 00:09:59 +05:30

26 lines
1.0 KiB
HTML

<!--
Copyright since 2025 Mifos Initiative
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
<div class="file-upload-zone" (click)="uploadFile.click()">
@if (fileName) {
<div class="file-upload-zone__selected">
<i class="fa fa-file-o file-upload-zone__file-icon"></i>
<span class="file-upload-zone__filename">{{ fileName }}</span>
<span class="file-upload-zone__change">Change</span>
</div>
} @else {
<div class="file-upload-zone__empty">
<i class="fa fa-cloud-upload file-upload-zone__upload-icon"></i>
<span class="file-upload-zone__text">{{ 'labels.buttons.Browse' | translate }}</span>
<span class="file-upload-zone__hint">{{ 'labels.text.NoFileSelected' | translate }}</span>
</div>
}
</div>
<input type="file" #uploadFile accept="{{ acceptFilter }}" (change)="onFileSelect($event)" [style.display]="'none'" />