Skip to content

Commit 575c3e1

Browse files
committed
Updated for use with the latest version of jQuery File Upload and Twitter's Bootstrap. Add preview images without uploading.
1 parent db4d39f commit 575c3e1

28 files changed

+411
-2554
lines changed
994 Bytes
Binary file not shown.
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
#, fuzzy
7+
msgid ""
8+
msgstr ""
9+
"Project-Id-Version: PACKAGE VERSION\n"
10+
"Report-Msgid-Bugs-To: \n"
11+
"POT-Creation-Date: 2013-04-11 16:16+0300\n"
12+
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"Language-Team: LANGUAGE <LL@li.org>\n"
15+
"Language: \n"
16+
"MIME-Version: 1.0\n"
17+
"Content-Type: text/plain; charset=UTF-8\n"
18+
"Content-Transfer-Encoding: 8bit\n"
19+
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
20+
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
21+
22+
#: templates/jquery_uploader/bootstrap.html:14
23+
msgid "Add files..."
24+
msgstr "Добавить файлы..."
25+
26+
#: templates/jquery_uploader/bootstrap.html:19
27+
msgid "Start upload"
28+
msgstr "Начать загрузку"
29+
30+
#: templates/jquery_uploader/bootstrap.html:23
31+
msgid "Cancel upload"
32+
msgstr "Отменить загрузку"
33+
34+
#: templates/jquery_uploader/bootstrap.html:27
35+
#: templates/jquery_uploader/bootstrap.html:105
36+
msgid "Delete"
37+
msgstr "Удалить"
38+
39+
#: templates/jquery_uploader/bootstrap.html:34
40+
msgid "Global Progress"
41+
msgstr "Общий прогресс"
42+
43+
#: templates/jquery_uploader/bootstrap.html:44
44+
msgid "Selected files for download"
45+
msgstr "Выбранные файлы для загрузки"
46+
47+
#: templates/jquery_uploader/bootstrap.html:66
48+
msgid "Start"
49+
msgstr "Загрузить"
50+
51+
#: templates/jquery_uploader/bootstrap.html:75
52+
msgid "Cancel"
53+
msgstr "Отменить"
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
@charset "UTF-8";
2+
/*
3+
* jQuery File Upload UI Plugin CSS 7.4
4+
* https://github.com/blueimp/jQuery-File-Upload
5+
*
6+
* Copyright 2010, Sebastian Tschan
7+
* https://blueimp.net
8+
*
9+
* Licensed under the MIT license:
10+
* http://www.opensource.org/licenses/MIT
11+
*/
12+
13+
.fileupload {
14+
background-color: #f5f5f5;
15+
outline: 1px solid #e5e5e5;
16+
padding: 10px;
17+
}
18+
.fileinput-button {
19+
position: relative;
20+
overflow: hidden;
21+
float: left;
22+
margin-right: 4px;
23+
}
24+
.fileinput-button input {
25+
position: absolute;
26+
top: 0;
27+
right: 0;
28+
margin: 0;
29+
opacity: 0;
30+
filter: alpha(opacity=0);
31+
transform: translate(-300px, 0) scale(4);
32+
font-size: 23px;
33+
direction: ltr;
34+
cursor: pointer;
35+
}
36+
.fileupload-buttonbar .btn,
37+
.fileupload-buttonbar .toggle {
38+
margin-bottom: 5px;
39+
}
40+
.files .progress {
41+
width: 200px;
42+
}
43+
.progress-animated .bar {
44+
background: url(../img/progressbar.gif) !important;
45+
filter: none;
46+
}
47+
.fileupload-loading {
48+
position: absolute;
49+
left: 50%;
50+
width: 128px;
51+
height: 128px;
52+
background: url(../img/loading.gif) center no-repeat;
53+
display: none;
54+
}
55+
.fileupload-processing .fileupload-loading {
56+
display: block;
57+
}
58+
59+
/* Fix for IE 6: */
60+
* html .fileinput-button {
61+
line-height: 24px;
62+
margin: 1px -3px 0 0;
63+
}
64+
65+
/* Fix for IE 7: */
66+
* + html .fileinput-button {
67+
padding: 2px 15px;
68+
margin: 1px 0 0 0;
69+
}
70+
71+
@media (max-width: 767px) {
72+
.fileupload-buttonbar .toggle,
73+
.files .toggle,
74+
.files .btn span {
75+
display: none;
76+
}
77+
.files .preview * {
78+
width: 40px;
79+
}
80+
.files .name * {
81+
width: 80px;
82+
display: inline-block;
83+
word-wrap: break-word;
84+
}
85+
.files .progress {
86+
width: 20px;
87+
}
88+
}

jquery_uploader/static/jquery_uploader/jquery.fileupload-jui.js

Lines changed: 0 additions & 141 deletions
This file was deleted.

jquery_uploader/static/jquery_uploader/jquery.fileupload-ui.css

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)