mirror of
https://github.com/FranP-code/Open-Telegram-to-Notion-Backend.git
synced 2025-10-12 23:52:54 +00:00
Authorization page done
This commit is contained in:
18
views/auth.hbs
Normal file
18
views/auth.hbs
Normal 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>
|
||||
13
views/partials/global.hbs
Normal file
13
views/partials/global.hbs
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;700;900&display=swap" rel="stylesheet">
|
||||
<title>Telegram to Notion</title>
|
||||
<link rel="stylesheet" href="/css/global.css">
|
||||
<link rel="stylesheet" href="/css/{{cssFile}}.css">
|
||||
</head>
|
||||
Reference in New Issue
Block a user