From 9ec22ea052b6b41612d28f6f76e36198323ecb6f Mon Sep 17 00:00:00 2001 From: bon-carpo <76890692+bon-carpo@users.noreply.github.com> Date: Mon, 4 Sep 2023 19:46:46 +0800 Subject: [PATCH] feat(4as): add data in modal risk assessment (#342) * add risk assessment service * display data in risk modal --- .../risk-assessment-modal.component.html | 142 ++++++++++++++++-- .../risk-assessment-modal.component.ts | 12 +- .../services/risk-assessment.service.ts | 23 +++ .../components/summary/summary.component.html | 1 + 4 files changed, 167 insertions(+), 11 deletions(-) create mode 100644 src/app/features/noah-playground/services/risk-assessment.service.ts diff --git a/src/app/features/noah-playground/components/risk-assessment-modal/risk-assessment-modal.component.html b/src/app/features/noah-playground/components/risk-assessment-modal/risk-assessment-modal.component.html index e708aef2..d3456d02 100644 --- a/src/app/features/noah-playground/components/risk-assessment-modal/risk-assessment-modal.component.html +++ b/src/app/features/noah-playground/components/risk-assessment-modal/risk-assessment-modal.component.html @@ -32,7 +32,7 @@ " >
In the event of a Flood 100-year return period, how many people might be @@ -58,15 +58,137 @@ >
-

- This is some placeholder content to show the scrolling behavior for - modals. We use repeated line breaks to demonstrate how content can - exceed minimum inner height, thereby showing inner scrolling. When - content becomes longer than the predefined max-height of modal, content - will be cropped and scrollable within the modal. -

-







































-

This content should appear at the bottom after you scroll.

+ +
+ + + + + + + + + + + + + + + + + + + + +
+
+ Province + +
+
+
+ Total Population + +
+
+
+ Exposed to Med-High + +
+
+
+ Total Affected Population + +
+
+
+ Percentage of Exposed to Med-High + +
+
+ {{ data.province }} + + {{ data.total_population }} + + {{ data.medium_high }} + + {{ data.total_affected_population }} + + {{ data.percentage_of_affected_medium_high }} +
+
+