Commit 00dde685 authored by Michael Schloh von Bennewitz's avatar Michael Schloh von Bennewitz
Browse files

Correct missing origin trial, and implement onboarding profiles.

parent 05c96040
......@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="origin-trial" content="Aj5K6xjf7nYPeeM21NEmPXihUx7jkh1u9z5DKPSVdjC2p6vGhAM6DlzFfdCh8E5RRCOrDFBLGYQsOyZ6Lgdp3gcAAABkeyJvcmlnaW4iOiJodHRwczovL21vbmVyb2RldmljZXMuY29tOjQ0MyIsImZlYXR1cmUiOiJXZWJORkMiLCJleHBpcnkiOjE1OTU5ODA3OTksImlzU3ViZG9tYWluIjp0cnVlfQ==">
<title>NFC</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
......@@ -14,7 +15,7 @@
<div class="container-fluid">
<h1>Badge-for-the-glory!</h1>
<pre id="log"></pre>
<small>Work in Progress. Version 0.4</small>
<small>Work in Progress. Version 0.5</small>
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="welcome-tab" data-toggle="tab" href="#welcome" role="tab" aria-controls="welcome" aria-selected="true">Welcome</a>
......@@ -34,8 +35,8 @@
<h2>Steps (experimental)</h2>
<ul>
<li>Enable NFC from your smartphone</li>
<li>Refresh this page</li>
<li>Click on "OnBoard" and then "Try to read the data"</li>
<li>Refresh this page, and click &apos;Start&apos;</li>
<li>Click on &apos;Onboard For&apos; and then &apos;Read data&apos;</li>
</ul>
<p>This is a working-in-progress web application. We suggest you to NFCTools to onboard your device.</p>
......@@ -43,19 +44,29 @@
<div class="tab-pane fade" id="about" role="tabpanel" aria-labelledby="about-tab">
<h2>About this page</h2>
<p>This page has been developed by <a href="https://serhack.me">SerHack</a> and its source code is hosted <a href="https://scm.monerodevices.com/serhack/badgefortheglory">on monerodevices.com</a>
<p>This page has been developed by <a href="https://serhack.me">SerHack</a> and its source code is hosted <a href="https://scm.monerodevices.com/serhack/badgefortheglory/">on Monero Devices</a>
</div>
<div class="tab-pane fade" id="start" role="tabpanel" aria-labelledby="start-tab">
<h2>OnBoard</h2>
<a href="#" class="btn btn-info">Press me!</a>
<h2>Onboard For</h2>
<input type="checkbox" id="village1" name="monero" value="Monero">
<label for="village1">Monero Village</label><br />
<input type="checkbox" id="village2" name="biohack" value="Biohack">
<label for="village2">Biohacking Village</label><br />
<input type="checkbox" id="village3" name="rogues" value="Rogues">
<label for="village3">Rogues Village</label><br />
<input type="checkbox" id="village4" name="redteam" value="Redteam">
<label for="village4">Redteam Village</label><br />
<input type="checkbox" id="village5" name="iotvil" value="IoT">
<label for="village4">IoT Village</label><br />
<a href="#" class="btn btn-info">Associate Me</a>
<hr>
<h2>Read</h2>
<a class="btn btn-info" onclick="readTag()">Try to read data</a>
<a class="btn btn-info" onclick="readTag()">Read Data</a>
<hr>
<h2>Write </h2>
<form>
</form>
<a class="btn btn-info" onclick="writeTag()">Try to write data</a>
<a class="btn btn-info" onclick="writeTag()">Write Data</a>
</div>
<div class="tab-pane fade" id="Network" role="tabpanel" aria-labelledby="Network-tab">
<h2>CONNECT</h2>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment