Authorization page done

This commit is contained in:
2022-04-07 20:57:54 -03:00
parent 540e57ce2a
commit bf4080e0bd
8 changed files with 149 additions and 3 deletions

18
views/auth.hbs Normal file
View File

@@ -0,0 +1,18 @@
{{> global cssFile="auth"}}
<body>
<div>
{{#if success}}
<h2>Copy the following code on the Telegram chat</h2>
<div class="request-success">
<img src="/img/auth_copy.svg" alt="copy">
<code>{{data.access_token}}</code>
</div>
{{else}}
<div class="request-error">
<h2>There has been an error authorizing the app, please try again</h2>
</div>
{{/if}}
</div>
</body>
</html>