2018-01-10 21:54:08 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>ADNS</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
2018-01-12 09:03:41 +00:00
|
|
|
<h1>ADNS Zones and Records</h1>
|
|
|
|
<p>
|
|
|
|
<label>API JWT:</label> <input class="js-jwt" type="text" placeholder="paste the api token here" />
|
|
|
|
<button class="js-jwt" type="button">Authorize</button>
|
|
|
|
</p>
|
|
|
|
|
2018-01-10 21:54:08 +00:00
|
|
|
<p><a href="/api/peers">/api/peers</a></p>
|
|
|
|
<p><a href="/api/zones">/api/zones</a></p>
|
|
|
|
<p><a data-href="/api/zones/:zone/records" class="js-zone">/api/zones/<code
|
|
|
|
class="js-zone">:zone</code>/records</a>
|
|
|
|
<input class="js-zone"
|
|
|
|
type="text" placeholder="example.com" /></p>
|
|
|
|
<p><a href="/api/records">/api/records</a></p>
|
|
|
|
<p><a data-href="/api/records/:name" class="js-name">/api/records/<code class="js-name">:name</code></a>
|
|
|
|
<input class="js-name"
|
|
|
|
type="text" placeholder="example.com"/></p>
|
|
|
|
|
2018-01-12 09:46:17 +00:00
|
|
|
<h3>Peers:</h3>
|
|
|
|
<ul class="js-peer-tpl">
|
|
|
|
<li class="js-peer-name">peer-name</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="js-zone-tpl">
|
|
|
|
<li><button type="button" class="js-zone-name">zone-name</button></li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="js-record-tpl">
|
|
|
|
<li><span class="js-record-type">record-type</span> <span class="js-record-name">record-name</span></li>
|
2018-01-12 09:03:41 +00:00
|
|
|
</ul>
|
|
|
|
|
2018-01-10 21:54:08 +00:00
|
|
|
<script src="/js/app.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|