-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (83 loc) · 3.66 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<!DOCTYPE html>
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-166785295-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-166785295-1');
</script>
<meta charset="utf-8"/>
<title>Transfer to Desktop</title>
<link href="http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700" rel='stylesheet' />
<link href="assets/css/style.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<form id="upload" style="float:left; height:35%; position:relative; left:12%; top:2px;" method="post" action="upload.php" enctype="multipart/form-data">
<img src="assets/img/upl.png" style="float:left ; height:35%; position:relative; left:20%; top:2px;">
<div id="drop">
<a>Browse</a>
<input type="file" name="upl" multiple />
</div>
<ul>
<!-- The file uploads will be shown here -->
</ul>
</form>
<form id="upload" style="float:right ; height:35%; position:relative; right:12%; top:2px;" method="post" action="clipp.php" enctype="multipart/form-data">
<img src="assets/img/clip.png" style="float:right ; height:30%; position:relative; right:20%; top:2px;">
<input type="text" id="dropp" name="textdata" onchange="form.submit()" autocomplete="off" Placeholder="PASTE HERE">
</form>
<form id="upload" style="float:left; height:35%; position:relative; left:12%; top:10px;" method="post" enctype="multipart/form-data">
<img src="assets/img/clipcl.png" style="float:left ; height:30%; position:relative; left:20%; top:2px;">
<div id="clippy" onclick='myFunction()' value="Stupid">Cipboardhere</div>
</form>
<form id="upload" style="float:right; height:35%; position:relative; right:12%; top:10px;" method="post" action="mupload.php" enctype="multipart/form-data">
<img src="assets/img/cam.png" style="float:right ; height:35%; position:relative; right:20%; top:2px;">
<div id="drop">
<a>capture</a>
<input type="file" name="upl" capture="camera" onchange="form.submit()" />
</div>
</form>
</form>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="assets/js/jquery.knob.js"></script>
<script src="assets/js/jquery.ui.widget.js"></script>
<script src="assets/js/jquery.iframe-transport.js"></script>
<script src="assets/js/jquery.fileupload.js"></script>
<script src="assets/js/script.js"></script>
<script src="http://cdn.tutorialzine.com/misc/enhance/v1.js" async></script>
<script>
function populatePre(url) {
var xhr = new XMLHttpRequest();
xhr.onload = function () {
document.getElementById('clippy').textContent = this.responseText;
};
xhr.open('GET', url);
xhr.send();
}
populatePre('Clipboards/clippc.txt');
</script>
<script>
function myFunction() {
if (document.selection) {
var range = document.body.createTextRange();
range.moveToElementText(document.getElementById('clippy'));
range.select().createTextRange();
document.execCommand("copy");
alert("Copied")
} else if (window.getSelection) {
var range = document.createRange();
range.selectNode(document.getElementById('clippy'));
window.getSelection().addRange(range);
document.execCommand("copy");
alert("Copied")
}
}
</script>
</body>
</html>