Fork of github.com/did-method-plc/did-method-plc
1{% extends "base.html" %} 2 3{% block head_title -%} 4{{ did }} 5{%- endblock %} 6 7{% block main -%} 8<h3 style="font-family: monospace;">{{ did }}</h3> 9 10{% if result.StatusCode == 200 %} 11 12<article> 13<h4 style="margin-bottom: 1em;">Names and Aliases</h4> 14<div style="width: 100%; overflow-x: auto;"> 15<table role="grid" style="width: 100%;"> 16 <thead> 17 <tr> 18 <th>URI</th> 19 </tr> 20 </thead> 21 <tbody style="font-family: monospace;"> 22 {% for uri in result.Doc.AlsoKnownAs %} 23 <tr> 24 <td>{{ uri }}</td> 25 </tr> 26 {% endfor %} 27 </tbody> 28</table> 29</div> 30</article> 31 32<article> 33<h4 style="margin-bottom: 1em;">Services</h4> 34<div style="width: 100%; overflow-x: auto;"> 35<table role="grid" style="width: 100%;"> 36 <thead> 37 <tr> 38 <th>ID</th> 39 <th>Type</th> 40 <th>URL</th> 41 </tr> 42 </thead> 43 <tbody style="font-family: monospace;"> 44 {% for vm in result.Doc.Service %} 45 <tr> 46 <td>{{ vm.Id }}</td> 47 <td>{{ vm.Type }}</td> 48 <td>{{ vm.ServiceEndpoint }}</td> 49 </tr> 50 {% endfor %} 51 </tbody> 52</table> 53</div> 54</article> 55 56<article> 57<h4 style="margin-bottom: 1em;">Verification Methods</h4> 58<div style="width: 100%; overflow-x: auto;"> 59<table role="grid" style="width: 100%;"> 60 <thead> 61 <tr> 62 <th>ID</th> 63 <th>Type</th> 64 <th>Public Key (multibase-encoded)</th> 65 </tr> 66 </thead> 67 <tbody style="font-family: monospace;"> 68 {% for vm in result.Doc.VerificationMethod %} 69 <tr> 70 <td>{{ vm.Id }}</td> 71 <td>{{ vm.Type }}</td> 72 <td>{{ vm.PublicKeyMultibase }}</td> 73 </tr> 74 {% endfor %} 75 </tbody> 76</table> 77</div> 78</article> 79 80<article> 81<h4>DID Document JSON</h4> 82<pre><code> 83{{- result.DocJson -}} 84</code></pre> 85</article> 86{% endif %} 87 88{%- endblock %}