nunify 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/lib/nunify.rb +2 -0
  3. data/lib/nunify/engine.rb +6 -0
  4. data/lib/nunify/version.rb +3 -0
  5. data/lib/tasks/nunify_tasks.rake +4 -0
  6. metadata +5 -47
  7. data/vendor/assets/images/nunify/bg-black.png +0 -0
  8. data/vendor/assets/images/nunify/bg-black1.png +0 -0
  9. data/vendor/assets/images/nunify/bg-breadcrumb.png +0 -0
  10. data/vendor/assets/images/nunify/bg-green.png +0 -0
  11. data/vendor/assets/images/nunify/bg-white.png +0 -0
  12. data/vendor/assets/images/nunify/overlay-icon.png +0 -0
  13. data/vendor/assets/images/nunify/patterns/1.png +0 -0
  14. data/vendor/assets/images/nunify/patterns/10.png +0 -0
  15. data/vendor/assets/images/nunify/patterns/11.png +0 -0
  16. data/vendor/assets/images/nunify/patterns/12.png +0 -0
  17. data/vendor/assets/images/nunify/patterns/13.png +0 -0
  18. data/vendor/assets/images/nunify/patterns/14.png +0 -0
  19. data/vendor/assets/images/nunify/patterns/15.png +0 -0
  20. data/vendor/assets/images/nunify/patterns/2.png +0 -0
  21. data/vendor/assets/images/nunify/patterns/3.png +0 -0
  22. data/vendor/assets/images/nunify/patterns/4.png +0 -0
  23. data/vendor/assets/images/nunify/patterns/5.png +0 -0
  24. data/vendor/assets/images/nunify/patterns/6.png +0 -0
  25. data/vendor/assets/images/nunify/patterns/7.png +0 -0
  26. data/vendor/assets/images/nunify/patterns/8.png +0 -0
  27. data/vendor/assets/images/nunify/patterns/9.png +0 -0
  28. data/vendor/assets/javascripts/nunify.js +0 -3
  29. data/vendor/assets/javascripts/nunify/app.js +0 -256
  30. data/vendor/assets/javascripts/nunify/plugins/circles-master.js +0 -141
  31. data/vendor/assets/javascripts/nunify/plugins/datepicker.js +0 -63
  32. data/vendor/assets/javascripts/nunify/plugins/form-sliders.js +0 -78
  33. data/vendor/assets/javascripts/nunify/plugins/masking.js +0 -16
  34. data/vendor/assets/javascripts/nunify/plugins/owl-carousel.js +0 -72
  35. data/vendor/assets/javascripts/nunify/plugins/validation.js +0 -134
  36. data/vendor/assets/javascripts/nunify/plugins/vector-map.js +0 -276
  37. data/vendor/assets/stylesheets/nunify.scss +0 -7
  38. data/vendor/assets/stylesheets/nunify/app.scss +0 -2743
  39. data/vendor/assets/stylesheets/nunify/plugins.scss +0 -542
  40. data/vendor/assets/stylesheets/nunify/plugins/animate.css +0 -2728
  41. data/vendor/assets/stylesheets/nunify/plugins/box-shadows.css +0 -60
  42. data/vendor/assets/stylesheets/nunify/style.scss +0 -2312
  43. data/vendor/assets/stylesheets/nunify/themes/aqua.css +0 -862
  44. data/vendor/assets/stylesheets/nunify/themes/blue.css +0 -864
  45. data/vendor/assets/stylesheets/nunify/themes/brown.css +0 -864
  46. data/vendor/assets/stylesheets/nunify/themes/dark-blue.css +0 -864
  47. data/vendor/assets/stylesheets/nunify/themes/default.css +0 -503
  48. data/vendor/assets/stylesheets/nunify/themes/light-green.css +0 -864
  49. data/vendor/assets/stylesheets/nunify/themes/light.css +0 -853
  50. data/vendor/assets/stylesheets/nunify/themes/orange.css +0 -863
  51. data/vendor/assets/stylesheets/nunify/themes/purple.css +0 -864
  52. data/vendor/assets/stylesheets/nunify/themes/red.css +0 -876
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a41d1acb28acb3fcbde63f19d7a42ef916a30af
4
- data.tar.gz: bf968c74b58eec56b288344ef9984d3dd0147dd6
3
+ metadata.gz: 9f851a81ae6281e74790afbf74ac3f498a27c916
4
+ data.tar.gz: 655dab7a520c842de0e955e2388ae280567d53e4
5
5
  SHA512:
