index.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>murkmod helper webui</title>
  7. <link rel="stylesheet" href="../css/lib/xterm.css" />
  8. <script src="../js/lib/xterm.js"></script>
  9. <link rel="stylesheet" href="https://fonts.xz.style/serve/inter.css">
  10. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@exampledev/new.css@1.1.2/new.min.css">
  11. <link rel="stylesheet" href="../css/murkmod.css">
  12. <link href="https://cdn.jsdelivr.net/npm/@sweetalert2/theme-dark@4/dark.css" rel="stylesheet">
  13. <script src="../js/lib/swal2.js"></script>
  14. </head>
  15. <body>
  16. <h1>murkmod helper</h1>
  17. <button id="update_murkmod">Update murkmod</button>
  18. <br><br>
  19. <details open>
  20. <summary>Shells</summary>
  21. <button id="root_shell">Root shell</button>
  22. <button id="chronos_shell">Chronos shell</button>
  23. <button id="crosh">Crosh</button>
  24. </details>
  25. <details>
  26. <summary>Crouton</summary>
  27. <button id="install_crouton">Install</button>
  28. <p></p>
  29. <button id="start_crouton">Start</button>
  30. <button id="stop_crouton" style="display: none;">Stop</button>
  31. <p></p>
  32. <p>Press <kbd>Ctrl+Shift+Alt+Forward (F2)</kbd> and <kbd>Ctrl+Shift+Alt+Back (F1)</kbd> to toggle between desktops once Crouton is running.</p>
  33. </details>
  34. <details>
  35. <summary>System Management</summary>
  36. <label for="fans">Fan speed:</label>
  37. <input type="range" name="fans" id="fans" min="0" max="100" value="35">
  38. <span id="fanprecent">0%</span>
  39. <p></p>
  40. <button id="reboot">Reboot</button>
  41. </details>
  42. <details>
  43. <summary>Powerwash and Revert</summary>
  44. <button id="emergency_revert">Emergency revert & re-enroll</button>
  45. <button id="powerwash">Powerwash</button>
  46. </details>
  47. <details>
  48. <summary>Plugins</summary>
  49. <div id="plugins"></div>
  50. <p></p>
  51. <p>Legacy (terminal-based) plugins</p>
  52. <div id="legacy_plugins"></div>
  53. <hr>
  54. <button id="store">Plugin Store</button>
  55. <!-- <button id="builder">Create new plugin</button> -->
  56. </details>
  57. <details>
  58. <summary>Extension Controls</summary>
  59. <button id="manage_exts">Manage (enable and disable) extensions</button>
  60. <button id="automagically">Automagically disable extensions</button>
  61. <p></p>
  62. <button id="purge_exts">Purge extension processes</button>
  63. </details>
  64. <details>
  65. <summary>Experiments</summary>
  66. These experiments have been known to cause issues and may brick your murkmod install. Here be dragons!
  67. <br>
  68. <button id="update_chromeos">Update ChromeOS</button>
  69. <button id="update_backup">Update emergency backup</button>
  70. <button id="restore_backup_backup">Restore emergency backup backup</button>
  71. <p></p>
  72. <button id="chromebrew">Install Chromebrew</button>
  73. <button id="dev_install">Install Gentoo bootstrap (dev_install)</button>
  74. <p></p>
  75. <button id="boot_usb_on">Enable dev_boot_usb</button>
  76. <button id="boot_usb_off">Disable dev_boot_usb</button>
  77. </details>
  78. <details id="debug" style="display: none;">
  79. <summary>Debug</summary>
  80. This section contains some debug utilities intended primarily for 1337 hax0rs and you probably don't need to worry about them.
  81. <br>
  82. <button id="show_mush">Show xterm/puppeteered mush</button>
  83. <button id="show_bash">Show bash</button>
  84. <p></p>
  85. <button id="no_term_autoclose">Disallow xterm task-running autoclose</button>
  86. <p></p>
  87. <button id="do-xss">xss vulnerability!!!!1!</button>
  88. <p></p>
  89. <button id="disable_debug">Disable pro hacker mode</button>
  90. <p></p>
  91. <button id="point_blank">Point blank</button>
  92. </details>
  93. <div id="ext-modal" class="modal">
  94. <div class="modal-content">
  95. <span class="close" id="closeexts">&times;</span>
  96. <div id="ext-content"></div>
  97. </div>
  98. </div>
  99. <div id="store-modal" class="modal">
  100. <div class="modal-content">
  101. <span class="close" id="closestore">&times;</span>
  102. <div id="store-content"></div>
  103. </div>
  104. </div>
  105. <div id="terminal-container"><div id="terminal-holder"><span id="title">xterm</span><span id="close">&times;</span><br><br><div id="terminal"></div></div></div>
  106. <div id="terminal-bash-container"><div id="terminal-bash-holder"><span id="title-bash">murkmod helper terminal</span><span id="close-bash">&times;</span><br><br><div id="terminal-bash"></div></div></div>
  107. <script src="../js/api/murkmod.js"></script>
  108. <script src="../js/page/store.js"></script>
  109. <script src="../js/page/interactivity.js"></script>
  110. <script src="../js/api/fs.js"></script>
  111. </body>
  112. </html>