Skip to content

Commit

Permalink
Update bootstrap-fileinput
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienheyd committed Jul 28, 2017
1 parent 902fce5 commit d9845e0
Show file tree
Hide file tree
Showing 31 changed files with 4,918 additions and 109 deletions.
4,160 changes: 4,156 additions & 4 deletions src/public/css/boilerplate.css

Large diffs are not rendered by default.

57 changes: 52 additions & 5 deletions src/public/js/boilerplate.js

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions src/public/js/plugins/bootstrap-fileinput/CHANGE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
Change Log: `bootstrap-fileinput`
=================================

## version 4.4.2 (_under development_)

**Date:** 24-Jun-2017

- (enh #1005): Update Dutch Translations.
- (enh #1004): New Krajee Explorer Font Awesome Theme.
- (bug #995): Correct and fix image load jquery event triggering for browser cache scenarios.
- (enh #991): Add Azerbaijan Translations.
- (enh #990): Ability to hide thumbnail content (`hideThumbnailContent`) and display only file name/size.
- (enh #989): Update Chinese Translations.
- (enh #987): Zoom preview arrows orientation for RTL.
- (enh #986): Image width parsing and styling enhancements.
- (enh #985): Do not reset input when upload fails (single-upload mode).
- (enh #981): Update Hungarian Translations.
- (enh #977): Add RTL capability (new property `rtl` to be set) - includes new `fileinput-rtl.css` (to be loaded after `fileinput.css` for RTL styling).
- (enh #973): Add SCSS image path variable and file-image alt style updates.

## version 4.4.1

**Date:** 25-May-2017
Expand Down
2 changes: 1 addition & 1 deletion src/public/js/plugins/bootstrap-fileinput/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ View the [plugin documentation](http://plugins.krajee.com/file-input) and [plugi
4. With release 4.0, AJAX uploads are supported. AJAX uploads require that the browser support HTML5 FormData and XHR2 (XMLHttpRequest 2). Most modern browsers support FormData and XHR2. The plugin will automatically degrade to normal form based submission for browsers not supporting AJAX uploads

> NOTE:
> - The latest version of the plugin is v4.4.1 (under development). Refer the [CHANGE LOG](https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md) for details.
> - The latest version of the plugin is v4.4.2 (under development). Refer the [CHANGE LOG](https://github.com/kartik-v/bootstrap-fileinput/blob/master/CHANGE.md) for details.
> - You can use the [sass branch](https://github.com/kartik-v/bootstrap-fileinput/tree/sass) for installation using `bootstrap-sass` dependency.
The [master branch](https://github.com/kartik-v/bootstrap-fileinput/tree/master) can be used for installation using plain `bootstrap` dependency.

Expand Down
2 changes: 1 addition & 1 deletion src/public/js/plugins/bootstrap-fileinput/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-fileinput",
"version": "4.4.1",
"version": "4.4.2",
"homepage": "https://github.com/kartik-v/bootstrap-fileinput",
"authors": [
"Kartik Visweswaran <[email protected]>"
Expand Down
121 changes: 121 additions & 0 deletions src/public/js/plugins/bootstrap-fileinput/css/fileinput-rtl.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
/*!
* bootstrap-fileinput v4.4.2
* http://plugins.krajee.com/file-input
*
* Krajee RTL (Right To Left) default styling for bootstrap-fileinput.
*
* Author: Kartik Visweswaran
* Copyright: 2014 - 2017, Kartik Visweswaran, Krajee.com
*
* Licensed under the BSD 3-Clause
* https://github.com/kartik-v/bootstrap-fileinput/blob/master/LICENSE.md
*/
.kv-rtl {
direction: rtl;
}

.kv-rtl .close {
float: left;
}

.kv-rtl .input-group-btn:last-child >.btn {
border-top-right-radius: 0 !important;
border-bottom-right-radius: 0 !important;
border-top-left-radius: 4px !important;
border-bottom-left-radius: 4px !important;

}

.kv-rtl .input-group .form-control:first-child {
border-top-right-radius: 4px !important;
border-bottom-right-radius: 4px !important;
border-top-left-radius: 0px !important;
border-bottom-left-radius: 0px !important;

}

.kv-rtl .file-loading {
right: auto;
left: 0;
text-align: left;
}

.kv-rtl .btn-file input[type=file] {
right: auto;
left: 0;
text-align: left;
background: none repeat scroll 100% 0 transparent;
}

.kv-rtl .file-zoom-dialog {
text-align: right;
}

.kv-rtl .file-error-message pre,
.kv-rtl .file-error-message ul {
text-align: right;
}

.kv-rtl .krajee-default.file-preview-frame {
box-shadow: -1px 1px 5px 0 #a2958a;
float: right;
}

.kv-rtl .krajee-default.file-preview-frame:not(.file-preview-error):hover {
box-shadow: -3px 3px 5px 0 #333;
}

.kv-rtl .krajee-default .file-actions,
.kv-rtl .krajee-default .file-other-error {
text-align: right;
}

.kv-rtl .krajee-default .file-footer-buttons {
float: left;
}

.kv-rtl .krajee-default .file-drag-handle,
.kv-rtl .krajee-default .file-upload-indicator {
left: auto;
right: -6px;
padding: 8px 3px 1px 8px;
border-top-left-radius: 24px;
border-top-right-radius: 0;
}

.kv-rtl .file-drop-zone {
margin: 12px 12px 12px 15px;
}

.kv-rtl .floating-buttons {
left: 10px;
right: auto;
}

.kv-rtl .kv-zoom-actions .btn,
.kv-rtl .floating-buttons .btn {
margin-right: 3px;
}

.kv-rtl .btn-prev {
right: 1px;
left: auto;
}

.kv-rtl .btn-next {
left: 1px;
right: auto;
}

.kv-rtl .pull-right {
float: left!important;
}

.kv-rtl .pull-left {
float: right!important;
}

.kv-rtl .modal-title {
float: right;
direction: ltr;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion src/public/js/plugins/bootstrap-fileinput/css/fileinput.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* bootstrap-fileinput v4.4.1
* bootstrap-fileinput v4.4.2
* http://plugins.krajee.com/file-input
*
* Krajee default styling for bootstrap-fileinput.
Expand Down Expand Up @@ -92,6 +92,11 @@
margin-bottom: 5px;
}

.file-preview-image {
font: 40px Impact, Charcoal, sans-serif;
color: green;
}

.krajee-default.file-preview-frame {
position: relative;
display: table;
Expand Down Expand Up @@ -474,6 +479,10 @@
background-color: #d9edf7;
}

.hide-content .kv-file-content {
display: none;
}

/* IE 10 fix */
.btn-file ::-ms-browse {
font-size: 10000px;
Expand Down
Loading

0 comments on commit d9845e0

Please sign in to comment.