forked from rojvv/ssg
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
131 lines (129 loc) · 4.13 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="en" class="h-100">
<head>
<meta charset="UTF-8" />
<meta name="description" content="Generate Telegram Session String on web browser" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Session String Generator • v1.1</title>
<link rel="stylesheet" href="css/bulma.min.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/dracula.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>
<body class="light">
<div class="appBar">
<span style="position: fixed;left: 10px;top: 9px">
<img src="favicon.ico" alt="icon" width="32px" height="32px" ondragstart="return false;" />
</span>
<span class="light">Session String Generator</span>
<label class="switch">
<input type="checkbox" id="darkTheme">
<span class="slider round"></span>
</label>
</div>
<main>
<section id="section_1" class="section">
<div class="container">
<div class="columns">
<div class="column">
<div class="field">
<input
type="number"
class="input"
placeholder="API ID"
id="apiId"
/>
</div>
</div>
<div class="column">
<div class="field">
<input
type="text"
class="input"
placeholder="API hash"
id="apiHash"
/>
</div>
</div>
</div>
<div class="field">
<input
type="text"
class="input"
placeholder="Phone number"
id="number"
/>
</div>
<button id="start" onclick="start();" class="button is-link mt-2">
Next
</button>
</div>
</section>
<section class="section is-hidden" id="section_2">
<div class="container">
<div class="field">
<input type="number" class="input" id="code" placeholder="Code" />
</div>
<button id="codeb" onclick="code();" class="button is-link mt-2">
Next
</button>
</div>
</section>
<section class="section is-hidden" id="section_3">
<div class="container">
<div class="field">
<input
type="password"
class="input"
id="password"
placeholder="Password"
/>
</div>
<button
id="passwordb"
onclick="password();"
class="button is-link mt-2"
>
Next
</button>
</div>
</section>
<section class="section is-hidden" id="section_4">
<div class="container">
<h1 class="title">String session generated.</h1>
<p class="subtitle">And it was sent to your saved messages.</p>
</div>
</section>
<div id="errorModal" class="modal">
<div class="modal-background"></div>
<div class="modal-content">
<div class="card">
<div class="card-content">
<div class="content" id="errorModalContent"></div>
</div>
<footer class="card-footer">
<a
onclick="document.querySelector('#errorModal').classList.remove('is-active')"
class="card-footer-item"
>OK</a
>
</footer>
</div>
</div>
</div>
<div class="spacer"></div>
</main>
<footer class="footer has-background-white">
<div class="content has-text-centered">
<p>
© 2021 <b>Akash Pattnaik</b> ·
<a href="https://github.com/BLUE-DEVIL1134/sessionStringGenerator">Source Code</a>
</p>
</div>
</footer>
<script src="js/theme.js"></script>
<script src="js/gramjs.js"></script>
<script src="js/app.js"></script>
</body>
</html>