Add ability to report if bonob is registered

This commit is contained in:
simojenki
2021-01-30 23:02:58 +11:00
parent 494e36092d
commit ad09a88de8
5 changed files with 170 additions and 46 deletions

View File

@@ -2,6 +2,11 @@
<div id="content">
<h1>bonob</h1>
<% if(it.registration == "registered") { %>
<h2 class="registered">Registered</h2>
<% } else if(it.registration == "not-registered") { %>
<h2 class="not-registered">Not registered</h2>
<% } %>
<h2>Devices</h2>
<ul>
<% it.devices.forEach(function(d){ %>