6
- metadata.gz: 8d3b7983b815498ff25e4fecca34e56458d5636e49651752539ae5c24a2a44f71671318a3a21c3cbd154fac4e5d554434f6f2d3ba4e7c07a454f2e78590ca627
7
- data.tar.gz: ae7a06dbca1f72f932b73955a58aadeda974a58403637e4520e92f4cfe67fe8b427eb80168f96c5090ab27ee553c9873eb41cb6527c4eacafc5b60d9acf7c8d0
6
+ metadata.gz: dcdcdfe42c0a8146946e7493d59db54fd0329e3114afb1d0cf7c085532b93edf297708a995cde0d3173f7676a73c9723ba91e444484d7d70efedee7d27fe2fff
7
+ data.tar.gz: d2b089b3e71aa6692c6c8a68c5e18f59e414a5abcb0ab0070b4ea291b85fbb3f0205df90d811a0784ba9e6fe28c829c7282e87645cadf0331435f5c9ab6b9f9a
@@ -0,0 +1,2 @@
1
+ require 'nunify/engine'
2
+
@@ -0,0 +1,6 @@
1
+ module Nunify
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,3 @@
1
+ module Nunify
2
+ VERSION = "0.5.3"
3
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :nunify do
3
+ # # Task goes here
4
+ # end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nunify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - huynhquancam
@@ -76,6 +76,10 @@ files:
76
76
  - MIT-LICENSE
77
77
  - README.md
78
78
  - Rakefile
79
+ - lib/nunify.rb
80
+ - lib/nunify/engine.rb
81
+ - lib/nunify/version.rb
82
+ - lib/tasks/nunify_tasks.rake
79
83
  - test/dummy/README.rdoc
80
84
  - test/dummy/Rakefile
81
85
  - test/dummy/app/assets/javascripts/application.js
@@ -159,52 +163,6 @@ files:
159
163
  - test/dummy/tmp/cache/assets/development/sprockets/fef1ef6b90b2672589bf251a67b5cb89
160
164
  - test/nunify_test.rb
161
165
  - test/test_helper.rb
162
- - vendor/assets/images/nunify/bg-black.png
163
- - vendor/assets/images/nunify/bg-black1.png
164
- - vendor/assets/images/nunify/bg-breadcrumb.png
165
- - vendor/assets/images/nunify/bg-green.png
166
- - vendor/assets/images/nunify/bg-white.png
167
- - vendor/assets/images/nunify/overlay-icon.png
168
- - vendor/assets/images/nunify/patterns/1.png
169
- - vendor/assets/images/nunify/patterns/10.png
170
- - vendor/assets/images/nunify/patterns/11.png
171
- - vendor/assets/images/nunify/patterns/12.png
172
- - vendor/assets/images/nunify/patterns/13.png
173
- - vendor/assets/images/nunify/patterns/14.png
174
- - vendor/assets/images/nunify/patterns/15.png
175
- - vendor/assets/images/nunify/patterns/2.png
176
- - vendor/assets/images/nunify/patterns/3.png
177
- - vendor/assets/images/nunify/patterns/4.png
178
- - vendor/assets/images/nunify/patterns/5.png
179
- - vendor/assets/images/nunify/patterns/6.png
180
- - vendor/assets/images/nunify/patterns/7.png
181
- - vendor/assets/images/nunify/patterns/8.png
182
- - vendor/assets/images/nunify/patterns/9.png
183
- - vendor/assets/javascripts/nunify.js
184
- - vendor/assets/javascripts/nunify/app.js
185
- - vendor/assets/javascripts/nunify/plugins/circles-master.js
186
- - vendor/assets/javascripts/nunify/plugins/datepicker.js
187
- - vendor/assets/javascripts/nunify/plugins/form-sliders.js
188
- - vendor/assets/javascripts/nunify/plugins/masking.js
189
- - vendor/assets/javascripts/nunify/plugins/owl-carousel.js
190
- - vendor/assets/javascripts/nunify/plugins/validation.js
191
- - vendor/assets/javascripts/nunify/plugins/vector-map.js
192
- - vendor/assets/stylesheets/nunify.scss
193
- - vendor/assets/stylesheets/nunify/app.scss
194
- - vendor/assets/stylesheets/nunify/plugins.scss
195
- - vendor/assets/stylesheets/nunify/plugins/animate.css
196
- - vendor/assets/stylesheets/nunify/plugins/box-shadows.css
197
- - vendor/assets/stylesheets/nunify/style.scss
198
- - vendor/assets/stylesheets/nunify/themes/aqua.css
199
- - vendor/assets/stylesheets/nunify/themes/blue.css
200
- - vendor/assets/stylesheets/nunify/themes/brown.css
201
- - vendor/assets/stylesheets/nunify/themes/dark-blue.css
202
- - vendor/assets/stylesheets/nunify/themes/default.css
203
- - vendor/assets/stylesheets/nunify/themes/light-green.css
204
- - vendor/assets/stylesheets/nunify/themes/light.css
205
- - vendor/assets/stylesheets/nunify/themes/orange.css
206
- - vendor/assets/stylesheets/nunify/themes/purple.css
207
- - vendor/assets/stylesheets/nunify/themes/red.css
208
166
  homepage: http://neember.com
