closeTabInsturction.html 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <html>
  2. <head>
  3. <title>Close Tab Instruction</title>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no">
  6. <link rel="stylesheet" href="../script/semantic/semantic.min.css">
  7. <script type="text/javascript" src="../script/jquery.min.js"></script>
  8. <script type="text/javascript" src="../script/semantic/semantic.min.js"></script>
  9. <style>
  10. body{
  11. background-color:black;
  12. pointer-events: none;
  13. }
  14. </style>
  15. </head>
  16. <body>
  17. <div class="ui basic visible modal">
  18. <div class="ui icon header">
  19. <i class="green checkmark icon"></i>
  20. Operation Completed
  21. </div>
  22. <div class="content" align="center">
  23. <p>You can now close this tab and continue using the system in other tabs.</p>
  24. </div>
  25. </div>
  26. <script>
  27. $('.ui.basic.modal').modal('show');
  28. //If this tab is opened in fw mode accidentally, close this tab.
  29. if (!(!parent.isDesktopMode)){
  30. var ao_module_windowID = $(window.frameElement).parent().parent().attr("windowId");
  31. parent.closeFwProcess(ao_module_windowID);
  32. }
  33. </script>
  34. </body>
  35. </html>