-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathupload.html
32 lines (31 loc) · 1.12 KB
/
upload.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Upload Creatives</title>
<script src="https://fb.me/react-0.13.3.js"></script>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="/build/creativestore.js"></script>
<script src="/build/upload.js"></script>
<script src="/build/dropfiles.js"></script>
<link rel=stylesheet href="//netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
<link rel=stylesheet href="/css/upload.css">
</head>
<body>
<div id="content"></div>
<script>
var uploader = CreativeUploader({
url: '/upload.php',
types: ['file', 'url', 'content', 'popup', 'mopup'],
sizes: ['120x600', '160x600', '300x250', '468x60', '728x90'],
target: 'content',
maxFileSize: 1024 * 40,
maxCreativesIsStrict: true,
maxCreatives: 1,
onNewCreatives: function (creatives) {
console.log(creatives);
}
});
</script>
</body>
</html>