-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1017 from bcgov/feature/ALCS-1150
Search Pt3
- Loading branch information
Showing
25 changed files
with
335 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,10 @@ | |
border-radius: rem(16); | ||
font-weight: bold; | ||
} | ||
|
||
.no-data { | ||
margin-top: rem(16); | ||
} | ||
} | ||
|
||
.search-form { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
portal-frontend/src/app/features/public/search/search-list/search-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<div class="result-list" *ngIf="totalCount > 0"> | ||
<div *ngFor="let result of _results" (click)="onSelectRecord(result)" class="result"> | ||
<div class="subheading2">{{ result.fileNumber }} - {{ result.ownerName }}</div> | ||
<div [title]="result.type">{{ result.type }}</div> | ||
<div [title]="result.localGovernmentName">{{ result.localGovernmentName }}</div> | ||
<div>Last Updated: {{ result.lastUpdate | momentFormat }}</div> | ||
<div | ||
*ngIf="result.status" | ||
class="label" | ||
[style]="{ 'background-color': result.status.portalBackgroundColor, color: result.status.portalColor }" | ||
> | ||
{{ result.status.label }} | ||
</div> | ||
</div> | ||
</div> | ||
<div *ngIf="totalCount !== 0"> | ||
<div class="center">Showing results 1-{{ visibleCount }} of {{ totalCount }}</div> | ||
<div class="center"> | ||
<a *ngIf="visibleCount < totalCount" (click)="onLoadMore()"> View more results </a> | ||
</div> | ||
</div> | ||
|
||
<div class="no-data" *ngIf="totalCount === 0"> | ||
<div><b>No applications found.</b></div> | ||
<div>Please adjust search criteria and try again.</div> | ||
</div> |
Oops, something went wrong.