説明なし

manage_make_update.html 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  5. <title>IRIS - Server updates</title>
  6. <meta content='width=device-width, initial-scale=1.0, shrink-to-fit=no' name='viewport' />
  7. <link rel="icon" href="/static/assets/img/logo.ico" type="image/x-icon"/>
  8. <!-- Fonts and icons -->
  9. <script src="/static/assets/js/plugin/webfont/webfont.min.js"></script>
  10. <script>
  11. WebFont.load({
  12. custom: {"families":["Lato:300,400,700,900", "Flaticon", "Font Awesome 5 Solid", "Font Awesome 5 Regular", "Font Awesome 5 Brands", "simple-line-icons"],
  13. urls: ['/static/assets/css/fonts.css']},
  14. active: function() {
  15. sessionStorage.fonts = true;
  16. }
  17. });
  18. </script>
  19. <!-- CSS Files -->
  20. <link rel="stylesheet" href="/static/assets/css/bootstrap.min.css">
  21. <link rel="stylesheet" href="/static/assets/css/atlantis.css">
  22. <link rel="stylesheet" href="/static/assets/css/bootstrap-select.min.css">
  23. </head>
  24. <body class="bg-dark-gradient p-4" style="height: 100vh;">
  25. <div class="container bg-white shadow-lg p-3 rounded mb-4">
  26. <div class="mt-2 row">
  27. <div class="col d-flex justify-content-center">
  28. <a href="/" class="logo ml-2 text-center">
  29. <img src="/static/assets/img/logo-alone-2-black.png" alt="navbar brand" class='image-update navbar-brand' width="50">
  30. </a>
  31. </div>
  32. </div>
  33. <div class="mt-2 row">
  34. <div class="col d-flex justify-content-center">
  35. <h1 class="text-dark text-center">Server Updates</h1>
  36. </div>
  37. </div>
  38. <div class="row ">
  39. <div class="col d-flex justify-content-center">
  40. <i class="text-dark">Some great improvements are hopefully on their way, hang tight</i>
  41. </div>
  42. </div>
  43. <div class="row mt-4">
  44. <div class="col d-flex justify-content-center">
  45. <h4 class="text-danger text-center">Please do not leave or refresh the page once updates have started</h4>
  46. </div>
  47. </div>
  48. <div class="row mt-4 update_start_txt">
  49. <div class="col pl-4 justify-content-center">
  50. <p class="text-center">Ensure users are disconnected. Any unsaved work might be lost.</p>
  51. </div>
  52. </div>
  53. <div class="row mt-4 justify-content-center update_start_txt">
  54. <div class="col-6">
  55. <p class="text-center">The following steps might occur during updates, depending on the updates scope : </p>
  56. <ul>
  57. <li>Fetch of updates information from github.com</li>
  58. <li>Download of updates assets from github</li>
  59. <li>Signatures verification</li>
  60. <li>Compatibility verifications</li>
  61. <li>Back up of the current server code to backup storage defined in <code>BACKUP_PATH</code></li>
  62. <li>Server stop and update of application</li>
  63. <li>Server restarts</li>
  64. <li>Version check</li>
  65. </ul>
  66. </div>
  67. </div>
  68. <div class="row mt-4">
  69. <div class="col d-flex justify-content-center ">
  70. <a href='#' onclick="start_updates();" class="btn btn-outline-success text-center" id="update_start_btn">Start updates</a>
  71. </div>
  72. </div>
  73. <div id="container-updates" class="row shadow-lg ml-4 mr-4 rounded" style="display:none;">
  74. <div class="col justify-content-left text-dark pl-4 pb-4 pt-4 pr-4 mh-100">
  75. <div class="col">
  76. <div id="updates_log">
  77. </div>
  78. <div id="updates_log_end"></div>
  79. </div>
  80. </div>
  81. </div>
  82. <div class="row text-dark">
  83. <div class="col d-flex justify-content-center">
  84. <div id="offline_time" style="display:none;"></div>
  85. </div>
  86. </div>
  87. <div class="row mt-4">
  88. <div class="col d-flex justify-content-center">
  89. <div id="tag_bottom" style="display:none;" class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>
  90. <a href='/manage/settings' class="btn btn-dark ml-mr-auto" style="display:none;" id="update_return_button">Go back to server</a>
  91. </div>
  92. </div>
  93. </div>
  94. <!-- Core JS Files -->
  95. <script src="/static/assets/js/core/jquery.3.2.1.min.js"></script>
  96. <script src="/static/assets/js/core/popper.min.js"></script>
  97. <script src="/static/assets/js/core/bootstrap.min.js"></script>
  98. <!-- jQuery UI -->
  99. <script src="/static/assets/js/plugin/jquery-ui-1.12.1.custom/jquery-ui.min.js"></script>
  100. <script src="/static/assets/js/plugin/jquery-ui-touch-punch/jquery.ui.touch-punch.min.js"></script>
  101. <!-- jQuery Scrollbar -->
  102. <script src="/static/assets/js/plugin/jquery-scrollbar/jquery.scrollbar.min.js"></script>
  103. <!-- Atlantis JS -->
  104. <script src="/static/assets/js/atlantis.min.js"></script>
  105. {% if current_user.in_dark_mode %}<script src="/static/assets/js/dark-mode.js"></script>{% endif %}
  106. <script src="/static/assets/js/core/socket.io.js"></script>
  107. <script src="/static/assets/js/iris/updates.handler.js"></script>
  108. </body>
  109. </html>