jekyll-theme-glueckkanja 0.8.3 → 0.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -3
  3. data/_sass/font-awesome/scss/_icons.scss +91 -0
  4. data/_sass/font-awesome/scss/_rotated-flipped.scss +3 -2
  5. data/_sass/font-awesome/scss/_variables.scss +93 -1
  6. data/_sass/font-awesome/scss/brands.scss +1 -4
  7. data/_sass/font-awesome/scss/fontawesome.scss +0 -4
  8. data/_sass/font-awesome/scss/regular.scss +1 -4
  9. data/_sass/font-awesome/scss/solid.scss +1 -4
  10. data/_sass/font-awesome/scss/v4-shims.scss +0 -4
  11. data/assets/favicons/de.svg +5 -0
  12. data/assets/favicons/gk-logo-white.png +0 -0
  13. data/assets/favicons/us.svg +10 -0
  14. data/assets/img/cbp-sprite.png +0 -0
  15. data/assets/js/components/_hs.dropdown.js +612 -0
  16. data/assets/js/components/gmap/hs.map.js +347 -0
  17. data/assets/js/components/hs.ajax-autocomplete.js +103 -0
  18. data/assets/js/components/hs.autocomplete-local-search.js +113 -0
  19. data/assets/js/components/hs.autocomplete.js +125 -0
  20. data/assets/js/components/hs.bg-video.js +70 -0
  21. data/assets/js/components/hs.carousel-materialize.js +75 -0
  22. data/assets/js/components/hs.carousel-owl.js +89 -0
  23. data/assets/js/components/hs.carousel-swiper.js +123 -0
  24. data/assets/js/components/hs.carousel.js +283 -0
  25. data/assets/js/components/hs.chart-pie.js +220 -0
  26. data/assets/js/components/hs.chart.js +155 -0
  27. data/assets/js/components/hs.count-qty.js +92 -0
  28. data/assets/js/components/hs.countdown.js +359 -0
  29. data/assets/js/components/hs.counter.js +220 -0
  30. data/assets/js/components/hs.cubeportfolio.js +163 -0
  31. data/assets/js/components/hs.datepicker.js +149 -0
  32. data/assets/js/components/hs.dropdown.js +522 -0
  33. data/assets/js/components/hs.file-attachement.js +135 -0
  34. data/assets/js/components/hs.flickr.js +180 -0
  35. data/assets/js/components/hs.go-to.js +121 -0
  36. data/assets/js/components/hs.header-fullscreen.js +397 -0
  37. data/assets/js/components/hs.header-side.js +1096 -0
  38. data/assets/js/components/hs.header.js +2128 -0
  39. data/assets/js/components/hs.instagram.js +94 -0
  40. data/assets/js/components/hs.map.pin.js +82 -0
  41. data/assets/js/components/hs.map.svg.js +80 -0
  42. data/assets/js/components/hs.markup-copy.js +102 -0
  43. data/assets/js/components/hs.masked-input.js +74 -0
  44. data/assets/js/components/hs.modal-event.js +134 -0
  45. data/assets/js/components/hs.modal-window.js +422 -0
  46. data/assets/js/components/hs.navigation.js +690 -0
  47. data/assets/js/components/hs.nl-form.js +70 -0
  48. data/assets/js/components/hs.onscroll-animation.js +190 -0
  49. data/assets/js/components/hs.popup.js +310 -0
  50. data/assets/js/components/hs.progress-bar.js +353 -0
  51. data/assets/js/components/hs.rating.js +153 -0
  52. data/assets/js/components/hs.scroll-nav.js +373 -0
  53. data/assets/js/components/hs.scrollbar.js +102 -0
  54. data/assets/js/components/hs.select.js +91 -0
  55. data/assets/js/components/hs.slider.js +99 -0
  56. data/assets/js/components/hs.smart-menu.js +233 -0
  57. data/assets/js/components/hs.step-form-old.js +94 -0
  58. data/assets/js/components/hs.step-form.js +93 -0
  59. data/assets/js/components/hs.sticky-block.js +418 -0
  60. data/assets/js/components/hs.tabs.js +186 -0
  61. data/assets/js/components/hs.twitter.js +111 -0
  62. data/assets/js/components/hs.validation.js +111 -0
  63. data/assets/js/components/hs.video-audio.js +70 -0
  64. data/assets/js/components/text-animation/hs.text-slideshow.js +348 -0
  65. data/assets/js/helpers/hs.bg-video.js +23 -0
  66. data/assets/js/helpers/hs.chart.js +66 -0
  67. data/assets/js/helpers/hs.compressed-form.js +55 -0
  68. data/assets/js/helpers/hs.file-attachments.js +39 -0
  69. data/assets/js/helpers/hs.focus-state.js +37 -0
  70. data/assets/js/helpers/hs.hamburgers.js +69 -0
  71. data/assets/js/helpers/hs.height-calc.js +31 -0
  72. data/assets/js/helpers/hs.hover-blocks.js +43 -0
  73. data/assets/js/helpers/hs.modal-markup.js +89 -0
  74. data/assets/js/helpers/hs.navigation-splitted.js +169 -0
  75. data/assets/js/helpers/hs.not-empty-state.js +34 -0
  76. data/assets/js/helpers/hs.rating.js +45 -0
  77. data/assets/js/helpers/hs.selecter.js +14 -0
  78. data/assets/js/helpers/hs.shortcode-filter.js +39 -0
  79. data/assets/js/hs.core.js +250 -0
  80. data/assets/js/hs.popup.js +155 -0
  81. data/assets/js/vendor/jquery.cubeportfolio.js +6054 -0
  82. data/assets/js/vendor/jquery.fancybox.js +4936 -0
  83. data/assets/nav/pixel-trans.png +0 -0
  84. data/assets/nav/pixel-trans@2x.png +0 -0
  85. metadata +75 -1
