Skip to content

Commit

Permalink
Add machine image overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
petervanderwalt committed Apr 16, 2024
1 parent 92f821e commit f4aaf76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@ <h1 style="position: fixed; top: 100px; left: 50%; transform: translateX(-50%);
</div>
</nav>
<div id="renderArea">

<div style="position: absolute; top: 10px; right:10px; z-index: 1; max-width: 100px; max-width: 100px;" id="overlayimg"></div>

<!-- #draganddrop -->
<div id="draganddrop" style="display: none;">
<div class="well">Drop File(s) Here!</div>
Expand Down
1 change: 1 addition & 0 deletions js/application-settings-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ function setMachineButton(type) {
template = `<img src="images/mch/sphinx55.png"/> Select Machine`
}
$('#context_toggle2').html(template);
$('#overlayimg').html(`<img src="images/mch/` + type + `.png" style="max-width:100%; max-height:100%;"/>`)
};

$(document).ready(function() {
Expand Down

0 comments on commit f4aaf76

Please sign in to comment.