Update
This commit is contained in:
parent
5ba8bcabdb
commit
49243858d7
44 changed files with 39055 additions and 190 deletions
4
frontend/templates/404.html
Normal file
4
frontend/templates/404.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{ template "before.html" . }}
|
||||
<h1>404</h1>
|
||||
<p>Head back <a href="./">home</a>?</p>
|
||||
{{ template "after.html" . }}
|
8
frontend/templates/after.html
Normal file
8
frontend/templates/after.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="space"></div>
|
||||
<p align="center" style="font-size: 10px;">Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik" target="_blank" rel="noopener noreferrer">Freepik</a> from <a href="https://www.flaticon.com/" title="Flaticon" target="_blank" rel="noopener noreferrer">www.flaticon.com</a><br>
|
||||
Site released under GNU GPL v3.0. Read more <a href="{{.repoURL}}/src/branch/main/LICENSE" target="_blank" rel="noopener noreferrer">here.</a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
40
frontend/templates/before.html
Normal file
40
frontend/templates/before.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
|
||||
<script src="./res/jquery.min.js"></script>
|
||||
<title>DeletedBot</title>
|
||||
<link rel="stylesheet" href="./res/uikit/css/uikit.min.css" />
|
||||
<script src="./res/uikit/js/uikit.min.js"></script>
|
||||
<script src="./res/uikit/js/uikit-icons.min.js"></script>
|
||||
<link rel="stylesheet" href="./res/cobalt.css" />
|
||||
<link rel="stylesheet" href="./res/custom.css" />
|
||||
<link rel="shortcut icon" type="image/svg" href="./res/robot.svg"/>
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="author" content="DeletedBot" />
|
||||
<meta name="description" content="DeletedBot is a free online tool that helps you set a basic status page explaining your users why your Telegram bot is suspended or in manteniance." />
|
||||
<meta name="keywords" content="telegram, bot, robot, suspended, deleted, free, online, offline" />
|
||||
<meta name="robots" content="index, follow">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
</head>
|
||||
|
||||
<body id="write">
|
||||
|
||||
<div id="normalc">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="nav-img">
|
||||
<a href="./"><img src="./res/robot.svg" alt="site logo"></a>
|
||||
</td>
|
||||
<td class="nav">
|
||||
<a href="./"><h1>DeletedBot</h1></a>
|
||||
<p id="links"><a href="{{.repoURL}}" target="_blank" rel="noopener noreferrer">Source</a> - <a href="{{.privacyURL}}">Privacy</a> - <a href="{{.termsURL}}">Terms</a> - <a href="{{.demoBotURL}}" target="_blank" rel="noopener noreferrer">Demo</a></p>
|
||||
<hr>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="space"></div>
|
40
frontend/templates/create.html
Normal file
40
frontend/templates/create.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
{{ template "before.html" . }}
|
||||
|
||||
<script src="res/create.js"></script>
|
||||
|
||||
<p>Fill the form below and click on Submit.</p>
|
||||
|
||||
<form action="#" onsubmit="setBot();return false">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="form-l">
|
||||
<span style="question" uk-icon="question" uk-tooltip="The token @BotFather gave you."></span>
|
||||
</td><td class="form-r">
|
||||
<input id="token" type="text" placeholder="Bot token" required/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="form-l">
|
||||
<span style="question" uk-icon="question" uk-tooltip="Your bot will send this message to whoever starts it."></span>
|
||||
</td><td class="form-r">
|
||||
<textarea id="text" placeholder="Reply message (HTML is supported)" rows="5"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="checkbox" id="tec" name="tec" style="width: 5%;" required> <label for="tec">I've read and I agree to the <a href="{{.termsURL}}">Terms</a> and <a href="{{.privacyURL}}">Privacy Policy.</a></p><br />
|
||||
<input type="button" id="submitFormData" onclick="setBot();return false" value="Submit" />
|
||||
</form>
|
||||
|
||||
<div id="output" uk-modal>
|
||||
<div class="uk-modal-dialog uk-modal-body">
|
||||
<h2 class="uk-modal-title" id="output-title"></h2>
|
||||
<p id="output-text"></p>
|
||||
<p style="font-size: 15px;" uk-toggle="target: #output-more; animation: uk-animation-slide-bottom, uk-animation-slide-top"><span uk-icon="play"></span><u>Details</u></p>
|
||||
<p id="output-more" style="font-size: 15px;"></p>
|
||||
<p class="uk-text-right">
|
||||
<button class="uk-button uk-button-default uk-modal-close" type="button" style="color: #e5e5e5">Close</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ template "after.html" . }}
|
11
frontend/templates/index.html
Normal file
11
frontend/templates/index.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{{ template "before.html" . }}
|
||||
|
||||
<p>DeletedBot is a <b>free</b> online tool that helps you set a basic status page explaining your users why your Telegram bot is suspended or in maintenance.</p>
|
||||
<p>It's free, <b>open source,</b> and it has no usage limits. Read the Terms to know more.</p>
|
||||
<p>Click the button below to create your DeletedBot. <b>No account registration or credit card required!</b></p>
|
||||
|
||||
<div id="space"></div>
|
||||
|
||||
<a href="create"><button type="button" id="navb">Create your DeletedBot</button></a>
|
||||
|
||||
{{ template "after.html" . }}
|
4
frontend/templates/privacy.html
Normal file
4
frontend/templates/privacy.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{ template "before.html" . }}
|
||||
<h1>Privacy Policy</h1>
|
||||
<p>Include your privacy policy here, or set the <code>PRIVACY_URL</code> environment variable to redirect to another link.</p>
|
||||
{{ template "after.html" . }}
|
4
frontend/templates/terms.html
Normal file
4
frontend/templates/terms.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
{{ template "before.html" . }}
|
||||
<h1>Terms of Service</h1>
|
||||
<p>Include your terms of service here, or set the <code>TERMS_URL</code> environment variable to redirect to another link.</p>
|
||||
{{ template "after.html" . }}
|
Loading…
Add table
Add a link
Reference in a new issue