Update pages.html
Browse files- pages.html +26 -52
    	
        pages.html
    CHANGED
    
    | @@ -430,7 +430,6 @@ z-index: 1000; /* Убедитесь, что кнопка находится п | |
| 430 |  | 
| 431 |  | 
| 432 |  | 
| 433 | 
            -
            // Создаем новый тип компонента для формы
         | 
| 434 | 
             
            // Создаем новый тип компонента для формы
         | 
| 435 | 
             
            editor.Components.addType('custom-form', {
         | 
| 436 | 
             
              model: {
         | 
| @@ -473,7 +472,6 @@ editor.Components.addType('custom-form', { | |
| 473 | 
             
                      <div id="privacyModal" class="modal">
         | 
| 474 | 
             
                        <div class="modal-content">
         | 
| 475 | 
             
                          <span class="close">×</span>
         | 
| 476 | 
            -
                        
         | 
| 477 | 
             
                        </div>  
         | 
| 478 | 
             
                      </div>
         | 
| 479 | 
             
                    </div>
         | 
| @@ -583,7 +581,6 @@ editor.on('load', function() { | |
| 583 | 
             
                });
         | 
| 584 | 
             
              };
         | 
| 585 | 
             
            });
         | 
| 586 | 
            -
                
         | 
| 587 | 
             
                // Добавление кнопки для открытия редактора кода
         | 
| 588 | 
             
                const pn = editor.Panels;
         | 
| 589 | 
             
                const panelViews = pn.addPanel({
         | 
| @@ -678,37 +675,35 @@ editor.on('load', function() { | |
| 678 | 
             
                    'data-tooltip-pos': 'bottom',
         | 
| 679 | 
             
                  },
         | 
| 680 | 
             
                });
         | 
| 681 | 
            -
             | 
| 682 |  | 
| 683 | 
            -
             | 
| 684 | 
            -
             | 
| 685 | 
            -
             | 
| 686 | 
            -
             | 
| 687 | 
            -
             | 
| 688 | 
            -
             | 
| 689 | 
            -
                
         | 
| 690 | 
            -
                // Get the <span> element that closes the modal
         | 
| 691 | 
            -
                var span_1 = document.getElementsByClassName("close_1")[0];
         | 
| 692 | 
            -
                
         | 
| 693 | 
            -
                // When the user clicks the button, open the modal 
         | 
| 694 | 
            -
                btn_1.onclick = function() {
         | 
| 695 | 
            -
                  modal_1.style.display = "block";
         | 
| 696 | 
            -
                }
         | 
| 697 | 
            -
                
         | 
| 698 | 
            -
                // When the user clicks on <span> (x), close the modal
         | 
| 699 | 
            -
                span_1.onclick = function() {
         | 
| 700 | 
            -
                  modal_1.style.display = "none";
         | 
| 701 | 
            -
                }
         | 
| 702 | 
            -
                
         | 
| 703 | 
            -
                // When the user clicks anywhere outside of the modal, close it
         | 
| 704 | 
            -
                window.onclick = function(event) {
         | 
| 705 | 
            -
                  if (event.target == modal_1) {
         | 
| 706 | 
            -
                    modal_1.style.display = "none";
         | 
| 707 | 
            -
                  }
         | 
| 708 | 
            -
                }
         | 
| 709 | 
            -
              </script>
         | 
| 710 |  | 
|  | |
|  | |
| 711 |  | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 712 |  | 
| 713 | 
             
            <script>
         | 
| 714 | 
             
            // Загружаем VK Bridge и OpenAPI
         | 
| @@ -816,25 +811,6 @@ document.addEventListener('DOMContentLoaded', () => { | |
| 816 | 
             
            });
         | 
| 817 | 
             
            </script>
         | 
| 818 |  | 
| 819 | 
            -
             | 
| 820 | 
            -
             | 
| 821 | 
            -
             | 
| 822 | 
            -
             | 
| 823 | 
            -
             | 
| 824 | 
            -
             | 
| 825 | 
            -
             | 
| 826 | 
            -
             | 
| 827 | 
            -
             | 
| 828 | 
            -
             | 
| 829 | 
            -
             | 
| 830 | 
            -
             | 
| 831 | 
            -
             | 
| 832 | 
            -
             | 
| 833 | 
            -
             | 
| 834 | 
            -
             | 
| 835 | 
            -
              
         | 
| 836 | 
            -
             | 
| 837 | 
            -
              
         | 
| 838 | 
             
            <script>
         | 
| 839 | 
             
            document.addEventListener('DOMContentLoaded', () => {
         | 
| 840 | 
             
              // Функция для показа/скрытия приложения
         | 
| @@ -854,8 +830,6 @@ document.addEventListener('DOMContentLoaded', () => { | |
| 854 |  | 
| 855 |  | 
| 856 |  | 
| 857 | 
            -
             | 
| 858 | 
            -
             | 
| 859 |  | 
| 860 | 
             
              <script>
         | 
| 861 | 
             
                document.getElementById('uploadForm').addEventListener('submit', function(event) {
         | 
|  | |
| 430 |  | 
| 431 |  | 
| 432 |  | 
|  | |
| 433 | 
             
            // Создаем новый тип компонента для формы
         | 
| 434 | 
             
            editor.Components.addType('custom-form', {
         | 
| 435 | 
             
              model: {
         | 
|  | |
| 472 | 
             
                      <div id="privacyModal" class="modal">
         | 
| 473 | 
             
                        <div class="modal-content">
         | 
| 474 | 
             
                          <span class="close">×</span>
         | 
|  | |
| 475 | 
             
                        </div>  
         | 
| 476 | 
             
                      </div>
         | 
| 477 | 
             
                    </div>
         | 
|  | |
| 581 | 
             
                });
         | 
| 582 | 
             
              };
         | 
| 583 | 
             
            });
         | 
|  | |
| 584 | 
             
                // Добавление кнопки для открытия редактора кода
         | 
| 585 | 
             
                const pn = editor.Panels;
         | 
| 586 | 
             
                const panelViews = pn.addPanel({
         | 
|  | |
| 675 | 
             
                    'data-tooltip-pos': 'bottom',
         | 
| 676 | 
             
                  },
         | 
| 677 | 
             
                });
         | 
| 678 | 
            +
            </script>
         | 
| 679 |  | 
| 680 | 
            +
            <script>
         | 
| 681 | 
            +
            // Get the modal
         | 
| 682 | 
            +
            var modal_1 = document.getElementById("myModal_1");
         | 
| 683 | 
            +
             | 
| 684 | 
            +
            // Get the button that opens the modal
         | 
| 685 | 
            +
            var btn_1 = document.getElementById("myBtn");
         | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 686 |  | 
| 687 | 
            +
            // Get the <span> element that closes the modal
         | 
| 688 | 
            +
            var span_1 = document.getElementsByClassName("close_1")[0];
         | 
| 689 |  | 
| 690 | 
            +
            // When the user clicks the button, open the modal 
         | 
| 691 | 
            +
            btn_1.onclick = function() {
         | 
| 692 | 
            +
              modal_1.style.display = "block";
         | 
| 693 | 
            +
            }
         | 
| 694 | 
            +
             | 
| 695 | 
            +
            // When the user clicks on <span> (x), close the modal
         | 
| 696 | 
            +
            span_1.onclick = function() {
         | 
| 697 | 
            +
              modal_1.style.display = "none";
         | 
| 698 | 
            +
            }
         | 
| 699 | 
            +
             | 
| 700 | 
            +
            // When the user clicks anywhere outside of the modal, close it
         | 
| 701 | 
            +
            window.onclick = function(event) {
         | 
| 702 | 
            +
              if (event.target == modal_1) {
         | 
| 703 | 
            +
                modal_1.style.display = "none";
         | 
| 704 | 
            +
              }
         | 
| 705 | 
            +
            }
         | 
| 706 | 
            +
            </script>
         | 
| 707 |  | 
| 708 | 
             
            <script>
         | 
| 709 | 
             
            // Загружаем VK Bridge и OpenAPI
         | 
|  | |
| 811 | 
             
            });
         | 
| 812 | 
             
            </script>
         | 
| 813 |  | 
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
|  | |
| 814 | 
             
            <script>
         | 
| 815 | 
             
            document.addEventListener('DOMContentLoaded', () => {
         | 
| 816 | 
             
              // Функция для показа/скрытия приложения
         | 
|  | |
| 830 |  | 
| 831 |  | 
| 832 |  | 
|  | |
|  | |
| 833 |  | 
| 834 | 
             
              <script>
         | 
| 835 | 
             
                document.getElementById('uploadForm').addEventListener('submit', function(event) {
         |