sever_resh.html 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <html lang="en">
  2. <head id="top">
  3. <meta charset="UTF-8">
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  5. <link rel="stylesheet" href="styles/sever_resh.css">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>ModelMaster</title>
  8. </head>
  9. <body>
  10. <script src="sever_resh.js"></script>
  11. <header class="header">
  12. <div class="header_content">
  13. <div class="Name_site">
  14. <p class="Name">Model <br class="Name1">
  15. Master</p>
  16. </div>
  17. <div class="hd">
  18. <div class = "login1">
  19. <a href="proverkarol.php"><div class = "login2">
  20. <p>Главная</p>
  21. </div></a>
  22. </div>
  23. <div class = "login1">
  24. <a href="sever_zapad.html"><div class = "login2">
  25. <p>Теория</p>
  26. </div></a>
  27. </div>
  28. <div class = "login1">
  29. <a href="account_proverka.php"><div class = "login2">
  30. <p>Аккаунт</p>
  31. </div></a>
  32. </div>
  33. </div>
  34. </div>
  35. </header>
  36. <div class="pred">
  37. <div class="pred_up">
  38. <div class = "Account">
  39. <input type="number" id="row" placeholder="строки">
  40. <input type="number" id="col" placeholder="столбцы">
  41. <button onclick="generate()">сгенерировать таблицу</button>
  42. <div class="table_ge">
  43. <div id="table_postav"></div>
  44. <div id="pred_gen"></div>
  45. <div id="table_gen"></div>
  46. </div>
  47. <a href="#" id="popup-link"><button onclick="inputtable()">вычислить</button></a>
  48. <input type="file" id="csvFileInput">
  49. <a href="#" id="popup-link1"><button onclick="handleFile()">вычислить из файла</button></a>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. <div id="popup1" class="popup">
  55. <div class="popup-content">
  56. <div id="otvett"></div>
  57. <p>Целевая функция: <span id="resultt"></span></p>
  58. <p><a href="sever_resh.html"><input type = "submit" value = "Повторное решение"></a></p>
  59. <p><a href="potencial_resh.html"><input type = "submit" value = "Проверить оптимальность"></a></p>
  60. </div>
  61. </div>
  62. <div id="popup" class="popup">
  63. <div class="popup-content">
  64. <div id="otvet"></div>
  65. <p>Целевая функция: <span id="result"></span></p>
  66. <p><a href="sever_resh.html"><input type = "submit" value = "Повторное решение"></a></p>
  67. <p><a href="potencial_resh.html"><input type = "submit" value = "Проверить оптимальность"></a></p>
  68. </div>
  69. </div>
  70. <script>
  71. const popupLink = document.getElementById('popup-link');
  72. const popup = document.getElementById('popup');
  73. const closePopup = document.getElementById('close-popup');
  74. popupLink.addEventListener('click', function(event) {
  75. event.preventDefault();
  76. popup.style.display = 'block';
  77. });
  78. closePopup.addEventListener('click', function() {
  79. popup.style.display = 'none';
  80. });
  81. </script>
  82. <script>
  83. const popupLink1 = document.getElementById('popup-link1');
  84. const popup1 = document.getElementById('popup1');
  85. const closePopup1 = document.getElementById('close-popup1');
  86. popupLink1.addEventListener('click', function(event) {
  87. event.preventDefault();
  88. popup1.style.display = 'block';
  89. });
  90. closePopup1.addEventListener('click', function() {
  91. popupLink1.style.display = 'none';
  92. });
  93. </script>
  94. <footer>
  95. <div class="footer-content">
  96. <div class="footer-info">
  97. <h3>Горячая линия и связь:</h3>
  98. <p>Телефон: **************</p>
  99. <p>Эл. почта: *****************</p>
  100. </div>
  101. </div>
  102. <p class="copyright">&copy; ModelMaster</p>
  103. </footer>
  104. </body>
  105. </html>