DmitrMakeev
commited on
Commit
•
15790cd
1
Parent(s):
7a8928a
Update online.html
Browse files- online.html +7 -1
online.html
CHANGED
@@ -78,6 +78,12 @@
|
|
78 |
color: blue;
|
79 |
margin-top: 10px;
|
80 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
</style>
|
82 |
</head>
|
83 |
<body>
|
@@ -124,7 +130,7 @@
|
|
124 |
statusText.textContent = `Error: ${data.message}`;
|
125 |
} else if (data.type === 'alreadyLogged') {
|
126 |
qrCodeElement.hidden = true;
|
127 |
-
statusText.
|
128 |
}
|
129 |
})
|
130 |
.catch(error => {
|
|
|
78 |
color: blue;
|
79 |
margin-top: 10px;
|
80 |
}
|
81 |
+
.success-message {
|
82 |
+
color: green;
|
83 |
+
font-size: 20px;
|
84 |
+
text-align: center;
|
85 |
+
margin-top: 10px;
|
86 |
+
}
|
87 |
</style>
|
88 |
</head>
|
89 |
<body>
|
|
|
130 |
statusText.textContent = `Error: ${data.message}`;
|
131 |
} else if (data.type === 'alreadyLogged') {
|
132 |
qrCodeElement.hidden = true;
|
133 |
+
statusText.innerHTML = "<div class='success-message'>Аккаунт авторизирован!<br>API рассылка активна.</div>";
|
134 |
}
|
135 |
})
|
136 |
.catch(error => {
|