@@ -0,0 +1,522 @@
1
+ /**
2
+ * Dropdown component.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ */
7
+ ;
8
+ (function($) {
9
+ 'use strict';
10
+
11
+ $.HSCore.components.HSDropdown = {
12
+
13
+ /**
14
+ * Base configuration of the component.
15
+ *
16
+ * @private
17
+ */
18
+ _baseConfig: {
19
+
20
+ dropdownEvent: 'click',
21
+ dropdownType: 'simple',
22
+ dropdownDuration: 300,
23
+ dropdownEasing: 'linear',
24
+ dropdownAnimationIn: 'fadeIn',
25
+ dropdownAnimationOut: 'fadeOut',
26
+ dropdownHideOnScroll: true,
27
+ dropdownHideOnBlur: false,
28
+ dropdownDelay: 350,
29
+
30
+ afterOpen: function(invoker){},
31
+ afterClose: function(invoker){}
32
+ },
33
+
34
+ /**
35
+ * Collection of all initialized items on the page.
36
+ *
37
+ * @private
38
+ */
39
+ _pageCollection: $(),
40
+
41
+ /**
42
+ * Initialization.
43
+ *
44
+ * @param {jQuery} collection
45
+ * @param {Object} config
46
+ *
47
+ * @public
48
+ * @return {jQuery}
49
+ */
50
+ init: function(collection, config) {
51
+
52
+ var self;
53
+
54
+ if( !collection || !collection.length ) return;
55
+
56
+ self = this;
57
+
58
+ collection.each(function(i, el){
59
+
60
+ var $this = $(el), itemConfig;
61
+
62
+ if( $this.data('HSDropDown') ) return;
63
+
64
+ itemConfig = config && $.isPlainObject(config) ?
65
+ $.extend(true, {}, self._baseConfig, config, $this.data()) :
66
+ $.extend(true, {}, self._baseConfig, $this.data());
67
+
68
+ switch( itemConfig.dropdownType ) {
69
+
70
+ case 'css-animation' :
71
+
72
+ $this.data('HSDropDown', new DropdownCSSAnimation($this, itemConfig));
73
+
74
+ break;
75
+
76
+ case 'jquery-slide' :
77
+
78
+ $this.data('HSDropDown', new DropdownJSlide($this, itemConfig));
79
+
80
+ break;
81
+
82
+ default :
83
+
84
+ $this.data('HSDropDown', new DropdownSimple($this, itemConfig));
85
+
86
+ }
87
+
88
+ self._pageCollection = self._pageCollection.add( $this );
89
+ self._bindEvents( $this, itemConfig.dropdownEvent, itemConfig.dropdownDelay );
90
+
91
+ });
92
+
93
+ $(document).on('keyup.HSDropDown', function(e){
94
+
95
+ if(e.keyCode && e.keyCode == 27) {
96
+
97
+ self._pageCollection.each( function(i, el){
98
+
99
+ $(el).data('HSDropDown').hide();
100
+
101
+ } );
102
+
103
+ }
104
+
105
+ });
106
+
107
+ $(window).on('scroll.HSDropDown', function(e){
108
+
109
+ self._pageCollection.each(function(i, el){
110
+
111
+ var DropDown = $(el).data('HSDropDown');
112
+
113
+ if(DropDown.getOption('dropdownHideOnScroll')) {
114
+
115
+ DropDown.hide();
116
+
117
+ }
118
+
119
+ });
120
+
121
+ });
122
+
123
+ $(window).on('resize.HSDropDown', function(e){
124
+
125
+ if(self._resizeTimeOutId) clearTimeout(self._resizeTimeOutId);
126
+
127
+ self._resizeTimeOutId = setTimeout(function(){
128
+
129
+ self._pageCollection.each(function(i, el){
130
+
131
+ var DropDown = $(el).data('HSDropDown');
132
+
133
+ DropDown.smartPosition(DropDown.target);
134
+
135
+ });
136
+
137
+ }, 50);
138
+
139
+ });
140
+
141
+ return collection;
142
+
143
+ },
144
+
145
+ /**
146
+ * Binds necessary events.
147
+ *
148
+ * @param {jQuery} $invoker
149
+ * @param {String} eventType
150
+ * @param {Number} delay
151
+ * @private
152
+ */
153
+ _bindEvents: function( $invoker, eventType, delay ) {
154
+
155
+ var $dropdown = $($invoker.data('dropdown-target'));
156
+
157
+ if( eventType == 'hover' && !_isTouch() ) {
158
+
159
+ $invoker.on('mouseenter.HSDropDown', function(e) {
160
+
161
+ var $invoker = $(this),
162
+ HSDropDown = $invoker.data('HSDropDown');
163
+
164
+ if( !HSDropDown ) return;
165
+
166
+ if( HSDropDown.dropdownTimeOut ) clearTimeout( HSDropDown.dropdownTimeOut );
167
+ HSDropDown.show();
168
+
169
+ })
170
+ .on('mouseleave.HSDropDown', function(e) {
171
+
172
+ var $invoker = $(this),
173
+ HSDropDown = $invoker.data('HSDropDown');
174
+
175
+ if( !HSDropDown ) return;
176
+
177
+ HSDropDown.dropdownTimeOut = setTimeout(function(){
178
+
179
+ HSDropDown.hide();
180
+
181
+ }, delay);
182
+
183
+ });
184
+
185
+ if( $dropdown.length ) {
186
+ $dropdown.on('mouseenter.HSDropDown', function(e){
187
+
188
+ var HSDropDown = $invoker.data('HSDropDown');
189
+
190
+ if( HSDropDown.dropdownTimeOut ) clearTimeout( HSDropDown.dropdownTimeOut );
191
+ HSDropDown.show();
192
+
193
+ })
194
+ .on('mouseleave.HSDropDown', function(e) {
195
+
196
+ var HSDropDown = $invoker.data('HSDropDown');
197
+
198
+ HSDropDown.dropdownTimeOut = setTimeout(function() {
199
+ HSDropDown.hide();
200
+ }, delay);
201
+
202
+ });
203
+ }
204
+
205
+ }
206
+ else {
207
+
208
+ $invoker.on('click.HSDropDown', function(e){
209
+
210
+ var $invoker = $(this);
211
+
212
+ if( !$invoker.data('HSDropDown') ) return;
213
+
214
+ $invoker.data('HSDropDown').toggle();
215
+
216
+ e.stopPropagation();
217
+ e.preventDefault();
218
+
219
+ });
220
+
221
+ }
222
+
223
+ }
224
+ };
225
+
226
+ function _isTouch() {
227
+ return 'ontouchstart' in window;
228
+ }
229
+
230
+ /**
231
+ * Abstract Dropdown class.
232
+ *
233
+ * @param {jQuery} element
234
+ * @param {Object} config
235
+ * @abstract
236
+ */
237
+ function AbstractDropdown(element, config) {
238
+
239
+ if( !element.length ) return false;
240
+
241
+ this.element = element;
242
+ this.config = config;
243
+
244
+ this.target = $(this.element.data('dropdown-target'));
245
+
246
+ this.allInvokers = $('[data-dropdown-target="'+this.element.data('dropdown-target')+'"]');
247
+
248
+ this.toggle = function() {
249
+ if( !this.target.length ) return this;
250
+
251
+ if( this.defaultState ) {
252
+ this.show();
253
+ }
254
+ else {
255
+ this.hide();
256
+ }
257
+
258
+ return this;
259
+ };
260
+
261
+ this.smartPosition = function( target ) {
262
+
263
+ if(target.data('baseDirection')) {
264
+ target.css(
265
+ target.data('baseDirection').direction,
266
+ target.data('baseDirection').value
267
+ );
268
+ }
269
+
270
+ target.removeClass('u-dropdown--reverse-y');
271
+
272
+ var $w = $(window),
273
+ styles = getComputedStyle(target.get(0)),
274
+ direction = Math.abs( parseInt( styles.left, 10) ) < 40 ? 'left' : 'right',
275
+ targetOuterGeometry = target.offset();
276
+
277
+ // horizontal axis
278
+ if(direction == 'right') {
279
+
280
+ if( !target.data('baseDirection') ) target.data('baseDirection', {
281
+ direction: 'right',
282
+ value: parseInt( styles.right, 10)
283
+ } );
284
+
285
+ if( targetOuterGeometry.left < 0 ) {
286
+
287
+ target.css(
288
+ 'right',
289
+ (parseInt( target.css('right'), 10 ) - (targetOuterGeometry.left - 10 )) * -1
290
+ );
291
+
292
+ }
293
+
294
+ }
295
+ else {
296
+
297
+ if( !target.data('baseDirection') ) target.data('baseDirection', {
298
+ direction: 'left',
299
+ value: parseInt( styles.left, 10)
300
+ } );
301
+
302
+ if( targetOuterGeometry.left + target.outerWidth() > $w.width() ) {
303
+
304
+ target.css(
305
+ 'left',
306
+ (parseInt( target.css('left'), 10 ) - (targetOuterGeometry.left + target.outerWidth() + 10 - $w.width()))
307
+ );
308
+
309
+ }
310
+
311
+ }
312
+
313
+ // vertical axis
314
+ if( targetOuterGeometry.top + target.outerHeight() - $w.scrollTop() > $w.height() ) {
315
+ target.addClass('u-dropdown--reverse-y');
316
+ }
317
+
318
+ };
319
+
320
+ this.getOption = function(option){
321
+ return this.config[option] ? this.config[option] : null;
322
+ };
323
+
324
+ return true;
325
+ }
326
+
327
+
328
+ /**
329
+ * DropdownSimple constructor.
330
+ *
331
+ * @param {jQuery} element
332
+ * @param {Object} config
333
+ * @constructor
334
+ */
335
+ function DropdownSimple(element, config) {
336
+ if( !AbstractDropdown.call(this, element, config) ) return;
337
+
338
+ Object.defineProperty(this, 'defaultState', {
339
+ get: function() {
340
+ return this.target.hasClass('u-dropdown--hidden');
341
+ }
342
+ });
343
+
344
+ this.target.addClass('u-dropdown--simple');
345
+
346
+ this.hide();
347
+ }
348
+
349
+ /**
350
+ * Shows dropdown.
351
+ *
352
+ * @public
353
+ * @return {DropdownSimple}
354
+ */
355
+ DropdownSimple.prototype.show = function() {
356
+
357
+ this.smartPosition(this.target);
358
+
359
+ this.target.removeClass('u-dropdown--hidden');
360
+ if( this.allInvokers.length ) this.allInvokers.attr('aria-expanded', 'true');
361
+ this.config.afterOpen.call(this.target, this.element);
362
+
363
+ return this;
364
+ }
365
+
366
+ /**
367
+ * Hides dropdown.
368
+ *
369
+ * @public
370
+ * @return {DropdownSimple}
371
+ */
372
+ DropdownSimple.prototype.hide = function() {
373
+
374
+ this.target.addClass('u-dropdown--hidden');
375
+ if( this.allInvokers.length ) this.allInvokers.attr('aria-expanded', 'false');
376
+ this.config.afterClose.call(this.target, this.element);
377
+
378
+ return this;
379
+ }
380
+
381
+ /**
382
+ * DropdownCSSAnimation constructor.
383
+ *
384
+ * @param {jQuery} element
385
+ * @param {Object} config
386
+ * @constructor
387
+ */
388
+ function DropdownCSSAnimation(element, config) {
389
+ if( !AbstractDropdown.call(this, element, config) ) return;
390
+
391
+ var self = this;
392
+
393
+ this.target
394
+ .addClass('u-dropdown--css-animation u-dropdown--hidden')
395
+ .css('animation-duration', self.config.dropdownDuration + 'ms');
396
+
397
+ Object.defineProperty(this, 'defaultState', {
398
+ get: function() {
399
+ return this.target.hasClass('u-dropdown--hidden');
400
+ }
401
+ });
402
+
403
+ if(this.target.length) {
404
+
405
+ this.target.on('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(e){
406
+
407
+ if( self.target.hasClass( self.config.dropdownAnimationOut ) ) {
408
+ self.target.removeClass( self.config.dropdownAnimationOut )
409
+ .addClass('u-dropdown--hidden');
410
+
411
+
412
+ if( self.allInvokers.length ) self.allInvokers.attr('aria-expanded', 'false');
413
+
414
+ self.config.afterClose.call(self.target, self.element);
415
+ }
416
+
417
+ if( self.target.hasClass( self.config.dropdownAnimationIn ) ) {
418
+
419
+ if( self.allInvokers.length ) self.allInvokers.attr('aria-expanded', 'true');
420
+
421
+ self.config.afterOpen.call(self.target, self.element);
422
+ }
423
+
424
+ e.preventDefault();
425
+ e.stopPropagation();
426
+ });
427
+
428
+ }
429
+ }
430
+
431
+ /**
432
+ * Shows dropdown.
433
+ *
434
+ * @public
435
+ * @return {DropdownCSSAnimation}
436
+ */
437
+ DropdownCSSAnimation.prototype.show = function() {
438
+
439
+ this.smartPosition(this.target);
440
+
441
+ this.target.removeClass( 'u-dropdown--hidden' )
442
+ .removeClass( this.config.dropdownAnimationOut )
443
+ .addClass( this.config.dropdownAnimationIn );
444
+
445
+ }
446
+
447
+ /**
448
+ * Hides dropdown.
449
+ *
450
+ * @public
451
+ * @return {DropdownCSSAnimation}
452
+ */
453
+ DropdownCSSAnimation.prototype.hide = function() {
454
+
455
+ this.target.removeClass( this.config.dropdownAnimationIn )
456
+ .addClass( this.config.dropdownAnimationOut );
457
+
458
+ }
459
+
460
+ /**
461
+ * DropdownSlide constructor.
462
+ *
463
+ * @param {jQuery} element
464
+ * @param {Object} config
465
+ * @constructor
466
+ */
467
+ function DropdownJSlide(element, config) {
468
+ if( !AbstractDropdown.call(this, element, config) ) return;
469
+
470
+ this.target.addClass('u-dropdown--jquery-slide u-dropdown--hidden').hide();
471
+
472
+ Object.defineProperty(this, 'defaultState', {
473
+ get: function() {
474
+ return this.target.hasClass('u-dropdown--hidden');
475
+ }
476
+ });
477
+ }
478
+
479
+ /**
480
+ * Shows dropdown.
481
+ *
482
+ * @public
483
+ * @return {DropdownJSlide}
484
+ */
485
+ DropdownJSlide.prototype.show = function() {
486
+
487
+ var self = this;
488
+
489
+ this.smartPosition(this.target);
490
+
491
+ this.target.removeClass('u-dropdown--hidden').stop().slideDown({
492
+ duration: self.config.dropdownDuration,
493
+ easing: self.config.dropdownEasing,
494
+ complete: function(){
495
+ self.config.afterOpen.call(self.target, self.element);
496
+ }
497
+ });
498
+
499
+ }
500
+
501
+ /**
502
+ * Hides dropdown.
503
+ *
504
+ * @public
505
+ * @return {DropdownJSlide}
506
+ */
507
+ DropdownJSlide.prototype.hide = function() {
508
+
509
+ var self = this;
510
+
511
+ this.target.stop().slideUp({
512
+ duration: self.config.dropdownDuration,
513
+ easing: self.config.dropdownEasing,
514
+ complete: function(){
515
+ self.config.afterClose.call(self.target, self.element);
516
+ self.target.addClass('u-dropdown--hidden');
517
+ }
518
+ });
519
+
520
+ }
521
+
522
+ })(jQuery);
@@ -0,0 +1,135 @@
1
+ /**
2
+ * File attachment wrapper.
3
+ *
4
+ * @author Htmlstream
5
+ * @version 1.0
6
+ *
7
+ */
8
+ ;(function ($) {
9
+ 'use strict';
10
+
11
+ $.HSCore.components.HSFileAttachment = {
12
+ /**
13
+ *
14
+ *
15
+ * @var Object _baseConfig
16
+ */
17
+ _baseConfig: {
18
+ input: '<div class="u-file-attach-v3 g-mb-15">\
19
+ <h3 class="g-font-size-16 g-color-gray-dark-v2 mb-0">Drop files here or <span class="g-color-primary">Browse your device</span></h3>\
20
+ <p class="g-font-size-14 g-color-gray-light-v2 mb-0">Maximum file size 10mb</p>\
21
+ </div>',
22
+ box: '<div class="js-result-list row"></div>',
23
+ item: '<div class="js-result-list__item col-md-3 text-center">\
24
+ <div class="g-pa-10 g-brd-around g-brd-gray-light-v2">\
25
+ <h3 class="g-font-size-16 g-color-gray-dark-v2 g-mb-5">{{fi-name}}</h3>\
26
+ <p class="g-font-size-12 g-color-gray-light-v2 g-mb-5">{{fi-size2}}</p>\
27
+ <div class="g-mb-10">{{fi-image}}</div>\
28
+ <div class="text-left">{{fi-progressBar}}</div>\
29
+ </div>\
30
+ </div>',
31
+ itemAppend: '<div class="js-result-list__item col-md-3">\
32
+ <div class="g-pa-10 g-brd-around g-brd-gray-light-v2">\
33
+ <h3 class="g-font-size-16 g-color-gray-dark-v2 g-mb-5">{{fi-name}}</h3>\
34
+ <p class="g-font-size-12 g-color-gray-light-v2 g-mb-5">{{fi-size2}}</p>\
35
+ <div class="g-mb-10">{{fi-image}}</div>\
36
+ <div class="text-left">{{fi-progressBar}}</div>\
37
+ <div>{{fi-icon}}</div>\
38
+ <div><i class="js-result-list-item-remove fa fa-close"></i></div>\
39
+ </div>\
40
+ </div>',
41
+ progressBar: '<progress class="u-progress-bar-v1"></progress>',
42
+ selectors: {
43
+ list: '.js-result-list',
44
+ item: '.js-result-list__item',
45
+ progressBar: '.u-progress-bar-v1',
46
+ remove: '.js-result-list-item-remove'
47
+ }
48
+ },
49
+
50
+ /**
51
+ *
52
+ *
53
+ * @var jQuery pageCollection
54
+ */
55
+ pageCollection: $(),
56
+
57
+ /**
58
+ * Initialization of File attachment wrapper.
59
+ *
60
+ * @param String selector (optional)
61
+ * @param Object config (optional)
62
+ *
63
+ * @return jQuery pageCollection - collection of initialized items.
64
+ */
65
+
66
+ init: function (selector, config) {
67
+
68
+ this.collection = selector && $(selector).length ? $(selector) : $();
69
+ if (!$(selector).length) return;
70
+
71
+ this.config = config && $.isPlainObject(config) ?
72
+ $.extend({}, this._baseConfig, config) : this._baseConfig;
73
+
74
+ this.config.itemSelector = selector;
75
+
76
+ this.initFileAttachment();
77
+
78
+ return this.pageCollection;
79
+
80
+ },
81
+
82
+ initFileAttachment: function () {
83
+ //Variables
84
+ var $self = this,
85
+ config = $self.config,
86
+ collection = $self.pageCollection;
87
+
88
+ //Actions
89
+ this.collection.each(function (i, el) {
90
+ //Variables
91
+ var $this = $(el);
92
+
93
+ $this.filer({
94
+ changeInput: config.input,
95
+ showThumbs: true,
96
+ templates: {
97
+ box: config.box,
98
+ item: config.item,
99
+ itemAppend: config.itemAppend,
100
+ progressBar: config.progressBar,
101
+ _selectors: config.selectors,
102
+ itemAppendToEnd: false,
103
+ removeConfirmation: true
104
+ },
105
+ dragDrop: {},
106
+ uploadFile: {
107
+ url: '../../../assets/include/php/file-upload/upload.php',
108
+ data: {},
109
+ type: 'POST',
110
+ enctype: 'multipart/form-data',
111
+ beforeSend: function () {
112
+ },
113
+ success: function (data, el) {
114
+ var parent = el.find(".u-progress-bar-v1").parent();
115
+ el.find(".u-progress-bar-v1").fadeOut("slow", function () {
116
+ $("<div class=\"text-success g-px-10\"><i class=\"fa fa-check-circle\"></i> Success</div>").hide().appendTo(parent).fadeIn("slow");
117
+ });
118
+ },
119
+ error: function (el) {
120
+ var parent = el.find(".u-progress-bar-v1").parent();
121
+ el.find(".u-progress-bar-v1").fadeOut("slow", function () {
122
+ $("<div class=\"text-error g-px-10\"><i class=\"fa fa-minus-circle\"></i> Error</div>").hide().appendTo(parent).fadeIn("slow");
123
+ });
124
+ }
125
+ }
126
+ });
127
+
128
+ //Actions
129
+ collection = collection.add($this);
130
+ });
131
+ }
132
+
133
+ };
134
+
135
+ })(jQuery);