DmitrMakeev
commited on
Commit
•
fb00d89
1
Parent(s):
5f7515b
Update se_mes.html
Browse files- se_mes.html +5 -5
se_mes.html
CHANGED
@@ -68,17 +68,17 @@
|
|
68 |
</style>
|
69 |
</head>
|
70 |
<body>
|
71 |
-
<h1
|
72 |
<div class="input-row">
|
73 |
-
<input type="text" id="apiKeyInput" placeholder="
|
74 |
<input type="number" id="minDelayInput" placeholder="Min Delay (ms)" value="500">
|
75 |
<input type="number" id="maxDelayInput" placeholder="Max Delay (ms)" value="1000">
|
76 |
<label>
|
77 |
-
|
78 |
<input type="checkbox" id="linkPreviewCheckbox" checked>
|
79 |
</label>
|
80 |
</div>
|
81 |
-
<textarea id="messageInput" placeholder="
|
82 |
<div id="progressBarContainer">
|
83 |
<div id="progressBar">
|
84 |
<div id="progress">0%</div>
|
@@ -92,7 +92,7 @@
|
|
92 |
const apiKey = document.getElementById('apiKeyInput').value;
|
93 |
const message = document.getElementById('messageInput').value;
|
94 |
const minDelay = parseInt(document.getElementById('minDelayInput').value) || 500;
|
95 |
-
const maxDelay = parseInt(document.getElementById('maxDelayInput').value) ||
|
96 |
const linkPreview = document.getElementById('linkPreviewCheckbox').checked;
|
97 |
|
98 |
if (!apiKey) {
|
|
|
68 |
</style>
|
69 |
</head>
|
70 |
<body>
|
71 |
+
<h1>Отправка сообщения(текст)</h1>
|
72 |
<div class="input-row">
|
73 |
+
<input type="text" id="apiKeyInput" placeholder="Введите API ключ">
|
74 |
<input type="number" id="minDelayInput" placeholder="Min Delay (ms)" value="500">
|
75 |
<input type="number" id="maxDelayInput" placeholder="Max Delay (ms)" value="1000">
|
76 |
<label>
|
77 |
+
Показывать превью:
|
78 |
<input type="checkbox" id="linkPreviewCheckbox" checked>
|
79 |
</label>
|
80 |
</div>
|
81 |
+
<textarea id="messageInput" placeholder="Введите текст сообщения, превью ссылки отображается в зависимости от настроек."></textarea>
|
82 |
<div id="progressBarContainer">
|
83 |
<div id="progressBar">
|
84 |
<div id="progress">0%</div>
|
|
|
92 |
const apiKey = document.getElementById('apiKeyInput').value;
|
93 |
const message = document.getElementById('messageInput').value;
|
94 |
const minDelay = parseInt(document.getElementById('minDelayInput').value) || 500;
|
95 |
+
const maxDelay = parseInt(document.getElementById('maxDelayInput').value) || 10000;
|
96 |
const linkPreview = document.getElementById('linkPreviewCheckbox').checked;
|
97 |
|
98 |
if (!apiKey) {
|