-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (63 loc) · 1.57 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Hello World!</title>
</head>
<style type="text/css">
body{
background: url("android-malware.jpg") no-repeat;
background-size:100%;
height: 100%;
width: 100%;
}
h1{color: black;}
#wrapper{
background:transparent;
border: 1px solid black;
width: 500px;
border-radius: 20px;
padding:50px;
width:350px;
height: 100px;
}
#btn:hover{background-color:lightgreen;border:lightgreen;}
#btn{
height:60px;
width:60px;
border-radius:100%;
background:white;
border:1px solid black;
margin-left:5px;
}
</style>
<body>
<center>
<h1>ARTEMIS</h1>
<div id="wrapper">
<input style="border:1px solid gray;padding:14px;width:250px;border-radius:10px" type="file" id="uploadfile"/>
<a href="result.html"><input type="submit" name="submit" id="btn" value="Submit"></a>
</div>
</body>
<script>
// You can also require other files to run in this process
//require('./renderer.js')
//app.use(express.static('assets'));
//var uploadfiles = document.querySelector('#uploadfiles');
//uploadFile(uploadfiles)
//function uploadFile(file){
//var url = 'server/index.php';
//var xhr = new XMLHttpRequest();
//var fd = new FormData();
//xhr.open("POST", url, true);
//xhr.onreadystatechange = function() {
// if (xhr.readyState == 4 && xhr.status == 200) {
// Every thing ok, file uploaded
// console.log(xhr.responseText); // handle response.
// }
//};
//fd.append("upload_file", file);
//xhr.send(fd);
//}
</script>
</html>