mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
addon repository relocated
This commit is contained in:
parent
2bf19ae652
commit
056921b1e8
124 changed files with 11673 additions and 1 deletions
38
js_upload/file-uploader/client/demo.htm
Normal file
38
js_upload/file-uploader/client/demo.htm
Normal file
|
@ -0,0 +1,38 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link href="fileuploader.css" rel="stylesheet" type="text/css">
|
||||
<style>
|
||||
body {font-size:13px; font-family:arial, sans-serif; width:700px; margin:100px auto;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><a href="http://github.com/valums/file-uploader">Back to project page</a></p>
|
||||
|
||||
<p>To upload a file, click on the button below. Drag-and-drop is supported in FF, Chrome.</p>
|
||||
<p>Progress-bar is supported in FF3.6+, Chrome6+, Safari4+</p>
|
||||
|
||||
<div id="file-uploader-demo1">
|
||||
<noscript>
|
||||
<p>Please enable JavaScript to use file uploader.</p>
|
||||
<!-- or put a simple form for upload here -->
|
||||
</noscript>
|
||||
</div>
|
||||
|
||||
<script src="fileuploader.js" type="text/javascript"></script>
|
||||
<script>
|
||||
function createUploader(){
|
||||
var uploader = new qq.FileUploader({
|
||||
element: document.getElementById('file-uploader-demo1'),
|
||||
action: 'do-nothing.htm',
|
||||
debug: true
|
||||
});
|
||||
}
|
||||
|
||||
// in your app create uploader as soon as the DOM is ready
|
||||
// don't wait for the window to load
|
||||
window.onload = createUploader;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
1
js_upload/file-uploader/client/do-nothing.htm
Normal file
1
js_upload/file-uploader/client/do-nothing.htm
Normal file
|
@ -0,0 +1 @@
|
|||
{success:true}
|
31
js_upload/file-uploader/client/fileuploader.css
Normal file
31
js_upload/file-uploader/client/fileuploader.css
Normal file
|
@ -0,0 +1,31 @@
|
|||
.qq-uploader { position:relative; width: 100%;}
|
||||
|
||||
.qq-upload-button {
|
||||
display:block; /* or inline-block */
|
||||
width: 105px; padding: 7px 0; text-align:center;
|
||||
background:#880000; border-bottom:1px solid #ddd;color:#fff;
|
||||
}
|
||||
.qq-upload-button-hover {background:#cc0000;}
|
||||
.qq-upload-button-focus {outline:1px dotted black;}
|
||||
|
||||
.qq-upload-drop-area {
|
||||
position:absolute; top:0; left:0; width:100%; height:100%; min-height: 70px; z-index:2;
|
||||
background:#FF9797; text-align:center;
|
||||
}
|
||||
.qq-upload-drop-area span {
|
||||
display:block; position:absolute; top: 50%; width:100%; margin-top:-8px; font-size:16px;
|
||||
}
|
||||
.qq-upload-drop-area-active {background:#FF7171;}
|
||||
|
||||
.qq-upload-list {margin:15px 35px; padding:0; list-style:disc;}
|
||||
.qq-upload-list li { margin:0; padding:0; line-height:15px; font-size:12px;}
|
||||
.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-failed-text {
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
.qq-upload-file {}
|
||||
.qq-upload-spinner {display:inline-block; background: url("loading.gif"); width:15px; height:15px; vertical-align:text-bottom;}
|
||||
.qq-upload-size,.qq-upload-cancel {font-size:11px;}
|
||||
|
||||
.qq-upload-failed-text {display:none;}
|
||||
.qq-upload-fail .qq-upload-failed-text {display:inline;}
|
1247
js_upload/file-uploader/client/fileuploader.js
Normal file
1247
js_upload/file-uploader/client/fileuploader.js
Normal file
File diff suppressed because it is too large
Load diff
BIN
js_upload/file-uploader/client/loading.gif
Normal file
BIN
js_upload/file-uploader/client/loading.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Loading…
Add table
Add a link
Reference in a new issue