Update up_ad.html
Browse files- up_ad.html +6 -6
    	
        up_ad.html
    CHANGED
    
    | @@ -52,9 +52,9 @@ | |
| 52 | 
             
                <div class="input-row">
         | 
| 53 | 
             
                    <input type="text" id="apiKeyInput" placeholder="Вставьте API ключ">
         | 
| 54 | 
             
                    <input type="text" id="groupIdInput" placeholder="Вставьте ID группы">
         | 
| 55 | 
            -
                    <input type="text" id="participantChatIdInput" placeholder=" | 
| 56 | 
             
                </div>
         | 
| 57 | 
            -
                <button id="setAdminButton" | 
| 58 | 
             
            <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
         | 
| 59 | 
             
                <script>
         | 
| 60 | 
             
                    document.getElementById('setAdminButton').addEventListener('click', function() {
         | 
| @@ -67,7 +67,7 @@ | |
| 67 | 
             
                            text: "Пожалуйста заполните все поля!",
         | 
| 68 | 
             
                            duration: 3000,
         | 
| 69 | 
             
                            gravity: "top",
         | 
| 70 | 
            -
                            position: " | 
| 71 | 
             
                            backgroundColor: "#fc0303",
         | 
| 72 | 
             
                        }).showToast();              
         | 
| 73 | 
             
                            return;
         | 
| @@ -103,7 +103,7 @@ | |
| 103 | 
             
                            text: "Пользователь должен быть в группе!",
         | 
| 104 | 
             
                            duration: 3000,
         | 
| 105 | 
             
                            gravity: "top",
         | 
| 106 | 
            -
                            position: " | 
| 107 | 
             
                            backgroundColor: "#fc0303",
         | 
| 108 | 
             
                        }).showToast();                   
         | 
| 109 | 
             
                            } else {
         | 
| @@ -112,8 +112,8 @@ | |
| 112 | 
             
                            text: "Администратор добавлен!",
         | 
| 113 | 
             
                            duration: 3000,
         | 
| 114 | 
             
                            gravity: "top",
         | 
| 115 | 
            -
                            position: " | 
| 116 | 
            -
                            backgroundColor: "# | 
| 117 | 
             
                        }).showToast(); 
         | 
| 118 | 
             
                            }
         | 
| 119 | 
             
                        } catch (error) {
         | 
|  | |
| 52 | 
             
                <div class="input-row">
         | 
| 53 | 
             
                    <input type="text" id="apiKeyInput" placeholder="Вставьте API ключ">
         | 
| 54 | 
             
                    <input type="text" id="groupIdInput" placeholder="Вставьте ID группы">
         | 
| 55 | 
            +
                    <input type="text" id="participantChatIdInput" placeholder="Телефон администратора">
         | 
| 56 | 
             
                </div>
         | 
| 57 | 
            +
                <button id="setAdminButton">Добавить администратора</button>
         | 
| 58 | 
             
            <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
         | 
| 59 | 
             
                <script>
         | 
| 60 | 
             
                    document.getElementById('setAdminButton').addEventListener('click', function() {
         | 
|  | |
| 67 | 
             
                            text: "Пожалуйста заполните все поля!",
         | 
| 68 | 
             
                            duration: 3000,
         | 
| 69 | 
             
                            gravity: "top",
         | 
| 70 | 
            +
                            position: "right",
         | 
| 71 | 
             
                            backgroundColor: "#fc0303",
         | 
| 72 | 
             
                        }).showToast();              
         | 
| 73 | 
             
                            return;
         | 
|  | |
| 103 | 
             
                            text: "Пользователь должен быть в группе!",
         | 
| 104 | 
             
                            duration: 3000,
         | 
| 105 | 
             
                            gravity: "top",
         | 
| 106 | 
            +
                            position: "right",
         | 
| 107 | 
             
                            backgroundColor: "#fc0303",
         | 
| 108 | 
             
                        }).showToast();                   
         | 
| 109 | 
             
                            } else {
         | 
|  | |
| 112 | 
             
                            text: "Администратор добавлен!",
         | 
| 113 | 
             
                            duration: 3000,
         | 
| 114 | 
             
                            gravity: "top",
         | 
| 115 | 
            +
                            position: "right",
         | 
| 116 | 
            +
                            backgroundColor: "#05b334",
         | 
| 117 | 
             
                        }).showToast(); 
         | 
| 118 | 
             
                            }
         | 
| 119 | 
             
                        } catch (error) {
         |