From 5fc55d747ef7ffbb6fc1b2722f107c1953f7fbdd Mon Sep 17 00:00:00 2001 From: dasaradhkodali Date: Mon, 30 Dec 2024 14:09:18 +1100 Subject: [PATCH] battery dpp - Render completed. --- .../render_development/dpp_battery.html | 2614 +++++++++++++++++ credentials/working_space/test_page.html | 432 ++- 2 files changed, 2913 insertions(+), 133 deletions(-) create mode 100644 credentials/render_development/dpp_battery.html diff --git a/credentials/render_development/dpp_battery.html b/credentials/render_development/dpp_battery.html new file mode 100644 index 0000000..9edc492 --- /dev/null +++ b/credentials/render_development/dpp_battery.html @@ -0,0 +1,2614 @@ + + + + + + + + Digital Product Passport + + + + +
+
+
+
+

PRODUCT PASSPORT

+
+

{{credentialSubject.name}}

+
+
+
+ +
+
+
+
{{credentialSubject.description}}
+
{{#each credentialSubject.furtherInformation}} {{linkName}} {{/each}}
+
{{#if credentialSubject.characteristic}}
+
Characteristics
+
{{#each credentialSubject.characteristic}}
{{@key}} +

{{this}}

+
{{/each}}
+
{{/if}}
+
Production
+
+
Product category +

{{#each credentialSubject.productCategory}}{{name}}{{#unless + @last}},{{/unless}} {{/each}}

+
+ + +
Date produced +

{{credentialSubject.productionDate}}

+
+
Country +

{{credentialSubject.countryOfProduction}}

+
+
Dimensions +

Weight: + {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} + Length: + {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} + Width: + {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} + Height: + {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} + Volume: + {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}} +

+
+
+
+
+
+

Circularity Scorecard

+

The circularity Scorecard provides a simple high level summary of circularity performance of the + product.

+
+
+
+

{{credentialSubject.circularityScorecard.recyclableContent}}%

+

Recyclable content

+
+
+

{{credentialSubject.circularityScorecard.recycledContent}}%

+

Recycled content

+
+
+

{{credentialSubject.circularityScorecard.utilityFactor}}

+

Utility factor

+
+
+

{{credentialSubject.circularityScorecard.materialCircularityIndicator}}

+

Material circularity*

+
+
+
+

*The Material Circularity Indicator provides an overall circularity score which is a function of + all three of the earlier measures.

+
+ +
+
+

Emissions Scorecard

+

The Emissions Scorecard gives a clear snapshot of the product's + greenhouse gas (GHG) emissions performance, providing a single indicator to assess its overall + environmental impact.

+
+

+ {{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}} +

+

Co2Eq

+
+
+
Scope includes +

{{credentialSubject.emissionsScorecard.operationalScope}}

+
+
Primary sourced ratio* +

{{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary + sources

+
+ +
Issue date +

{{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}

+
+
+
* +

The Primary Sourced Ratio shows the percentage of scope 3 emissions data that is directly + collected from actual sources, rather than being based on estimates.

+
+
+
+
Declarations
+
{{#each credentialSubject.conformityClaim}}
+
+
+
Conformance:
+
+
{{#if conformance}}Yes{{else}}No{{/if}}
+
+
+
Assessed: {{assessmentDate}}
+
+
+
{{conformityEvidence.linkName}}
+

{{referenceRegulation.name}} administered in + {{referenceRegulation.jurisdictionCountry}} by {{referenceRegulation.administeredBy.name}}

+

{{referenceStandard.name}} issued by {{referenceStandard.issuingParty.name}}

+
+
{{#each declaredValue}}
+
+

{{metricName}} is {{metricValue.value}}{{metricValue.unit}}

+
+
+

Score: {{score}} | Accuracy {{accuracy}}

+
+
{{/each}}
+
+ + +
+
Evidence
+
+
+ + +
+
{{/each}}
+
+
+
+

Product composition

+

A complete list of materials that make up the composition of this + product.

+
+
{{#each credentialSubject.materialsProvenance}}
+
+

{{massFraction}}%

+
+

{{massAmount.value}}{{massAmount.unit}} {{name}}

+
+

Recycled {{recycledAmount}}%

+

Hazard {{#if hazardous}}Yes{{else}}No{{/if}}

+
{{materialSafetyInformation.linkName}} +
+
+
+
{{originCountry}}
+
+
{{/each}}
+
+
+
+

History

+
{{!-- start: Supply chain due diligence report --}} +
+ + +
+
Supply chain due diligence report
+
+
+ + +
{{!-- end: Supply chain due diligence report --}}
+
+
+

{{credentialSubject.traceabilityInformation.valueChainProcess}}

+
+

Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}

+
+
+
{{#each + credentialSubject.traceabilityInformation.traceabilityEvent}}
+ {{linkName}} View
{{/each}}
+
+
+
+
+
+

Passport issued by

+
+
+
Organisation +

{{issuer.name}}

+
+
Registered ID {{issuer.id}}
+
Valid from +

{{validFrom}}

+
+
Valid to +

{{validUntil}}

+
+
+
+
+

This Digital Product Passport (DPP) is a digital record of the product's sustainability and + environmental performance, ensuring transparency and accountability in line with UNTP standards. For + more information visit uncefact.github.io/spec-untp/.

+
+
+
+
+
PRODUCT PASSPORT
+
{{credentialSubject.name}}
+
+ +
+ + +
+
Batch: {{credentialSubject.batchNumber}}
+
+
+
+ + +
+
Serial: {{credentialSubject.serialNumber}}
+
+
+
+
+
+
+
+
+

{{credentialSubject.description}}

{{#each + credentialSubject.furtherInformation}} +
{{linkName}}
+
{{/each}} +
+
+
{{#if credentialSubject.characteristic}}
+
+
Characteristics
+
+
{{#each credentialSubject.characteristic}}
+
{{@key}}
+
+
{{this}}
+
+
{{/each}}
+
{{/if}}
+
+
Production
+
+
+
+
Product category
+
+
{{#each credentialSubject.productCategory}}{{name}}{{#unless + @last}},{{/unless}} {{/each}}
+
+
+ + +
+
Date produced
+
+
{{credentialSubject.productionDate}}
+
+
+
+
Country
+
+
{{credentialSubject.countryOfProduction}}
+
+
+
+
Dimensions
+
Weight: + {{credentialSubject.dimensions.weight.value}}{{credentialSubject.dimensions.weight.unit}} + Length: + {{credentialSubject.dimensions.length.value}}{{credentialSubject.dimensions.length.unit}} + Width: + {{credentialSubject.dimensions.width.value}}{{credentialSubject.dimensions.width.unit}} + Height: + {{credentialSubject.dimensions.height.value}}{{credentialSubject.dimensions.height.unit}} + Volume: + {{credentialSubject.dimensions.volume.value}}{{credentialSubject.dimensions.volume.unit}} +
+
+
+
+
+
+
Circularity Scorecard
+
+

The circularity Scorecard provides a simple high level summary of + circularity performance of the product.

+
+
+
+
+
+ {{credentialSubject.circularityScorecard.recyclableContent}}%
+
Recyclable content
+
+
+
+ {{credentialSubject.circularityScorecard.recycledContent}}%
+
Recycled content
+
+
+
{{credentialSubject.circularityScorecard.utilityFactor}} +
+
Utility factor
+
+
+
+ {{credentialSubject.circularityScorecard.materialCircularityIndicator}}
+
Material circularity*
+
+
+

*The Material Circularity Indicator provides an overall circularity + score which is a function of all three of the earlier measures.

+
+ +
+
+
+
+
Emissions Scorecard
+
+

The Emissions Scorecard gives a clear snapshot of the product's greenhouse + gas (GHG) emissions performance, providing a single indicator to assess its overall environmental + impact.

+
+
+
+ {{credentialSubject.emissionsScorecard.carbonFootprint}}{{credentialSubject.emissionsScorecard.declaredUnit}} +
+

Co2Eq

+
+
+
+
+
+
+
Scope includes
+
+
+ {{credentialSubject.emissionsScorecard.operationalScope}}
+
+
+
+
Primary sourced ratio*
+
+
+ {{credentialSubject.emissionsScorecard.primarySourcedRatio}}% primary + sources
+
+
+
+

The Primary Sourced Ratio shows the percentage of scope 3 + emissions data that is directly collected from actual sources, rather than being + based on estimates.

+
+
+ +
+
Issue date
+
+
+ {{credentialSubject.emissionsScorecard.reportingStandard.issueDate}}
+
+
+
+
+
+
*
+
+
+
+
+
+
Declarations
+
{{#each credentialSubject.conformityClaim}}
+
+
+
Conformance:
+
+
{{#if conformance}}Yes{{else}}No{{/if}}
+
+
+
Assessed: {{assessmentDate}}
+
+
+
{{conformityEvidence.linkName}}
+

{{referenceRegulation.name}} administered + in {{referenceRegulation.jurisdictionCountry}} by {{referenceRegulation.administeredBy.name}}

+

{{referenceStandard.name}} issued by + {{referenceStandard.issuingParty.name}}

+
+
{{#each declaredValue}}
+

{{metricName}} is {{metricValue.value}}{{metricValue.unit}}

+

Score: {{score}} | Accuracy {{accuracy}}

+
{{/each}}
+
+ + +
+
Evidence
+
+
+
+ +
+
+
{{/each}}
+
+
+
+
Composition
+
+

The Product Composition List details the materials and components used in + the product, providing transparency on the origin and nature of each element.

+
{{#each credentialSubject.materialsProvenance}}
+
+
{{massFraction}}%
+
+
{{massAmount.value}}{{massAmount.unit}} {{name}}
+
+
+
Recycled {{#if + recycledAmount}}{{recycledAmount}}{{else}}0{{/if}}%
+
+
+
Hazard {{#if hazardous}}Yes{{else}}No{{/if}} +
+
+
+ +
+
+
+
{{originCountry}}
+
+
{{/each}}
+
+
+
+
History
+
{{!-- start: Supply chain due diligence report --}} +
+ + +
Supply chain due diligence report
+
+ + +
{{!-- end: Supply chain due diligence report --}}
+
+
+

{{credentialSubject.traceabilityInformation.valueChainProcess}}

+
+

Verified ratio {{credentialSubject.traceabilityInformation.verifiedRatio}}

+
+
+
{{#each + credentialSubject.traceabilityInformation.traceabilityEvent}}
+ {{linkName}} View
{{/each}}
+
+
+
+
+
Passport issued by
+
+
+
Organisation
+
+
{{issuer.name}}
+
+
+
+
Registered ID
+ +
+
+
Valid from
+
+
{{validFrom}}
+
+
+
+
Valid to
+
+
{{validUntil}}
+
+
+
+
+
+

This Digital Product Passport (DPP) + is a digital record of the product’s sustainability and environmental performance, ensuring + transparency and accountability in line with UNTP standards. For more information visit uncefact.github.io/spec-untp/.

+
+
+
+ + + \ No newline at end of file diff --git a/credentials/working_space/test_page.html b/credentials/working_space/test_page.html index eea943e..db18e49 100644 --- a/credentials/working_space/test_page.html +++ b/credentials/working_space/test_page.html @@ -10,7 +10,7 @@ Digital Product Passport