mirror of
https://github.com/cliffe/BreakEscape.git
synced 2026-02-21 11:18:08 +00:00
Add new functionality to open workstations in new tabs
- Introduced buttons in the Crypto and Lab Workstation title bars to allow users to open the respective workstations in new tabs. - Implemented JavaScript functions `openCryptoWorkstationInNewTab` and `openLabWorkstationInNewTab` to handle the new tab functionality. - Updated CSS styles for the new buttons to ensure proper positioning and visual appeal. - Made necessary imports and exports in helper files to integrate the new functionality across the application.
This commit is contained in:
@@ -76,6 +76,7 @@
|
||||
<div class="laptop-screen">
|
||||
<div class="title-bar">
|
||||
<span>Crypto Workstation</span>
|
||||
<button class="minigame-open-new-tab-button" onclick="openCryptoWorkstationInNewTab()" title="Open in new tab">↑</button>
|
||||
<button class="minigame-close-button" onclick="closeLaptop()">×</button>
|
||||
</div>
|
||||
<div id="cyberchef-container">
|
||||
|
||||
Reference in New Issue
Block a user