Removed Jquery from example pages

This commit is contained in:
vinibiavatti 2020-12-27 23:27:24 +00:00
parent 64b94b4f2c
commit 6dff41b95a
3 changed files with 20 additions and 9 deletions

View File

@ -33,6 +33,9 @@
Detecting Secondary Master ...: Skip<br> Detecting Secondary Master ...: Skip<br>
Detecting Secondaty Slave ....: None Detecting Secondaty Slave ....: None
</div> </div>
<div id="session-5" style="display: none">
<br>Found virus! The PC cannot be started. I'm Sorry :(
</div>
<div class="tui-statusbar absolute black white-text"> <div class="tui-statusbar absolute black white-text">
<ul> <ul>
<li style="margin-left: 0px">Press <b>DEL</b> to enter SETUP, <b>Alt+F2</b> to enter EZ flash utility <li style="margin-left: 0px">Press <b>DEL</b> to enter SETUP, <b>Alt+F2</b> to enter EZ flash utility
@ -45,11 +48,16 @@
</div> </div>
</body> </body>
<script> <script>
$(document).ready(function() { window.onload = function() {
setTimeout(function() { $("#session-1").show(); }, 300); setTimeout(function() { showSession("session-1"); }, 300);
setTimeout(function() { $("#session-2").show(); }, 400); setTimeout(function() { showSession("session-2"); }, 400);
setTimeout(function() { $("#session-3").show(); }, 450); setTimeout(function() { showSession("session-3"); }, 450);
setTimeout(function() { $("#session-4").show(); }, 870); setTimeout(function() { showSession("session-4"); }, 870);
}); setTimeout(function() { showSession("session-5"); }, 1500);
};
function showSession(id) {
const session = document.getElementById(id);
session.style.display = "block";
}
</script> </script>
</html> </html>

View File

@ -42,11 +42,11 @@
</div> </div>
<script> <script>
function digit(digit) { function digit(digit) {
let val = $("#display").val(); let val = document.getElementById("display").value;
$("#display").val(digit + "" + val); document.getElementById("display").value = digit + "" + val;
} }
function clearDisplay() { function clearDisplay() {
$("#display").val(""); document.getElementById("display").value = "";
} }
</script> </script>
</body> </body>

View File

@ -1,3 +1,5 @@
@import '../mixins.scss';
.tui-fieldset { .tui-fieldset {
border: 6px white double; border: 6px white double;
padding: 12px; padding: 12px;
@ -36,6 +38,7 @@
cursor: pointer; cursor: pointer;
outline:0; outline:0;
padding: 2px; padding: 2px;
@include disable-select;
&.left { &.left {
right: initial; right: initial;