-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (43 loc) · 1.38 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
<HTML>
<HEAD>
<!-- <link rel="shortcut icon" href="favicon.ico"> -->
<link rel="icon" type="image/x-icon" href="http://192.168.29.173:81/images/favicon.ico?v=2">
<script type="text/javascript" src="clientSoc.js" ></script>
<script type="text/javascript" src="clientscript.js"></script>
<!-- <script>
document.onselectionchange = () => {
console.log(document.getSelection());
};
</script> -->
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
<style>
/*@media only screen and (max-width: 768px) {
textarea {
font-size: 14px;
}
}*/
@media only screen and (max-width: 700px) {
textarea {
font-size: 6px;
}
}
</style>
</HEAD>
<!-- <TITLE>
onselect="selectionRange()"
</TITLE> -->
<BODY>
<form method="POST" action="submit">
<div>
<textarea style="background: url(http://192.168.29.173:81/images/codeEdit.png);
background-attachment: local; background-repeat: no-repeat; padding-left: 35px; padding-top: 10px; border-color:#ccc;" id="code" name="code" rows="25" cols="90" placeholder="Enter your code here" oninput="detectChange();" onselect="selectionRange()" onpaste="selectionRange();"></textarea>
</div>
<div>
<textarea id="user" name="user" rows="10" cols="15" placeholder="Enter stdin or input here"></textarea>
</div>
<div>
<input type="submit" name="Submit">
</div>
</form>
</BODY>
</HTML>