This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
devicehub-teal/ereuse_devicehub/resources/did/templates/dpp.html

84 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link href="https://stackpath.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-+ENW/yibaokMnme+vBLnHMphUYxHs34h9lpdbSLuAwGkOKFRl4C34WkjazBtb7eT"
crossorigin="anonymous">
<script src="https://use.fontawesome.com/7553aecc27.js"></script>
<title>Devicehub | Stamp create and Stamp verify</title>
<style>
/*Sticky footer*/
html {
position: relative;
min-height: 100%;
}
body {
margin-bottom: 60px; /* Margin bottom by footer height */
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 6em;
}
</style>
</head>
<body>
<nav class="navbar navbar-default" style="background-color: gainsboro; margin: 0 !important">
<div class="container-fluid">
<a href="https://www.usody.com/" target="_blank">
<h1 align="center">Usody</h1>
</a>
</div>
</nav>
<div class="container-fluid">
<div class="row">
<div class="page-header col-md-6 col-md-offset-3">
This is the info for Digital Passport: {{result.dpp}}
</div>
<div class="col-md-6 col-md-offset-3">
<h5>Hardware</h5>
<ul>
<li>Device</li>
<ul>
<li>Chassis: {{ result.result.data.hardware.device.chassis }}</li>
<li>Manufacturer: {{ result.result.data.hardware.device.manufacturer }}</li>
<li>Model: {{ result.result.data.hardware.device.model }}</li>
<li>SerialNumber: {{ result.result.data.hardware.device.serialNumber }}</li>
<li>Sku: {{ result.result.data.hardware.device.sku }}</li>
<li>Type: {{ result.result.data.hardware.device.type }}</li>
<li>Version: {{ result.result.data.hardware.device.version }}</li>
</ul>
<li>Components</li>
<ul>
{% for component in result.result.data.hardware.components %}
<li>{{ component }}</li>
{% endfor %}
</ul>
</ul>
{% if result.result.data.url_last %}
<h5>Last Digital passport</h5>
<a href="{{ result.result.data.url_last }}">{{ result.result.data.url_last }}</a>
{% endif %}
{% if result.result.data.digitalPassports %}
<h5>Digital Passports</h5>
<ul>
{% for dpp in result.result.data.digitalPassports %}
<li>{{ dpp }}</li>
{% endfor %}
</ul>
{% endif %}
<br />
</div>
</div>
</div>
</body>
</html>