Skip to content

Commit

Permalink
Update thix_dashboard.html
Browse files Browse the repository at this point in the history
  • Loading branch information
shawaj committed Jun 26, 2023
1 parent 887ed1a commit 86b0f7f
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions hw_diag/templates/thix_dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,28 @@ <h3 class="text-center mb-4">ThingsIX Configuration</h3>
<div class="card mb-0 h-100 table-responsive">
<table class="table dt-responsive nowrap m-md-2 w-auto">
<tr>
<td>Gateway Address</td>
<td><i class="uil uil-sign-alt"></i> Gateway Address</td>
<td class="text-right">
<a target="_blank" href="https://app.thingsix.com/gateways/{{ gateway.gatewayId }}"><span class="badge badge-light p-2">{{ gateway.gatewayId }}</span></a>
</td>
</tr>
<tr>
<td class="border-0">Gateway Owner</td>
<td class="border-0"><i class="uil uil-wallet"></i> Gateway Owner</td>
<td class="text-right border-0">
<a target="_blank" href="https://mumbai.polygonscan.com/address/{{ gateway.owner }}"><span class="badge badge-light p-2">{{ gateway.owner }}</span></a>
</td>
</tr>
<tr>
{% if not gateway.gatewayId %}
<td><i class="fak fa-thingsix"></i> Explorer Link</td>
<td class="text-right">Not Available</td>
{% else %}
<td><i class="fak fa-thingsix"></i> Explorer Link</td>
<td class="text-right">
<a target="_blank" href="https://app.thingsix.com/gateways/{{ gateway.gatewayId }}">View on Explorer</a>
</td>
{% endif %}
</tr>
</table>
</div>
</div>
Expand All @@ -41,7 +52,7 @@ <h3 class="text-center mb-4">ThingsIX Configuration</h3>
{% endif %}
</tr>
<tr>
<td class="border-0"><span class="uil uil-globe icon"></span> Region Plan</td>
<td class="border-0"><span class="fa-sharp fa-regular fa-earth-europe"></span> Region Plan</td>
{% if gateway.details %}
<td class="border-0 text-right">
<span class="badge badge-light p-2">{{ gateway.details.band }}</span>
Expand Down

0 comments on commit 86b0f7f

Please sign in to comment.