forked from interclip/interclip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfile.php
59 lines (51 loc) · 1.62 KB
/
file.php
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Upload a file | Interclip</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="./css/style.css" rel="stylesheet" media="screen">
<link href="./css/mobile-style.css" rel="stylesheet" media="screen">
<link rel="stylesheet" href="css/image.css">
<link rel="shortcut icon" href="./favicon.png">
<link rel="stylesheet" href="css/file.css">
<link rel="stylesheet" href="css/dark.css" media="(prefers-color-scheme: dark)">
<link rel="stylesheet" href="css/copy.css">
</head>
<style>
@media (prefers-color-scheme: dark) {
.demo-droppable {
background: rgb(65, 64, 64) !important;
color: #e4e4e4 !important;
}
}
</style>
<div id="modal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<p><img src="css/loading-spin.svg" alt=""></p>
</div>
</div>
<?php
include("includes/menu.php");
?>
<body>
<span id="content"> </span>
<div class="title">
<h1>Upload a file to Interclip</h1>
<p class="note">Upload any file type that's under 100MB.</p>
<div class="demo-droppable">
<p>Drag files here or click to upload</p>
</div>
<div class="output"></div>
<span id="code" class="code"></span>
<br>
<button id="copy" class="copy">Copy code</button>
</div>
<script>
clickEnabled = true;
</script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src="js/file.js"></script>
</body>
</html>