2018-07-07 09:45:33 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Telebit Account</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2018-08-05 08:11:54 +00:00
|
|
|
<div class="v-app">
|
2018-08-10 08:48:06 +00:00
|
|
|
|
|
|
|
<div v-if="!hasAccount">
|
|
|
|
<h1>Login</h1>
|
|
|
|
<form class="js-auth-form">
|
|
|
|
<input class="js-auth-subject" placeholder="email" type="email" required/>
|
|
|
|
<button class="js-auth-submit" type="submit">Login</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div v-if="hasAccount">
|
|
|
|
<h1>Account</h1>
|
2018-08-19 07:33:03 +00:00
|
|
|
<form v-on:submit.prevent="challengeDns()">
|
2018-08-10 08:48:06 +00:00
|
|
|
Add a custom domain:
|
|
|
|
<input v-model="newDomain" placeholder="example.com" type="text" required/>
|
|
|
|
<button type="submit">Next</button>
|
|
|
|
</form>
|
2018-08-19 07:33:03 +00:00
|
|
|
<form v-on:submit.prevent="challengeEmail()">
|
2018-08-10 08:48:06 +00:00
|
|
|
Authorize another email:
|
|
|
|
<input v-model="newEmail" placeholder="jon@example.com" type="email" required/>
|
|
|
|
<button type="submit">Next</button>
|
|
|
|
</form>
|
2018-08-19 07:33:03 +00:00
|
|
|
<h3>Claims</h3>
|
|
|
|
<ol>
|
|
|
|
<li v-for="claim in claims">
|
|
|
|
<span>{{ claim.value }}</span>
|
|
|
|
<span v-if="'dns' === claim.type">TXT _claim-challenge.{{ claim.value }}: {{ claim.challenge }}</span>
|
|
|
|
<button v-on:click.prevent="checkDns(claim)">Check</button>
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
<h3>Domains</h3>
|
2018-08-10 08:48:06 +00:00
|
|
|
<ol>
|
|
|
|
<li v-for="domain in domains">
|
|
|
|
{{ domain }}
|
|
|
|
</li>
|
|
|
|
</ol>
|
|
|
|
<pre><code v-text="token"></code></pre>
|
|
|
|
</div>
|
|
|
|
|
2018-08-05 08:11:54 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- development version, includes helpful console warnings -->
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
|
|
|
|
|
2018-07-07 09:45:33 +00:00
|
|
|
<script src="assets/oauth3.org/oauth3.core.js"></script>
|
2018-08-10 07:44:42 +00:00
|
|
|
<script src="js/account.js"></script>
|
2018-07-07 09:45:33 +00:00
|
|
|
</body>
|
|
|
|
</html>
|