mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
73 lines
3.9 KiB
Handlebars
73 lines
3.9 KiB
Handlebars
<header>
|
|
<nav id="fp-nav">
|
|
<div class="nav-wrapper">
|
|
<a href="#" class="brand-logo">
|
|
<img class="zicon" src="/assets/images/z.svg" alt="zoff" title="Zoff" />
|
|
</a>
|
|
<div id="frontpage-viewer-counter" class="noselect" title="Divided among all channels. Hidden or not"></div>
|
|
<ul class="right hide-on-med-and-down">
|
|
<li><a class="header-buttons waves-effect waves-green" title="Remote control a Zoff player" href="https://remote.zoff.me">Remote</a></li>
|
|
<li><a class="header-buttons modal-trigger waves-effect waves-orange" data-target="about">About</a></li>
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
{{> modal/about}}
|
|
<div id="donation" class="modal">
|
|
<div class="modal-content">
|
|
<h4>Thanks!</h4>
|
|
<p>Thanks for your donation, we love you <3
|
|
<br><br>
|
|
We will use the money for something awesome, just you wait and see!
|
|
<br><br>
|
|
We might also add your name somewhere in the code as a sign of gratitude, see if you can find it! (Might take a day or two for us to see the donation and implement it..)
|
|
</p>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<a href="#" class="modal-action modal-close waves-effect waves-green btn-flat">I'm awesome! (Close)</a>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div id="main-container" class="token-container">
|
|
<main class="center-align container">
|
|
<div class="token-info left-align">
|
|
{{#if activated}}
|
|
<h1 class="center-align">API-token</h1>
|
|
<p>Here is your api token</p>
|
|
<h4 class="select auto-pointer">{{token}}</h3>
|
|
<p>Use it wisely, and don't lose it!</p>
|
|
<p>As of now, the tokens have no limit for how many requests you can do is 100 requests a second. If you need a higher limit, just contact the team and we'll set you up for as much as you need.</p>
|
|
{{else}}
|
|
<h2 class="center-align">API-token</h2>
|
|
<p>Apply for a API-token with your email here! You'll get an email on the specified address, with a link. Follow that link, and the token will be shown to you! Take good care of it, and don't lose it. It won't be shown to you again.</p>
|
|
<p>If you're wondering anything about how the api works, there is a guide on our GitHub. You can also click <a href="https://zoff.me/api/help">HERE</a> to be taken to the detailed README.</p>
|
|
<p>As of now, the tokens have no limit for how many requests you can do is 100 requests a second. If you need a higher limit, just contact the team and we'll set you up for as much as you need.</p>
|
|
{{/if}}
|
|
</div>
|
|
{{#if activated}}
|
|
<iframe id="iframe" src="https://zoff.me/_embed#celebrate&808080" width="600px" height="300px"></iframe>
|
|
{{else}}
|
|
<form class="token-form row" type="post">
|
|
<div class="row center">
|
|
<div class="input-field col s6 offset-s3">
|
|
<label for="email_address" class="noselect">Email</label>
|
|
<input type="email" class="validate" id="email_address" />
|
|
</div>
|
|
</div>
|
|
<div class="col offset-s3">
|
|
{{{captcha}}}
|
|
</div>
|
|
<div class="input-field col s12 m2">
|
|
<input type="submit" class="btn submit" />
|
|
</div>
|
|
<div class="full-form-token valign-wrapper hide">
|
|
<div class="preloader-wrapper medium active center-loader-token">
|
|
{{> spinner}}
|
|
</div>
|
|
</div>
|
|
</form>
|
|
{{/if}}
|
|
<p>Any lost tokens can easily be deleted by our admins, so just send us an email if something goes awry. Just click the CONTACT button in the footer, and we will be with you as fast as we can!</p>
|
|
<br>
|
|
</main>
|
|
</div>
|