mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 03:32:12 -08:00
37606dc8d2
Added dynamic keybinder for overlays. If dismissable, the Escape key will dismiss the overlay. If not dismissable, Enter & Escape will trigger the main button. If the selected account is not valid and you have more than one other account, you may cancel logging in to return to the original error overlay. Updated electron-builder@20.28.2. Fixed minor bug where the background of the settings UI was set to transparent. This occurred if the validation error overlay was shown on the settings UI, and you chose the login option.
41 lines
2.0 KiB
Plaintext
41 lines
2.0 KiB
Plaintext
<div id="overlayContainer" style="display: none;">
|
|
<div id="serverSelectContent" style="display: none;">
|
|
<span id="serverSelectHeader">Available Servers</span>
|
|
<div id="serverSelectList">
|
|
<div id="serverSelectListScrollable">
|
|
<!-- Server listings populated here. -->
|
|
</div>
|
|
</div>
|
|
<div id="serverSelectActions">
|
|
<button id="serverSelectConfirm" class="overlayKeybindEnter" type="submit">Select</button>
|
|
<div id="serverSelectCancelWrapper">
|
|
<button id="serverSelectCancel" class="overlayKeybindEsc">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="accountSelectContent" style="display: none;">
|
|
<span id="accountSelectHeader">Select an Account</span>
|
|
<div id="accountSelectList">
|
|
<div id="accountSelectListScrollable">
|
|
<!-- Accounts populated here. -->
|
|
</div>
|
|
</div>
|
|
<div id="accountSelectActions">
|
|
<button id="accountSelectConfirm" class="overlayKeybindEnter" type="submit">Select</button>
|
|
<div id="accountSelectCancelWrapper">
|
|
<button id="accountSelectCancel" class="overlayKeybindEsc">Cancel</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="overlayContent">
|
|
<span id="overlayTitle">Lorem Ipsum:<br>Finis Illud</span>
|
|
<span id="overlayDesc">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud..</span>
|
|
<div id="overlayActionContainer">
|
|
<button id="overlayAcknowledge" class="overlayKeybindEnter">Conare Iterum</button>
|
|
<div id="overlayDismissWrapper">
|
|
<button id="overlayDismiss" style="display: none;" class="overlayKeybindEsc">Dismiss</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script src="./assets/js/scripts/overlay.js"></script>
|
|
</div> |