Merge pull request #154 from allancoding/dev-ethanaobrien

Fixing index.html and adding translate.html
This commit is contained in:
Ethan O'Brien 2022-02-23 10:43:19 -06:00 committed by GitHub
commit 958e684943
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 299 additions and 2 deletions

View file

@ -2,7 +2,7 @@
<img src="https://user-images.githubusercontent.com/74841470/155255251-0a0840ee-51d7-4f9e-878b-1be287d9a984.png" width="250">
</p>
# Emulatorjs
# EmulatorJS
Self-hosted **Javascript** emulation for various system.

File diff suppressed because one or more lines are too long

View file

@ -1,5 +1,44 @@
<html>
<head>
<title>Emulatorjs | Select Game Rom</title>
<link rel="icon" type="image/png" href="docs/Emulatorjs Logo.png">
</head>
<body>
<style>
body{
background: #c4bdff;
}
.form{
position: absolute;
top: 450px;
left: 50%;
margin-top: -150px;
margin-left: -250px;
width: 500px;
height: 200px;
border: 4px dashed #111;
}
.form p{
width: 100%;
height: 100%;
text-align: center;
line-height: 170px;
color: #111;
font-family: Arial;
}
.form input{
position: absolute;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
outline: none;
opacity: 0;
}
.eimg{
width: 250px;
}
</style>
<script>
window.addEventListener('load', function() {
document.getElementById('file').onchange = async function(e) {
@ -106,6 +145,12 @@
}
})
</script>
Select Game Rom: <input type="file" id="file">
<center>
<img class="eimg" src="docs/Emulatorjs Logo.png">
</center>
<div class="form">
<input type="file" id="file">
<b><p>Select Game Rom: Drag your files here or click in this area.</p></b>
</div>
</body>
</html>