209
167
  licenses:
210
168
  - MIT
@@ -1,3 +0,0 @@
1
- //= require nunify/app
2
- //= require_tree ./nunify/plugins
3
-
@@ -1,256 +0,0 @@
1
- /*
2
- * Template Name: Unify - Responsive Bootstrap Template
3
- * Description: Business, Corporate, Portfolio and Blog Theme.
4
- * Version: 1.4
5
- * Author: @htmlstream
6
- * Website: http://htmlstream.com
7
- */
8
-
9
- var App = function () {
10
-
11
- function handleIEFixes() {
12
- //fix html5 placeholder attribute for ie7 & ie8
13
- if (jQuery.browser.msie && jQuery.browser.version.substr(0, 1) < 9) { // ie7&ie8
14
- jQuery('input[placeholder], textarea[placeholder]').each(function () {
15
- var input = jQuery(this);
16
-
17
- jQuery(input).val(input.attr('placeholder'));
18
-
19
- jQuery(input).focus(function () {
20
- if (input.val() == input.attr('placeholder')) {
21
- input.val('');
22
- }
23
- });
24
-
25
- jQuery(input).blur(function () {
26
- if (input.val() == '' || input.val() == input.attr('placeholder')) {
27
- input.val(input.attr('placeholder'));
28
- }
29
- });
30
- });
31
- }
32
- }
33
-
34
- function handleBootstrap() {
35
- /*Bootstrap Carousel*/
36
- jQuery('.carousel').carousel({
37
- interval: 15000,
38
- pause: 'hover'
39
- });
40
-
41
- /*Tooltips*/
42
- jQuery('.tooltips').tooltip();
43
- jQuery('.tooltips-show').tooltip('show');
44
- jQuery('.tooltips-hide').tooltip('hide');
45
- jQuery('.tooltips-toggle').tooltip('toggle');
46
- jQuery('.tooltips-destroy').tooltip('destroy');
47
-
48
- /*Popovers*/
49
- jQuery('.popovers').popover();
50
- jQuery('.popovers-show').popover('show');
51
- jQuery('.popovers-hide').popover('hide');
52
- jQuery('.popovers-toggle').popover('toggle');
53
- jQuery('.popovers-destroy').popover('destroy');
54
- }
55
-
56
- function handleSearch() {
57
- jQuery('.search').click(function () {
58
- if(jQuery('.search-btn').hasClass('fa-search')){
59
- jQuery('.search-open').fadeIn(500);
60
- jQuery('.search-btn').removeClass('fa-search');
61
- jQuery('.search-btn').addClass('fa-times');
62
- } else {
63
- jQuery('.search-open').fadeOut(500);
64
- jQuery('.search-btn').addClass('fa-search');
65
- jQuery('.search-btn').removeClass('fa-times');
66
- }
67
- });
68
- }
69
-
70
- function handleToggle() {
71
- jQuery('.list-toggle').on('click', function() {
72
- jQuery(this).toggleClass('active');
73
- });
74
-
75
- /*
76
- jQuery('#serviceList').on('shown.bs.collapse'), function() {
77
- jQuery(".servicedrop").addClass('glyphicon-chevron-up').removeClass('glyphicon-chevron-down');
78
- }
79
-
80
- jQuery('#serviceList').on('hidden.bs.collapse'), function() {
81
- jQuery(".servicedrop").addClass('glyphicon-chevron-down').removeClass('glyphicon-chevron-up');
82
- }
83
- */
84
- }
85
-
86
- function handleSwitcher() {
87
- var panel = jQuery('.style-switcher');
88
-
89
- jQuery('.style-switcher-btn').click(function () {
90
- jQuery('.style-switcher').show();
91
- });
92
-
93
- jQuery('.theme-close').click(function () {
94
- jQuery('.style-switcher').hide();
95
- });
96
-
97
- jQuery('li', panel).click(function () {
98
- var color = jQuery(this).attr("data-style");
99
- var data_header = jQuery(this).attr("data-header");
100
- setColor(color, data_header);
101
- jQuery('.list-unstyled li', panel).removeClass("theme-active");
102
- jQuery(this).addClass("theme-active");
103
- });
104
-
105
- var setColor = function (color, data_header) {
106
- jQuery('#style_color').attr("href", "assets/css/themes/" + color + ".css");
107
- if(data_header == 'light'){
108
- jQuery('#style_color-header-1').attr("href", "assets/css/themes/headers/header1-" + color + ".css");
109
- jQuery('#logo-header').attr("src", "assets/img/logo1-" + color + ".png");
110
- jQuery('#logo-footer').attr("src", "assets/img/logo2-" + color + ".png");
111
- } else if(data_header == 'dark'){
112
- jQuery('#style_color-header-2').attr("href", "assets/css/themes/headers/header2-" + color + ".css");
113
- jQuery('#logo-header').attr("src", "assets/img/logo1-" + color + ".png");
114
- jQuery('#logo-footer').attr("src", "assets/img/logo2-" + color + ".png");
115
- }
116
- }
117
- }
118
-
119
- function handleBoxed() {
120
- jQuery('.boxed-layout-btn').click(function(){
121
- jQuery(this).addClass("active-switcher-btn");
122
- jQuery(".wide-layout-btn").removeClass("active-switcher-btn");
123
- jQuery("body").addClass("boxed-layout container");
124
- });
125
- jQuery('.wide-layout-btn').click(function(){
126
- jQuery(this).addClass("active-switcher-btn");
127
- jQuery(".boxed-layout-btn").removeClass("active-switcher-btn");
128
- jQuery("body").removeClass("boxed-layout container");
129
- });
130
- }
131
-
132
- function handleHeader() {
133
- jQuery(window).scroll(function() {
134
- if (jQuery(window).scrollTop()>100){
135
- jQuery(".header-fixed .header").addClass("header-fixed-shrink");
136
- }
137
- else {
138
- jQuery(".header-fixed .header").removeClass("header-fixed-shrink");
139
- }
140
- });
141
- }
142
-
143
- return {
144
- init: function () {
145
- handleBootstrap();
146
- handleIEFixes();
147
- handleSearch();
148
- handleToggle();
149
- handleSwitcher();
150
- handleBoxed();
151
- handleHeader();
152
- },
153
-
154
- initSliders: function () {
155
- jQuery('#clients-flexslider').flexslider({
156
- animation: "slide",
157
- easing: "swing",
158
- animationLoop: true,
159
- itemWidth: 1,
160
- itemMargin: 1,
161
- minItems: 2,
162
- maxItems: 9,
163
- controlNav: false,
164
- directionNav: false,
165
- move: 2
166
- });
167
-
168
- jQuery('#clients-flexslider1').flexslider({
169
- animation: "slide",
170
- easing: "swing",
171
- animationLoop: true,
172
- itemWidth: 1,
173
- itemMargin: 1,
174
- minItems: 2,
175
- maxItems: 5,
176
- controlNav: false,
177
- directionNav: false,
178
- move: 2
179
- });
180
-
181
- jQuery('#photo-flexslider').flexslider({
182
- animation: "slide",
183
- controlNav: false,
184
- animationLoop: false,
185
- itemWidth: 80,
186
- itemMargin: 0
187
- });
188
-
189
- jQuery('#testimonal_carousel').collapse({
190
- toggle: false
191
- });
192
- },
193
-
194
- initFancybox: function () {
195
- jQuery(".fancybox-button").fancybox({
196
- groupAttr: 'data-rel',
197
- prevEffect: 'none',
198
- nextEffect: 'none',
199
- closeBtn: true,
200
- helpers: {
201
- title: {
202
- type: 'inside'
203
- }
204
- }
205
- });
206
-
207
- jQuery(".iframe").fancybox({
208
- maxWidth : 800,
209
- maxHeight : 600,
210
- fitToView : false,
211
- width : '70%',
212
- height : '70%',
213
- autoSize : false,
214
- closeClick : false,
215
- openEffect : 'none',
216
- closeEffect : 'none'
217
- });
218
- },
219
-
220
- initBxSlider: function () {
221
- jQuery('.bxslider').bxSlider({
222
- maxSlides: 4,
223
- minSlides: 4,
224
- slideWidth: 360,
225
- slideMargin: 10,
226
- });
227
-
228
- jQuery('.bxslider1').bxSlider({
229
- minSlides: 3,
230
- maxSlides: 3,
231
- slideWidth: 360,
232
- slideMargin: 10
233
- });
234
-
235
- jQuery('.bxslider2').bxSlider({
236
- minSlides: 2,
237
- maxSlides: 2,
238
- slideWidth: 360,
239
- slideMargin: 10
240
- });
241
- },
242
-
243
- initCounter: function () {
244
- jQuery('.counter').counterUp({
245
- delay: 10,
246
- time: 1000
247
- });
248
- },
249
-
250
- initParallaxBg: function () {
251
- jQuery('.parallaxBg').parallax("50%", 0.2);
252
- },
253
-
254
- };
255
-
256
- }();
@@ -1,141 +0,0 @@
1
- var CirclesMaster = function () {
2
-
3
- return {
4
-
5
- //Circles Master v1
6
- initCirclesMaster1: function () {
7
- //Circles 1
8
- Circles.create({
9
- id: 'circle-1',
10
- percentage: 87,
11
- radius: 80,
12
- width: 8,
13
- number: 87,
14
- text: '%',
15
- colors: ['#eee', '#72c02c'],
16
- duration: 2000
17
- })
18
-
19
- //Circles 2
20
- Circles.create({
21
- id: 'circle-2',
22
- percentage: 74,
23
- radius: 80,
24
- width: 8,
25
- number: 74,
26
- text: '%',
27
- colors: ['#eee', '#72c02c'],
28
- duration: 2000
29
- })
30
-
31
- //Circles 3
32
- Circles.create({
33
- id: 'circle-3',
34
- percentage: 65,
35
- radius: 80,
36
- width: 8,
37
- number: 65,
38
- text: '%',
39
- colors: ['#eee', '#72c02c'],
40
- duration: 2000
41
- })
42
-
43
- //Circles 4
44
- Circles.create({
45
- id: 'circle-4',
46
- percentage: 69,
47
- radius: 35,
48
- width: 2,
49
- number: 69,
50
- text: '%',
51
- colors: ['#eee', '#72c02c'],
52
- duration: 2000
53
- })
54
-
55
- //Circles 5
56
- Circles.create({
57
- id: 'circle-5',
58
- percentage: 82,
59
- radius: 35,
60
- width: 2,
61
- number: 82,
62
- text: '%',
63
- colors: ['#eee', '#9B6BCC'],
64
- duration: 2000
65
- })
66
-
67
- //Circles 6
68
- Circles.create({
69
- id: 'circle-6',
70
- percentage: 87,
71
- radius: 80,
72
- width: 3,
73
- number: 87,
74
- text: '%',
75
- colors: ['#eee', '#72c02c'],
76
- duration: 2000
77
- })
78
-
79
- //Circles 7
80
- Circles.create({
81
- id: 'circle-7',
82
- percentage: 74,
83
- radius: 80,
84
- width: 3,
85
- number: 74,
86
- text: '%',
87
- colors: ['#eee', '#72c02c'],
88
- duration: 2000
89
- })
90
-
91
- //Circles 8
92
- Circles.create({
93
- id: 'circle-8',
94
- percentage: 65,
95
- radius: 80,
96
- width: 3,
97
- number: 65,
98
- text: '%',
99
- colors: ['#eee', '#72c02c'],
100
- duration: 2000
101
- })
102
-
103
- //Circles 9
104
- Circles.create({
105
- id: 'circle-9',
106
- percentage: 91,
107
- radius: 80,
108
- width: 3,
109
- number: 91,
110
- text: '%',
111
- colors: ['#eee', '#72c02c'],
112
- duration: 2000
113
- })
114
- },
115
-
116
- //Circles Master v2
117
- initCirclesMaster2: function () {
118
- var colors = [
119
- ['#D3B6C6', '#9B6BCC'], ['#C9FF97', '#72c02c'], ['#BEE3F7', '#3498DB'], ['#FFC2BB', '#E74C3C']
120
- ];
121
-
122
- for (var i = 1; i <= 4; i++) {
123
- var child = document.getElementById('circles-' + i),
124
- percentage = 45 + (i * 9);
125
-
126
- Circles.create({
127
- id: child.id,
128
- percentage: percentage,
129
- radius: 70,
130
- width: 2,
131
- number: percentage / 1,
132
- text: '%',
133
- colors: colors[i - 1],
134
- duration: 2000,
135
- });
136
- }
137
- }
138
-
139
- };
140
-
141
- }();