kaui 3.0.1 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/app/assets/config/kaui_manifest.js +2 -44
- data/app/assets/images/kaui/logo.svg +37 -0
- data/app/assets/javascripts/application.js +12 -0
- data/app/assets/javascripts/kaui/kaui.js +7 -452
- data/app/assets/javascripts/kaui/kaui_override.js +441 -0
- data/app/assets/stylesheets/application.css +23 -0
- data/app/assets/stylesheets/kaui/account.css +34 -0
- data/app/assets/stylesheets/kaui/audit.css +19 -0
- data/app/assets/stylesheets/kaui/common.css +550 -0
- data/app/assets/stylesheets/kaui/datatable.css +71 -0
- data/app/assets/stylesheets/kaui/header.css +129 -0
- data/app/assets/stylesheets/kaui/home.css +72 -0
- data/app/assets/stylesheets/kaui/invoice.css +37 -0
- data/app/assets/stylesheets/kaui/kaui.css +152 -0
- data/app/assets/stylesheets/kaui/overdue.css +7 -0
- data/app/assets/stylesheets/kaui/payment.css +28 -0
- data/app/assets/stylesheets/kaui/subscription.css +15 -0
- data/app/assets/stylesheets/kaui/tags.css +137 -0
- data/app/assets/stylesheets/kaui/timeline.css +5 -0
- data/app/assets/stylesheets/kaui/tooltip.css +16 -0
- data/app/controllers/kaui/account_tags_controller.rb +1 -1
- data/app/controllers/kaui/accounts_controller.rb +5 -6
- data/app/controllers/kaui/admin_allowed_users_controller.rb +1 -1
- data/app/controllers/kaui/admin_tenants_controller.rb +22 -9
- data/app/controllers/kaui/audit_logs_controller.rb +3 -3
- data/app/controllers/kaui/bundle_tags_controller.rb +1 -1
- data/app/controllers/kaui/charges_controller.rb +1 -1
- data/app/controllers/kaui/credits_controller.rb +1 -1
- data/app/controllers/kaui/custom_fields_controller.rb +3 -3
- data/app/controllers/kaui/engine_controller_util.rb +1 -1
- data/app/controllers/kaui/home_controller.rb +25 -16
- data/app/controllers/kaui/invoice_items_controller.rb +1 -1
- data/app/controllers/kaui/invoice_tags_controller.rb +1 -1
- data/app/controllers/kaui/invoices_controller.rb +10 -5
- data/app/controllers/kaui/payment_methods_controller.rb +4 -4
- data/app/controllers/kaui/payments_controller.rb +1 -1
- data/app/controllers/kaui/refunds_controller.rb +3 -2
- data/app/controllers/kaui/subscriptions_controller.rb +17 -16
- data/app/controllers/kaui/transactions_controller.rb +3 -3
- data/app/helpers/kaui/object_helper.rb +16 -1
- data/app/models/kaui/admin_tenant.rb +1 -1
- data/app/models/kaui/catalog.rb +2 -2
- data/app/models/kaui/custom_field.rb +1 -1
- data/app/models/kaui/invoice_payment.rb +1 -1
- data/app/models/kaui/overdue.rb +2 -2
- data/app/models/kaui/payment_method.rb +4 -4
- data/app/models/kaui/tag.rb +2 -2
- data/app/models/kaui/tag_definition.rb +1 -1
- data/app/views/kaui/accounts/_billing_info.html.erb +2 -4
- data/app/views/kaui/accounts/_form.html.erb +3 -3
- data/app/views/kaui/accounts/index.html.erb +0 -1
- data/app/views/kaui/admin_tenants/new_overdue_config.html.erb +5 -5
- data/app/views/kaui/home/_advanced_search_modal.html.erb +22 -1
- data/app/views/kaui/invoices/show.html.erb +2 -1
- data/app/views/kaui/layouts/kaui_header.html.erb +2 -18
- data/app/views/kaui/layouts/kaui_navbar.html.erb +1 -1
- data/app/views/kaui/refunds/_form.html.erb +50 -2
- data/app/views/kaui/subscriptions/_cancel_by_date_modal.html.erb +1 -1
- data/app/views/kaui/subscriptions/_edit_form.html.erb +1 -1
- data/app/views/kaui/subscriptions/_form.html.erb +1 -1
- data/app/views/kaui/subscriptions/edit_bcd.erb +1 -1
- data/app/views/kaui/tag_definitions/_form.html.erb +1 -2
- data/config/routes.rb +1 -0
- data/lib/kaui/engine.rb +1 -4
- data/lib/kaui/version.rb +1 -1
- data/lib/kaui.rb +10 -10
- data/lib/tasks/kaui_tasks.rake +1 -0
- metadata +30 -131
- data/app/assets/images/kaui/logo.png +0 -0
- data/app/assets/javascripts/jquery.spin.js +0 -76
- data/app/assets/javascripts/kaui_application.js +0 -25
- data/app/assets/javascripts/spin.js +0 -76
- data/app/assets/stylesheets/bootstrap_and_overrides.scss +0 -240
- data/app/assets/stylesheets/kaui/account.scss +0 -52
- data/app/assets/stylesheets/kaui/audit.scss +0 -42
- data/app/assets/stylesheets/kaui/common.scss +0 -765
- data/app/assets/stylesheets/kaui/datatable.scss +0 -115
- data/app/assets/stylesheets/kaui/header.scss +0 -197
- data/app/assets/stylesheets/kaui/home.scss +0 -89
- data/app/assets/stylesheets/kaui/invoice.scss +0 -58
- data/app/assets/stylesheets/kaui/kaui.scss +0 -265
- data/app/assets/stylesheets/kaui/kaui_bootstrap.scss +0 -3
- data/app/assets/stylesheets/kaui/overdue.scss +0 -11
- data/app/assets/stylesheets/kaui/payment.scss +0 -43
- data/app/assets/stylesheets/kaui/subscription.scss +0 -27
- data/app/assets/stylesheets/kaui/tags.scss +0 -208
- data/app/assets/stylesheets/kaui/timeline.scss +0 -7
- data/app/assets/stylesheets/kaui/tooltip.scss +0 -15
- data/app/assets/stylesheets/kaui_application.css +0 -12
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kill Bill core team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|
@@ -38,34 +38,6 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bootstrap-datepicker-rails
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: bootstrap-sass
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 3.4.1
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 3.4.1
|
69
41
|
- !ruby/object:Gem::Dependency
|
70
42
|
name: cancan
|
71
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,20 +80,6 @@ dependencies:
|
|
108
80
|
- - ">="
|
109
81
|
- !ruby/object:Gem::Version
|
110
82
|
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: d3-rails
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
83
|
- !ruby/object:Gem::Dependency
|
126
84
|
name: devise
|
127
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -151,21 +109,21 @@ dependencies:
|
|
151
109
|
- !ruby/object:Gem::Version
|
152
110
|
version: '0'
|
153
111
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
112
|
+
name: jquery-rails
|
155
113
|
requirement: !ruby/object:Gem::Requirement
|
156
114
|
requirements:
|
157
|
-
- - "
|
115
|
+
- - "~>"
|
158
116
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
117
|
+
version: 4.5.1
|
160
118
|
type: :runtime
|
161
119
|
prerelease: false
|
162
120
|
version_requirements: !ruby/object:Gem::Requirement
|
163
121
|
requirements:
|
164
|
-
- - "
|
122
|
+
- - "~>"
|
165
123
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
124
|
+
version: 4.5.1
|
167
125
|
- !ruby/object:Gem::Dependency
|
168
|
-
name: jquery-
|
126
|
+
name: jquery-ui-rails
|
169
127
|
requirement: !ruby/object:Gem::Requirement
|
170
128
|
requirements:
|
171
129
|
- - ">="
|
@@ -179,21 +137,7 @@ dependencies:
|
|
179
137
|
- !ruby/object:Gem::Version
|
180
138
|
version: '0'
|
181
139
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - "~>"
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 4.5.1
|
188
|
-
type: :runtime
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - "~>"
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: 4.5.1
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: jquery-ui-rails
|
140
|
+
name: js-routes
|
197
141
|
requirement: !ruby/object:Gem::Requirement
|
198
142
|
requirements:
|
199
143
|
- - ">="
|
@@ -207,7 +151,7 @@ dependencies:
|
|
207
151
|
- !ruby/object:Gem::Version
|
208
152
|
version: '0'
|
209
153
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
154
|
+
name: jwt
|
211
155
|
requirement: !ruby/object:Gem::Requirement
|
212
156
|
requirements:
|
213
157
|
- - ">="
|
@@ -221,7 +165,7 @@ dependencies:
|
|
221
165
|
- !ruby/object:Gem::Version
|
222
166
|
version: '0'
|
223
167
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
168
|
+
name: kenui
|
225
169
|
requirement: !ruby/object:Gem::Requirement
|
226
170
|
requirements:
|
227
171
|
- - ">="
|
@@ -235,7 +179,7 @@ dependencies:
|
|
235
179
|
- !ruby/object:Gem::Version
|
236
180
|
version: '0'
|
237
181
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
182
|
+
name: killbill-assets-ui
|
239
183
|
requirement: !ruby/object:Gem::Requirement
|
240
184
|
requirements:
|
241
185
|
- - ">="
|
@@ -318,48 +262,6 @@ dependencies:
|
|
318
262
|
- - "~>"
|
319
263
|
- !ruby/object:Gem::Version
|
320
264
|
version: '7.0'
|
321
|
-
- !ruby/object:Gem::Dependency
|
322
|
-
name: sass
|
323
|
-
requirement: !ruby/object:Gem::Requirement
|
324
|
-
requirements:
|
325
|
-
- - ">="
|
326
|
-
- !ruby/object:Gem::Version
|
327
|
-
version: '0'
|
328
|
-
type: :runtime
|
329
|
-
prerelease: false
|
330
|
-
version_requirements: !ruby/object:Gem::Requirement
|
331
|
-
requirements:
|
332
|
-
- - ">="
|
333
|
-
- !ruby/object:Gem::Version
|
334
|
-
version: '0'
|
335
|
-
- !ruby/object:Gem::Dependency
|
336
|
-
name: sassc-rails
|
337
|
-
requirement: !ruby/object:Gem::Requirement
|
338
|
-
requirements:
|
339
|
-
- - ">="
|
340
|
-
- !ruby/object:Gem::Version
|
341
|
-
version: 2.1.0
|
342
|
-
type: :runtime
|
343
|
-
prerelease: false
|
344
|
-
version_requirements: !ruby/object:Gem::Requirement
|
345
|
-
requirements:
|
346
|
-
- - ">="
|
347
|
-
- !ruby/object:Gem::Version
|
348
|
-
version: 2.1.0
|
349
|
-
- !ruby/object:Gem::Dependency
|
350
|
-
name: sass-rails
|
351
|
-
requirement: !ruby/object:Gem::Requirement
|
352
|
-
requirements:
|
353
|
-
- - ">="
|
354
|
-
- !ruby/object:Gem::Version
|
355
|
-
version: '0'
|
356
|
-
type: :runtime
|
357
|
-
prerelease: false
|
358
|
-
version_requirements: !ruby/object:Gem::Requirement
|
359
|
-
requirements:
|
360
|
-
- - ">="
|
361
|
-
- !ruby/object:Gem::Version
|
362
|
-
version: '0'
|
363
265
|
- !ruby/object:Gem::Dependency
|
364
266
|
name: spinjs-rails
|
365
267
|
requirement: !ruby/object:Gem::Requirement
|
@@ -427,30 +329,27 @@ files:
|
|
427
329
|
- Rakefile
|
428
330
|
- app/assets/config/kaui_manifest.js
|
429
331
|
- app/assets/images/kaui/duck.png
|
430
|
-
- app/assets/images/kaui/logo.
|
332
|
+
- app/assets/images/kaui/logo.svg
|
431
333
|
- app/assets/images/kaui/search.png
|
432
334
|
- app/assets/images/kaui/search_white.png
|
433
|
-
- app/assets/javascripts/
|
335
|
+
- app/assets/javascripts/application.js
|
434
336
|
- app/assets/javascripts/kaui/kaui.js
|
435
|
-
- app/assets/javascripts/
|
436
|
-
- app/assets/
|
437
|
-
- app/assets/stylesheets/
|
438
|
-
- app/assets/stylesheets/kaui/
|
439
|
-
- app/assets/stylesheets/kaui/
|
440
|
-
- app/assets/stylesheets/kaui/
|
441
|
-
- app/assets/stylesheets/kaui/
|
442
|
-
- app/assets/stylesheets/kaui/
|
443
|
-
- app/assets/stylesheets/kaui/
|
444
|
-
- app/assets/stylesheets/kaui/
|
445
|
-
- app/assets/stylesheets/kaui/
|
446
|
-
- app/assets/stylesheets/kaui/
|
447
|
-
- app/assets/stylesheets/kaui/
|
448
|
-
- app/assets/stylesheets/kaui/
|
449
|
-
- app/assets/stylesheets/kaui/
|
450
|
-
- app/assets/stylesheets/kaui/
|
451
|
-
- app/assets/stylesheets/kaui/timeline.scss
|
452
|
-
- app/assets/stylesheets/kaui/tooltip.scss
|
453
|
-
- app/assets/stylesheets/kaui_application.css
|
337
|
+
- app/assets/javascripts/kaui/kaui_override.js
|
338
|
+
- app/assets/stylesheets/application.css
|
339
|
+
- app/assets/stylesheets/kaui/account.css
|
340
|
+
- app/assets/stylesheets/kaui/audit.css
|
341
|
+
- app/assets/stylesheets/kaui/common.css
|
342
|
+
- app/assets/stylesheets/kaui/datatable.css
|
343
|
+
- app/assets/stylesheets/kaui/header.css
|
344
|
+
- app/assets/stylesheets/kaui/home.css
|
345
|
+
- app/assets/stylesheets/kaui/invoice.css
|
346
|
+
- app/assets/stylesheets/kaui/kaui.css
|
347
|
+
- app/assets/stylesheets/kaui/overdue.css
|
348
|
+
- app/assets/stylesheets/kaui/payment.css
|
349
|
+
- app/assets/stylesheets/kaui/subscription.css
|
350
|
+
- app/assets/stylesheets/kaui/tags.css
|
351
|
+
- app/assets/stylesheets/kaui/timeline.css
|
352
|
+
- app/assets/stylesheets/kaui/tooltip.css
|
454
353
|
- app/controllers/kaui/account_children_controller.rb
|
455
354
|
- app/controllers/kaui/account_custom_fields_controller.rb
|
456
355
|
- app/controllers/kaui/account_emails_controller.rb
|
Binary file
|
@@ -1,76 +0,0 @@
|
|
1
|
-
// Generated by CoffeeScript 1.6.3
|
2
|
-
/*
|
3
|
-
jQuery Spin
|
4
|
-
Copyright 2014 Kevin Sylvestre
|
5
|
-
1.1.6
|
6
|
-
*/
|
7
|
-
|
8
|
-
|
9
|
-
(function() {
|
10
|
-
"use strict";
|
11
|
-
var $, Spinner;
|
12
|
-
|
13
|
-
$ = jQuery;
|
14
|
-
|
15
|
-
Spinner = (function() {
|
16
|
-
Spinner.prototype.defaults = {
|
17
|
-
petals: 9
|
18
|
-
};
|
19
|
-
|
20
|
-
function Spinner($element, options) {
|
21
|
-
this.$element = $element;
|
22
|
-
this.options = $.extend({}, this.defaults, options);
|
23
|
-
this.configure();
|
24
|
-
}
|
25
|
-
|
26
|
-
Spinner.prototype.show = function() {
|
27
|
-
return this.$element.animate({
|
28
|
-
opacity: 1.0
|
29
|
-
});
|
30
|
-
};
|
31
|
-
|
32
|
-
Spinner.prototype.hide = function() {
|
33
|
-
return this.$element.animate({
|
34
|
-
opacity: 0.0
|
35
|
-
});
|
36
|
-
};
|
37
|
-
|
38
|
-
Spinner.prototype.destroy = function() {
|
39
|
-
this.$element.empty();
|
40
|
-
return this.$element.data('spin', void 0);
|
41
|
-
};
|
42
|
-
|
43
|
-
Spinner.prototype.configure = function() {
|
44
|
-
var $petal, i, _i, _ref, _results;
|
45
|
-
this.$element.empty();
|
46
|
-
_results = [];
|
47
|
-
for (i = _i = 0, _ref = this.options.petals; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
|
48
|
-
$petal = $("<div />");
|
49
|
-
_results.push(this.$element.append($petal));
|
50
|
-
}
|
51
|
-
return _results;
|
52
|
-
};
|
53
|
-
|
54
|
-
return Spinner;
|
55
|
-
|
56
|
-
})();
|
57
|
-
|
58
|
-
$.fn.spin = function(options) {
|
59
|
-
return $(this).each(function() {
|
60
|
-
var $this, spinner;
|
61
|
-
$this = $(this);
|
62
|
-
spinner = $this.data('spinner');
|
63
|
-
if (spinner == null) {
|
64
|
-
$this.data('spinner', spinner = new Spinner($this, options));
|
65
|
-
}
|
66
|
-
if (typeof options === 'string') {
|
67
|
-
return spinner[options]();
|
68
|
-
}
|
69
|
-
});
|
70
|
-
};
|
71
|
-
|
72
|
-
$(function() {
|
73
|
-
return $('[data-spin]').spin();
|
74
|
-
});
|
75
|
-
|
76
|
-
}).call(this);
|
@@ -1,25 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
// the compiled file.
|
6
|
-
//
|
7
|
-
//
|
8
|
-
//= link js-routes
|
9
|
-
//= link jquery-ui/widgets/autocomplete
|
10
|
-
//= link jquery_ujs
|
11
|
-
//= link bootstrap-sprockets.js
|
12
|
-
//= link dataTables/jquery.dataTables
|
13
|
-
//= link dataTables/bootstrap/3/jquery.dataTables.bootstrap
|
14
|
-
//= link mustache
|
15
|
-
//= link kaui/kaui
|
16
|
-
//= link popper
|
17
|
-
//= link bootstrap-datepicker3
|
18
|
-
|
19
|
-
import * as d3 from "d3"
|
20
|
-
window.d3 = d3
|
21
|
-
|
22
|
-
import jquery from 'jquery';
|
23
|
-
window.jQuery = jquery;
|
24
|
-
window.$ = jquery;
|
25
|
-
window.jquery = jquery;
|
@@ -1,76 +0,0 @@
|
|
1
|
-
// Generated by CoffeeScript 1.6.3
|
2
|
-
/*
|
3
|
-
jQuery Spin
|
4
|
-
Copyright 2014 Kevin Sylvestre
|
5
|
-
1.1.6
|
6
|
-
*/
|
7
|
-
|
8
|
-
|
9
|
-
(function() {
|
10
|
-
"use strict";
|
11
|
-
var $, Spinner;
|
12
|
-
|
13
|
-
$ = jQuery;
|
14
|
-
|
15
|
-
Spinner = (function() {
|
16
|
-
Spinner.prototype.defaults = {
|
17
|
-
petals: 9
|
18
|
-
};
|
19
|
-
|
20
|
-
function Spinner($element, options) {
|
21
|
-
this.$element = $element;
|
22
|
-
this.options = $.extend({}, this.defaults, options);
|
23
|
-
this.configure();
|
24
|
-
}
|
25
|
-
|
26
|
-
Spinner.prototype.show = function() {
|
27
|
-
return this.$element.animate({
|
28
|
-
opacity: 1.0
|
29
|
-
});
|
30
|
-
};
|
31
|
-
|
32
|
-
Spinner.prototype.hide = function() {
|
33
|
-
return this.$element.animate({
|
34
|
-
opacity: 0.0
|
35
|
-
});
|
36
|
-
};
|
37
|
-
|
38
|
-
Spinner.prototype.destroy = function() {
|
39
|
-
this.$element.empty();
|
40
|
-
return this.$element.data('spin', void 0);
|
41
|
-
};
|
42
|
-
|
43
|
-
Spinner.prototype.configure = function() {
|
44
|
-
var $petal, i, _i, _ref, _results;
|
45
|
-
this.$element.empty();
|
46
|
-
_results = [];
|
47
|
-
for (i = _i = 0, _ref = this.options.petals; 0 <= _ref ? _i < _ref : _i > _ref; i = 0 <= _ref ? ++_i : --_i) {
|
48
|
-
$petal = $("<div />");
|
49
|
-
_results.push(this.$element.append($petal));
|
50
|
-
}
|
51
|
-
return _results;
|
52
|
-
};
|
53
|
-
|
54
|
-
return Spinner;
|
55
|
-
|
56
|
-
})();
|
57
|
-
|
58
|
-
$.fn.spin = function(options) {
|
59
|
-
return $(this).each(function() {
|
60
|
-
var $this, spinner;
|
61
|
-
$this = $(this);
|
62
|
-
spinner = $this.data('spinner');
|
63
|
-
if (spinner == null) {
|
64
|
-
$this.data('spinner', spinner = new Spinner($this, options));
|
65
|
-
}
|
66
|
-
if (typeof options === 'string') {
|
67
|
-
return spinner[options]();
|
68
|
-
}
|
69
|
-
});
|
70
|
-
};
|
71
|
-
|
72
|
-
$(function() {
|
73
|
-
return $('[data-spin]').spin();
|
74
|
-
});
|
75
|
-
|
76
|
-
}).call(this);
|
@@ -1,240 +0,0 @@
|
|
1
|
-
|
2
|
-
// popover max width
|
3
|
-
.popover {
|
4
|
-
max-width: 350px;
|
5
|
-
}
|
6
|
-
|
7
|
-
//@todo: Remove?
|
8
|
-
/// Set the correct sprite paths
|
9
|
-
|
10
|
-
|
11
|
-
// Set the Font Awesome (Font Awesome is default. You can disable by commenting below lines)
|
12
|
-
$fontAwesomeEotPath: font-url("fontawesome-webfont.eot");
|
13
|
-
$fontAwesomeEotPath_iefix: font-url("fontawesome-webfont.eot?#iefix");
|
14
|
-
$fontAwesomeWoffPath: font-url("fontawesome-webfont.woff");
|
15
|
-
$fontAwesomeTtfPath: font-url("fontawesome-webfont.ttf");
|
16
|
-
$fontAwesomeSvgPath: font-url("fontawesome-webfont.svg#fontawesomeregular");
|
17
|
-
|
18
|
-
//@todo: Remove?
|
19
|
-
// Font Awesome
|
20
|
-
//@import "font-awesome.css";
|
21
|
-
|
22
|
-
/* Override Bootstrap 5 font locations */
|
23
|
-
@font-face {
|
24
|
-
font-family: 'Glyphicons Halflings';
|
25
|
-
src: image-url('glyphicons-halflings-regular.eot');
|
26
|
-
src: image-url('glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
|
27
|
-
image-url('glyphicons-halflings-regular.woff') format('woff'),
|
28
|
-
image-url('glyphicons-halflings-regular.ttf') format('truetype'),
|
29
|
-
image-url('glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
|
30
|
-
}
|
31
|
-
|
32
|
-
|
33
|
-
$smphone: unquote("max-width: 450px");
|
34
|
-
$phone: unquote("max-width: 768px");
|
35
|
-
$tablet: unquote("max-width: 1024px");
|
36
|
-
|
37
|
-
.tag-bar {
|
38
|
-
border-bottom: 1px solid #ddd;
|
39
|
-
margin-bottom: 0;
|
40
|
-
position: relative;
|
41
|
-
|
42
|
-
.tag-select {
|
43
|
-
display: inline-block;
|
44
|
-
vertical-align: middle;
|
45
|
-
|
46
|
-
@media ($smphone) {
|
47
|
-
width: 35%;
|
48
|
-
}
|
49
|
-
|
50
|
-
span {
|
51
|
-
padding: 5px 20px;
|
52
|
-
text-align: center;
|
53
|
-
display: block;
|
54
|
-
border-right: 1px solid #ddd;
|
55
|
-
|
56
|
-
@media ($phone) {
|
57
|
-
border: 0;
|
58
|
-
}
|
59
|
-
|
60
|
-
i {
|
61
|
-
margin: 0 5px;
|
62
|
-
color: #515151;
|
63
|
-
font-size: 16px;
|
64
|
-
|
65
|
-
&.fa-caret-down {
|
66
|
-
color: #999999;
|
67
|
-
font-size: 12px;
|
68
|
-
}
|
69
|
-
|
70
|
-
&.fa-tag {
|
71
|
-
font-size: 18px;
|
72
|
-
}
|
73
|
-
|
74
|
-
&.fa-money, &.fa-credit-card {
|
75
|
-
font-size: 16px;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
}
|
79
|
-
|
80
|
-
&:hover {
|
81
|
-
.tag-select-box {
|
82
|
-
max-height: 500px;
|
83
|
-
padding: 20px 25px;
|
84
|
-
border: 1px solid #ddd;
|
85
|
-
box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.11);
|
86
|
-
}
|
87
|
-
}
|
88
|
-
|
89
|
-
.tag-select-box {
|
90
|
-
position: absolute;
|
91
|
-
top: 100%;
|
92
|
-
left: -1px;
|
93
|
-
max-height: 0;
|
94
|
-
background-color: #fff;
|
95
|
-
z-index: 100;
|
96
|
-
padding: 0 15px;
|
97
|
-
font-size: 12px;
|
98
|
-
color: #999999;
|
99
|
-
overflow: auto;
|
100
|
-
width: auto;
|
101
|
-
border-bottom: 0;
|
102
|
-
display: inline-block;
|
103
|
-
|
104
|
-
@media ($phone) {
|
105
|
-
border: 0;
|
106
|
-
}
|
107
|
-
|
108
|
-
strong {
|
109
|
-
display: block;
|
110
|
-
font-weight: 400;
|
111
|
-
margin: 0 0 10px;
|
112
|
-
}
|
113
|
-
|
114
|
-
form {
|
115
|
-
display: inline-block;
|
116
|
-
width: 210px;
|
117
|
-
}
|
118
|
-
|
119
|
-
input[type=checkbox] {
|
120
|
-
display: inline-block;
|
121
|
-
width: 9%;
|
122
|
-
margin: 0 1% 0 0;
|
123
|
-
line-height: 20px;
|
124
|
-
vertical-align: middle;
|
125
|
-
}
|
126
|
-
|
127
|
-
label {
|
128
|
-
font-size: 12px;
|
129
|
-
display: inline-block;
|
130
|
-
width: 85%;
|
131
|
-
line-height: 20px;
|
132
|
-
vertical-align: middle;
|
133
|
-
margin: 0;
|
134
|
-
font-weight: 400;
|
135
|
-
}
|
136
|
-
|
137
|
-
textarea {
|
138
|
-
resize: none;
|
139
|
-
height: 80px;
|
140
|
-
margin: 0 0 20px;
|
141
|
-
width: 100%;
|
142
|
-
}
|
143
|
-
|
144
|
-
a {
|
145
|
-
display: block;
|
146
|
-
font-size: 12px;
|
147
|
-
line-height: 20px;
|
148
|
-
}
|
149
|
-
}
|
150
|
-
}
|
151
|
-
|
152
|
-
.tag-selected {
|
153
|
-
display: inline-block;
|
154
|
-
padding: 2px 5px;
|
155
|
-
vertical-align: middle;
|
156
|
-
|
157
|
-
@media ($phone) {
|
158
|
-
width: 64%;
|
159
|
-
padding: 2px;
|
160
|
-
overflow: hidden;
|
161
|
-
border-left: 1px solid #ddd;
|
162
|
-
}
|
163
|
-
|
164
|
-
span {
|
165
|
-
display: inline-block;
|
166
|
-
font-size: 12px;
|
167
|
-
color: #777777;
|
168
|
-
background: #e5e5e5;
|
169
|
-
padding: 3px 20px;
|
170
|
-
margin: 0 5px;
|
171
|
-
transition: all 0.5s;
|
172
|
-
cursor: pointer;
|
173
|
-
|
174
|
-
&:hover {
|
175
|
-
background-color: #cce9eb;
|
176
|
-
}
|
177
|
-
|
178
|
-
@media ($phone) {
|
179
|
-
font-size: 10px;
|
180
|
-
padding: 3px 5px;
|
181
|
-
display: block;
|
182
|
-
margin: 0 0 2px;
|
183
|
-
}
|
184
|
-
}
|
185
|
-
}
|
186
|
-
}
|
187
|
-
|
188
|
-
.tag-bar-breathe {
|
189
|
-
margin-bottom: 30px;
|
190
|
-
}
|
191
|
-
|
192
|
-
.tag-bar-no-border {
|
193
|
-
border-bottom: 0;
|
194
|
-
|
195
|
-
.tag-select {
|
196
|
-
span {
|
197
|
-
border-right: 0;
|
198
|
-
}
|
199
|
-
}
|
200
|
-
}
|
201
|
-
|
202
|
-
#main-menu {
|
203
|
-
.tag-bar {
|
204
|
-
.tag-select {
|
205
|
-
position: relative;
|
206
|
-
}
|
207
|
-
.tag-select-box {
|
208
|
-
word-break: keep-all;
|
209
|
-
white-space: nowrap;
|
210
|
-
}
|
211
|
-
}
|
212
|
-
}
|
213
|
-
|
214
|
-
.inline-row-tag-bar{
|
215
|
-
padding-left: 10px !important;
|
216
|
-
|
217
|
-
.tag-bar {
|
218
|
-
|
219
|
-
.tag-select {
|
220
|
-
span {
|
221
|
-
padding: 5px;
|
222
|
-
border-right: none;
|
223
|
-
|
224
|
-
i {
|
225
|
-
margin: 0 3px;
|
226
|
-
font-size: 12px;
|
227
|
-
|
228
|
-
&.fa-tag {
|
229
|
-
font-size: 12px;
|
230
|
-
}
|
231
|
-
}
|
232
|
-
}
|
233
|
-
}
|
234
|
-
.tag-select-box {
|
235
|
-
label {
|
236
|
-
white-space: nowrap;
|
237
|
-
}
|
238
|
-
}
|
239
|
-
}
|
240
|
-
}
|