kaui 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/app/assets/config/kaui_manifest.js +2 -44
  4. data/app/assets/javascripts/application.js +12 -0
  5. data/app/assets/javascripts/kaui/kaui.js +7 -452
  6. data/app/assets/javascripts/kaui/kaui_override.js +441 -0
  7. data/app/assets/stylesheets/application.css +23 -0
  8. data/app/assets/stylesheets/kaui/account.css +34 -0
  9. data/app/assets/stylesheets/kaui/audit.css +19 -0
  10. data/app/assets/stylesheets/kaui/common.css +550 -0
  11. data/app/assets/stylesheets/kaui/datatable.css +71 -0
  12. data/app/assets/stylesheets/kaui/header.css +129 -0
  13. data/app/assets/stylesheets/kaui/home.css +72 -0
  14. data/app/assets/stylesheets/kaui/invoice.css +37 -0
  15. data/app/assets/stylesheets/kaui/kaui.css +152 -0
  16. data/app/assets/stylesheets/kaui/overdue.css +7 -0
  17. data/app/assets/stylesheets/kaui/payment.css +28 -0
  18. data/app/assets/stylesheets/kaui/subscription.css +15 -0
  19. data/app/assets/stylesheets/kaui/tags.css +137 -0
  20. data/app/assets/stylesheets/kaui/timeline.css +5 -0
  21. data/app/assets/stylesheets/kaui/tooltip.css +16 -0
  22. data/app/controllers/kaui/account_tags_controller.rb +1 -1
  23. data/app/controllers/kaui/admin_allowed_users_controller.rb +1 -1
  24. data/app/controllers/kaui/admin_tenants_controller.rb +3 -3
  25. data/app/controllers/kaui/bundle_tags_controller.rb +1 -1
  26. data/app/controllers/kaui/engine_controller_util.rb +1 -1
  27. data/app/controllers/kaui/home_controller.rb +21 -12
  28. data/app/controllers/kaui/invoice_tags_controller.rb +1 -1
  29. data/app/controllers/kaui/invoices_controller.rb +6 -1
  30. data/app/controllers/kaui/payment_methods_controller.rb +1 -1
  31. data/app/controllers/kaui/subscriptions_controller.rb +9 -8
  32. data/app/controllers/kaui/transactions_controller.rb +1 -1
  33. data/app/helpers/kaui/object_helper.rb +16 -1
  34. data/app/models/kaui/admin_tenant.rb +1 -1
  35. data/app/models/kaui/catalog.rb +2 -2
  36. data/app/models/kaui/invoice_payment.rb +1 -1
  37. data/app/models/kaui/overdue.rb +2 -2
  38. data/app/models/kaui/tag.rb +2 -2
  39. data/app/models/kaui/tag_definition.rb +1 -1
  40. data/app/views/kaui/accounts/_billing_info.html.erb +2 -4
  41. data/app/views/kaui/accounts/_form.html.erb +3 -3
  42. data/app/views/kaui/accounts/index.html.erb +0 -1
  43. data/app/views/kaui/admin_tenants/new_overdue_config.html.erb +5 -5
  44. data/app/views/kaui/home/_advanced_search_modal.html.erb +22 -1
  45. data/app/views/kaui/invoices/show.html.erb +2 -1
  46. data/app/views/kaui/layouts/kaui_header.html.erb +2 -18
  47. data/app/views/kaui/refunds/_form.html.erb +50 -2
  48. data/app/views/kaui/subscriptions/_cancel_by_date_modal.html.erb +1 -1
  49. data/app/views/kaui/subscriptions/_edit_form.html.erb +1 -1
  50. data/app/views/kaui/subscriptions/_form.html.erb +1 -1
  51. data/app/views/kaui/subscriptions/edit_bcd.erb +1 -1
  52. data/app/views/kaui/tag_definitions/_form.html.erb +1 -2
  53. data/config/routes.rb +1 -0
  54. data/lib/kaui/engine.rb +1 -4
  55. data/lib/kaui/version.rb +1 -1
  56. data/lib/kaui.rb +10 -10
  57. metadata +29 -130
  58. data/app/assets/javascripts/jquery.spin.js +0 -76
  59. data/app/assets/javascripts/kaui_application.js +0 -25
  60. data/app/assets/javascripts/spin.js +0 -76
  61. data/app/assets/stylesheets/bootstrap_and_overrides.scss +0 -240
  62. data/app/assets/stylesheets/kaui/account.scss +0 -52
  63. data/app/assets/stylesheets/kaui/audit.scss +0 -42
  64. data/app/assets/stylesheets/kaui/common.scss +0 -765
  65. data/app/assets/stylesheets/kaui/datatable.scss +0 -115
  66. data/app/assets/stylesheets/kaui/header.scss +0 -197
  67. data/app/assets/stylesheets/kaui/home.scss +0 -89
  68. data/app/assets/stylesheets/kaui/invoice.scss +0 -58
  69. data/app/assets/stylesheets/kaui/kaui.scss +0 -265
  70. data/app/assets/stylesheets/kaui/kaui_bootstrap.scss +0 -3
  71. data/app/assets/stylesheets/kaui/overdue.scss +0 -11
  72. data/app/assets/stylesheets/kaui/payment.scss +0 -43
  73. data/app/assets/stylesheets/kaui/subscription.scss +0 -27
  74. data/app/assets/stylesheets/kaui/tags.scss +0 -208
  75. data/app/assets/stylesheets/kaui/timeline.scss +0 -7
  76. data/app/assets/stylesheets/kaui/tooltip.scss +0 -15
  77. data/app/assets/stylesheets/kaui_application.css +0 -12
@@ -0,0 +1,129 @@
1
+ /*
2
+ * Header Layout
3
+ */
4
+ header {
5
+ padding: 25px 0;
6
+ background: #fff;
7
+ border-bottom: 1px solid #ccc;
8
+ margin-bottom: 40px; }
9
+ header img {
10
+ vertical-align: middle; }
11
+ @media (max-width: 768px) {
12
+ header img {
13
+ display: block;
14
+ margin: 0 auto 10px; } }
15
+ header #searchform {
16
+ margin: 0 30px;
17
+ vertical-align: middle;
18
+ position: relative;
19
+ display: inline-block; }
20
+ @media (max-width: 768px) {
21
+ header #searchform {
22
+ width: 185px;
23
+ display: block;
24
+ margin: 0 auto 10px; } }
25
+ header #searchform input[type="text"] {
26
+ padding-right: 28px; }
27
+ @media (max-width: 1024px) {
28
+ header #searchform input[type="text"] {
29
+ width: 100px; } }
30
+ @media (max-width: 768px) {
31
+ header #searchform input[type="text"] {
32
+ width: 100%; } }
33
+ header #searchform input[type="submit"] {
34
+ display: block;
35
+ width: 18px;
36
+ height: 15px;
37
+ position: absolute;
38
+ top: 7px;
39
+ right: 5px;
40
+ background: url("kaui/search.png") no-repeat top left;
41
+ border: 0;
42
+ text-indent: 999999px;
43
+ overflow: hidden;
44
+ outline: 0;
45
+ padding: 0; }
46
+ header a {
47
+ font-size: 12px;
48
+ text-transform: uppercase; }
49
+ @media (max-width: 768px) {
50
+ header a {
51
+ text-align: center;
52
+ display: block; } }
53
+ @media (max-width: 768px) {
54
+ header nav {
55
+ text-align: center; } }
56
+ header nav ul {
57
+ padding: 6px 0;
58
+ margin: 0; }
59
+ @media (max-width: 1024px) {
60
+ header nav ul {
61
+ text-align: center; }
62
+ header nav ul.account-menu {
63
+ margin: -10px 0; } }
64
+ header nav ul li {
65
+ list-style: none;
66
+ display: inline-block;
67
+ vertical-align: middle; }
68
+ header nav ul li a {
69
+ color: #777777;
70
+ padding: 0 10px;
71
+ border-right: 1px solid #ccc; }
72
+ header nav ul li a:hover {
73
+ color: #000; }
74
+ header nav ul li:last-of-type a {
75
+ border: 0; }
76
+
77
+ .title-nav-area {
78
+ background: #c7e4e7;
79
+ margin: 0 0 30px;
80
+ font-size: 0;
81
+ margin-top: -40px; }
82
+ @media (max-width: 768px) {
83
+ .title-nav-area .container {
84
+ text-align: center;
85
+ width: 100%;
86
+ padding: 0 15px; } }
87
+ .title-nav-area a, .title-nav-area p {
88
+ display: inline-block;
89
+ padding: 12px 40px;
90
+ font-size: 12px;
91
+ margin: 0;
92
+ line-height: 12px;
93
+ background: transparent;
94
+ vertical-align: top; }
95
+ @media (max-width: 768px) {
96
+ .title-nav-area a, .title-nav-area p {
97
+ width: 30%;
98
+ padding: 12px 0;
99
+ text-align: center;
100
+ border-bottom: 1px solid #fff; }
101
+ .title-nav-area a:nth-of-type(4), .title-nav-area a:nth-of-type(5), .title-nav-area p:nth-of-type(4), .title-nav-area p:nth-of-type(5) {
102
+ width: 45%; }
103
+ .title-nav-area a:nth-of-type(3), .title-nav-area a:nth-of-type(5), .title-nav-area p:nth-of-type(3), .title-nav-area p:nth-of-type(5) {
104
+ border-right: 1px solid #fff; } }
105
+ @media (max-width: 450px) {
106
+ .title-nav-area a, .title-nav-area p {
107
+ width: 50%;
108
+ border: 0; }
109
+ .title-nav-area a:nth-of-type(2), .title-nav-area a:nth-of-type(4), .title-nav-area a:nth-of-type(5), .title-nav-area p:nth-of-type(2), .title-nav-area p:nth-of-type(4), .title-nav-area p:nth-of-type(5) {
110
+ border-right: 1px solid #fff; }
111
+ .title-nav-area a:nth-of-type(3), .title-nav-area p:nth-of-type(3) {
112
+ border-right: 0; }
113
+ .title-nav-area a:nth-of-type(4), .title-nav-area p:nth-of-type(4) {
114
+ width: 50%; }
115
+ .title-nav-area a:nth-of-type(5), .title-nav-area p:nth-of-type(5) {
116
+ width: 100%; } }
117
+ .title-nav-area a {
118
+ color: #666666;
119
+ text-transform: uppercase;
120
+ border-left: 1px solid #fff; }
121
+ .title-nav-area a:hover, .title-nav-area a.current {
122
+ color: #fff;
123
+ background: #00919d; }
124
+ .title-nav-area a:last-of-type {
125
+ border-right: 1px solid #fff; }
126
+ .title-nav-area p {
127
+ font-weight: normal; }
128
+
129
+ /*# sourceMappingURL=header.css.map */
@@ -0,0 +1,72 @@
1
+ /*
2
+ * Home Page
3
+ */
4
+ .home {
5
+ text-align: center; }
6
+ .home #home_searchform {
7
+ padding-top: 150px; }
8
+ @media (max-width: 768px) {
9
+ .home #home_searchform {
10
+ padding-top: 50px; } }
11
+ .home #home_searchform #search {
12
+ line-height: 48px;
13
+ padding: 0 25px;
14
+ font-size: 18px;
15
+ width: 330px;
16
+ height: 50px; }
17
+ @media (max-width: 768px) {
18
+ .home #home_searchform #search {
19
+ line-height: 33px;
20
+ padding: 0 10px;
21
+ font-size: 16px;
22
+ width: 220px;
23
+ height: 35px; } }
24
+ .home #home_searchform input[type=submit] {
25
+ background: #00919d url("kaui/search_white.png") no-repeat center center;
26
+ height: 50px;
27
+ padding: 0 20px;
28
+ text-indent: 999999px;
29
+ overflow: hidden;
30
+ width: 82px;
31
+ border-radius: 25px;
32
+ vertical-align: top;
33
+ margin: 0 0 0 10px; }
34
+ @media (max-width: 768px) {
35
+ .home #home_searchform input[type=submit] {
36
+ height: 35px;
37
+ width: 42px;
38
+ border-radius: 15px;
39
+ background-size: 20px; } }
40
+ .home .legend {
41
+ margin-top: 40px; }
42
+ .home .duck_help {
43
+ width: 352px;
44
+ height: 260px;
45
+ padding: 35px 120px 100px 30px;
46
+ font-size: 18px;
47
+ color: #666;
48
+ display: block;
49
+ position: fixed;
50
+ bottom: 0;
51
+ right: 20%;
52
+ background: url("kaui/duck.png") no-repeat center center;
53
+ text-align: center; }
54
+ @media (max-width: 768px) {
55
+ .home .duck_help {
56
+ position: relative;
57
+ right: initial;
58
+ bottom: initial;
59
+ width: 300px;
60
+ background-size: 300px auto;
61
+ font-size: 16px;
62
+ padding: 20px 120px 110px 40px;
63
+ top: 50px;
64
+ height: 220px;
65
+ display: inline-block; } }
66
+ @media (min-height: 600px) {
67
+ .home .duck_help {
68
+ position: fixed;
69
+ top: auto;
70
+ bottom: 0; } }
71
+
72
+ /*# sourceMappingURL=home.css.map */
@@ -0,0 +1,37 @@
1
+ table.invoice-totals {
2
+ border-top: 0;
3
+ padding-top: 15px;
4
+ margin-top: 45px; }
5
+ @media (max-width: 768px) {
6
+ table.invoice-totals tr:first-of-type th {
7
+ padding-top: 60px; } }
8
+ table.invoice-totals th, table.invoice-totals td {
9
+ padding: 5px; }
10
+ table.invoice-totals th {
11
+ background-color: transparent;
12
+ text-transform: uppercase;
13
+ width: 80%;
14
+ text-align: right;
15
+ padding-right: 15px; }
16
+ @media (max-width: 768px) {
17
+ table.invoice-totals th {
18
+ width: 50%; } }
19
+ table.invoice-totals td {
20
+ width: 20%; }
21
+ @media (max-width: 768px) {
22
+ table.invoice-totals td {
23
+ width: 50%; } }
24
+ table.invoice-totals tr {
25
+ border: 0; }
26
+ table.invoice-totals tr:last-of-type {
27
+ background-color: #c7e4e7; }
28
+
29
+ .invoice-date {
30
+ margin-top: -15px;
31
+ margin-bottom: 5px;
32
+ font-weight: 700;
33
+ text-transform: uppercase;
34
+ font-size: 12px;
35
+ padding: 5px 30px; }
36
+
37
+ /*# sourceMappingURL=invoice.css.map */
@@ -0,0 +1,152 @@
1
+ /*
2
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
3
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
5
+ *= require_tree .
6
+ */
7
+ .popover {
8
+ max-width: 350px; }
9
+
10
+ /* Override Bootstrap 5 font locations */
11
+ @font-face {
12
+ font-family: 'Glyphicons Halflings';
13
+ src: image-url("glyphicons-halflings-regular.eot");
14
+ src: image-url("glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"), image-url("glyphicons-halflings-regular.woff") format("woff"), image-url("glyphicons-halflings-regular.ttf") format("truetype"), image-url("glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg"); }
15
+ .tag-bar {
16
+ border-bottom: 1px solid #ddd;
17
+ margin-bottom: 0;
18
+ position: relative; }
19
+ .tag-bar .tag-select {
20
+ display: inline-block;
21
+ vertical-align: middle; }
22
+ @media (max-width: 450px) {
23
+ .tag-bar .tag-select {
24
+ width: 35%; } }
25
+ .tag-bar .tag-select span {
26
+ padding: 5px 20px;
27
+ text-align: center;
28
+ display: block;
29
+ border-right: 1px solid #ddd; }
30
+ @media (max-width: 768px) {
31
+ .tag-bar .tag-select span {
32
+ border: 0; } }
33
+ .tag-bar .tag-select span i {
34
+ margin: 0 5px;
35
+ color: #515151;
36
+ font-size: 16px; }
37
+ .tag-bar .tag-select span i.fa-caret-down {
38
+ color: #999999;
39
+ font-size: 12px; }
40
+ .tag-bar .tag-select span i.fa-tag {
41
+ font-size: 18px; }
42
+ .tag-bar .tag-select span i.fa-money, .tag-bar .tag-select span i.fa-credit-card {
43
+ font-size: 16px; }
44
+ .tag-bar .tag-select:hover .tag-select-box {
45
+ max-height: 500px;
46
+ padding: 20px 25px;
47
+ border: 1px solid #ddd;
48
+ box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.11); }
49
+ .tag-bar .tag-select .tag-select-box {
50
+ position: absolute;
51
+ top: 100%;
52
+ left: -1px;
53
+ max-height: 0;
54
+ background-color: #fff;
55
+ z-index: 100;
56
+ padding: 0 15px;
57
+ font-size: 12px;
58
+ color: #999999;
59
+ overflow: auto;
60
+ width: auto;
61
+ border-bottom: 0;
62
+ display: inline-block; }
63
+ @media (max-width: 768px) {
64
+ .tag-bar .tag-select .tag-select-box {
65
+ border: 0; } }
66
+ .tag-bar .tag-select .tag-select-box strong {
67
+ display: block;
68
+ font-weight: 400;
69
+ margin: 0 0 10px; }
70
+ .tag-bar .tag-select .tag-select-box form {
71
+ display: inline-block;
72
+ width: 210px; }
73
+ .tag-bar .tag-select .tag-select-box input[type=checkbox] {
74
+ display: inline-block;
75
+ width: 9%;
76
+ margin: 0 1% 0 0;
77
+ line-height: 20px;
78
+ vertical-align: middle; }
79
+ .tag-bar .tag-select .tag-select-box label {
80
+ font-size: 12px;
81
+ display: inline-block;
82
+ width: 85%;
83
+ line-height: 20px;
84
+ vertical-align: middle;
85
+ margin: 0;
86
+ font-weight: 400; }
87
+ .tag-bar .tag-select .tag-select-box textarea {
88
+ resize: none;
89
+ height: 80px;
90
+ margin: 0 0 20px;
91
+ width: 100%; }
92
+ .tag-bar .tag-select .tag-select-box a {
93
+ display: block;
94
+ font-size: 12px;
95
+ line-height: 20px; }
96
+ .tag-bar .tag-selected {
97
+ display: inline-block;
98
+ padding: 2px 5px;
99
+ vertical-align: middle; }
100
+ @media (max-width: 768px) {
101
+ .tag-bar .tag-selected {
102
+ width: 64%;
103
+ padding: 2px;
104
+ overflow: hidden;
105
+ border-left: 1px solid #ddd; } }
106
+ .tag-bar .tag-selected span {
107
+ display: inline-block;
108
+ font-size: 12px;
109
+ color: #777777;
110
+ background: #e5e5e5;
111
+ padding: 3px 20px;
112
+ margin: 0 5px;
113
+ transition: all 0.5s;
114
+ cursor: pointer; }
115
+ .tag-bar .tag-selected span:hover {
116
+ background-color: #cce9eb; }
117
+ @media (max-width: 768px) {
118
+ .tag-bar .tag-selected span {
119
+ font-size: 10px;
120
+ padding: 3px 5px;
121
+ display: block;
122
+ margin: 0 0 2px; } }
123
+
124
+ .tag-bar-breathe {
125
+ margin-bottom: 30px; }
126
+
127
+ .tag-bar-no-border {
128
+ border-bottom: 0; }
129
+ .tag-bar-no-border .tag-select span {
130
+ border-right: 0; }
131
+
132
+ #main-menu .tag-bar .tag-select {
133
+ position: relative; }
134
+ #main-menu .tag-bar .tag-select-box {
135
+ word-break: keep-all;
136
+ white-space: nowrap; }
137
+
138
+ .inline-row-tag-bar {
139
+ padding-left: 10px !important; }
140
+ .inline-row-tag-bar .tag-bar .tag-select span {
141
+ padding: 5px;
142
+ border-right: none; }
143
+ .inline-row-tag-bar .tag-bar .tag-select span i {
144
+ margin: 0 3px;
145
+ font-size: 12px; }
146
+ .inline-row-tag-bar .tag-bar .tag-select span i.fa-tag {
147
+ font-size: 12px; }
148
+ .inline-row-tag-bar .tag-bar .tag-select-box label {
149
+ white-space: nowrap; }
150
+
151
+ /*# sourceMappingURL=kaui2.css.map */
152
+
@@ -0,0 +1,7 @@
1
+ #existing-overdue-config-for-tenants.table tr td > select {
2
+ max-width: 140px; }
3
+
4
+ #existing-overdue-config-for-tenants.table tr td > input[type=number] {
5
+ max-width: 100px; }
6
+
7
+ /*# sourceMappingURL=overdue.css.map */
@@ -0,0 +1,28 @@
1
+ #invoice-payments h3 {
2
+ text-align: left;
3
+ border-bottom: 0;
4
+ margin: 0;
5
+ padding-bottom: 10px;
6
+ font-size: 16px;
7
+ font-weight: 700;
8
+ color: #777777; }
9
+
10
+ .payment-details {
11
+ padding-bottom: 0;
12
+ padding-left: 45px; }
13
+ .payment-details table.transparent {
14
+ margin-bottom: 0; }
15
+ .payment-details table.transparent th {
16
+ text-transform: none; }
17
+
18
+ .payment-method-details table.transparent th {
19
+ text-transform: none; }
20
+
21
+ .gateway-link {
22
+ float: right;
23
+ padding-top: 5px; }
24
+ .gateway-link span {
25
+ padding: 5px 20px;
26
+ text-align: center; }
27
+
28
+ /*# sourceMappingURL=payment.css.map */
@@ -0,0 +1,15 @@
1
+ table tr.expired td {
2
+ color: #cccccc; }
3
+
4
+ #cancel_subscription_by_date_modal .modal-footer {
5
+ text-align: left;
6
+ padding-bottom: 0; }
7
+ #cancel_subscription_by_date_modal .modal-footer .alert {
8
+ margin-bottom: 0; }
9
+ #cancel_subscription_by_date_modal .modal-footer .alert .label-default {
10
+ color: white; }
11
+
12
+ .price-override-popover {
13
+ cursor: pointer; }
14
+
15
+ /*# sourceMappingURL=subscription.css.map */
@@ -0,0 +1,137 @@
1
+ .tag-bar {
2
+ border-bottom: 1px solid #ddd;
3
+ margin-bottom: 0;
4
+ position: relative; }
5
+ .tag-bar .tag-select {
6
+ display: inline-block;
7
+ vertical-align: middle; }
8
+ @media (max-width: 450px) {
9
+ .tag-bar .tag-select {
10
+ width: 35%; } }
11
+ .tag-bar .tag-select span {
12
+ padding: 5px 20px;
13
+ text-align: center;
14
+ display: block;
15
+ border-right: 1px solid #ddd; }
16
+ @media (max-width: 768px) {
17
+ .tag-bar .tag-select span {
18
+ border: 0; } }
19
+ .tag-bar .tag-select span i {
20
+ margin: 0 5px;
21
+ color: #515151;
22
+ font-size: 16px; }
23
+ .tag-bar .tag-select span i.fa-caret-down {
24
+ color: #999999;
25
+ font-size: 12px; }
26
+ .tag-bar .tag-select span i.fa-tag {
27
+ font-size: 18px; }
28
+ .tag-bar .tag-select span i.fa-money, .tag-bar .tag-select span i.fa-credit-card {
29
+ font-size: 16px; }
30
+ .tag-bar .tag-select:hover .tag-select-box {
31
+ max-height: 500px;
32
+ padding: 20px 25px;
33
+ border: 1px solid #ddd;
34
+ box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.11); }
35
+ .tag-bar .tag-select .tag-select-box {
36
+ position: absolute;
37
+ top: 100%;
38
+ left: -1px;
39
+ max-height: 0;
40
+ background-color: #fff;
41
+ z-index: 100;
42
+ padding: 0 15px;
43
+ font-size: 12px;
44
+ color: #999999;
45
+ overflow: auto;
46
+ width: auto;
47
+ border-bottom: 0;
48
+ display: inline-block; }
49
+ @media (max-width: 768px) {
50
+ .tag-bar .tag-select .tag-select-box {
51
+ border: 0; } }
52
+ .tag-bar .tag-select .tag-select-box strong {
53
+ display: block;
54
+ font-weight: 400;
55
+ margin: 0 0 10px; }
56
+ .tag-bar .tag-select .tag-select-box form {
57
+ display: inline-block;
58
+ width: 210px; }
59
+ .tag-bar .tag-select .tag-select-box input[type=checkbox] {
60
+ display: inline-block;
61
+ width: 9%;
62
+ margin: 0 1% 0 0;
63
+ line-height: 20px;
64
+ vertical-align: middle; }
65
+ .tag-bar .tag-select .tag-select-box label {
66
+ font-size: 12px;
67
+ display: inline-block;
68
+ width: 85%;
69
+ line-height: 20px;
70
+ vertical-align: middle;
71
+ margin: 0;
72
+ font-weight: 400; }
73
+ .tag-bar .tag-select .tag-select-box textarea {
74
+ resize: none;
75
+ height: 80px;
76
+ margin: 0 0 20px;
77
+ width: 100%; }
78
+ .tag-bar .tag-select .tag-select-box a {
79
+ display: block;
80
+ font-size: 12px;
81
+ line-height: 20px; }
82
+ .tag-bar .tag-selected {
83
+ display: inline-block;
84
+ padding: 2px 5px;
85
+ vertical-align: middle; }
86
+ @media (max-width: 768px) {
87
+ .tag-bar .tag-selected {
88
+ width: 64%;
89
+ padding: 2px;
90
+ overflow: hidden;
91
+ border-left: 1px solid #ddd; } }
92
+ .tag-bar .tag-selected span {
93
+ display: inline-block;
94
+ font-size: 12px;
95
+ color: #777777;
96
+ background: #e5e5e5;
97
+ padding: 3px 20px;
98
+ margin: 0 5px;
99
+ transition: all 0.5s;
100
+ cursor: pointer; }
101
+ .tag-bar .tag-selected span:hover {
102
+ background-color: #cce9eb; }
103
+ @media (max-width: 768px) {
104
+ .tag-bar .tag-selected span {
105
+ font-size: 10px;
106
+ padding: 3px 5px;
107
+ display: block;
108
+ margin: 0 0 2px; } }
109
+
110
+ .tag-bar-breathe {
111
+ margin-bottom: 30px; }
112
+
113
+ .tag-bar-no-border {
114
+ border-bottom: 0; }
115
+ .tag-bar-no-border .tag-select span {
116
+ border-right: 0; }
117
+
118
+ #main-menu .tag-bar .tag-select {
119
+ position: relative; }
120
+ #main-menu .tag-bar .tag-select-box {
121
+ word-break: keep-all;
122
+ white-space: nowrap; }
123
+
124
+ .inline-row-tag-bar {
125
+ padding-left: 10px !important; }
126
+ .inline-row-tag-bar .tag-bar .tag-select span {
127
+ padding: 5px;
128
+ border-right: none; }
129
+ .inline-row-tag-bar .tag-bar .tag-select span i {
130
+ margin: 0 3px;
131
+ font-size: 12px; }
132
+ .inline-row-tag-bar .tag-bar .tag-select span i.fa-tag {
133
+ font-size: 12px; }
134
+ .inline-row-tag-bar .tag-bar .tag-select-box label {
135
+ white-space: nowrap; }
136
+
137
+ /*# sourceMappingURL=tags.css.map */
@@ -0,0 +1,5 @@
1
+ #timeline-table ul {
2
+ list-style-type: none;
3
+ padding-left: 0; }
4
+
5
+ /*# sourceMappingURL=timeline.css.map */
@@ -0,0 +1,16 @@
1
+ .tooltip-arrow,
2
+ .kb-tooltip + .tooltip > .tooltip-inner {
3
+ background-color: #C0E0E3; }
4
+
5
+ .kb-tooltip + .tooltip.top > .tooltip-arrow {
6
+ background-color: #fff;
7
+ border-top: #C0E0E3; }
8
+
9
+ .kb-tooltip + .bs-tooltip-auto[x-placement^=top] .arrow::before,
10
+ .kb-tooltip + .bs-tooltip-top .arrow::before {
11
+ border-bottom-color: #C0E0E3; }
12
+
13
+ .tooltip .tooltip-arrow {
14
+ border-top: 5px solid #C0E0E3 !important; }
15
+
16
+ /*# sourceMappingURL=tooltip.css.map */
@@ -37,7 +37,7 @@ module Kaui
37
37
  account_id = params.require(:account_id)
38
38
 
39
39
  tags = []
40
- params.each do |tag, _tag_name|
40
+ params.each_key do |tag|
41
41
  tag_info = tag.split('_')
42
42
  next if (tag_info.size != 2) || (tag_info[0] != 'tag')
43
43
 
@@ -95,7 +95,7 @@ module Kaui
95
95
  end
96
96
 
97
97
  tenants = []
98
- params.each do |tenant, _|
98
+ params.each_key do |tenant|
99
99
  tenant_info = tenant.split('_')
100
100
  next if (tenant_info.size != 2) || (tenant_info[0] != 'tenant')
101
101
 
@@ -174,7 +174,7 @@ module Kaui
174
174
  options[:api_key] = @tenant.api_key
175
175
  options[:api_secret] = @tenant.api_secret
176
176
 
177
- catalog = Kaui::Catalog.get_catalog_json(true, nil, options)
177
+ catalog = Kaui::Catalog.get_catalog_json(true, nil, nil, options)
178
178
 
179
179
  # seek if plan id exists
180
180
  catalog.products.each do |product|
@@ -434,7 +434,7 @@ module Kaui
434
434
 
435
435
  catalog = []
436
436
  result = begin
437
- Kaui::Catalog.get_catalog_json(false, effective_date, options)
437
+ Kaui::Catalog.get_catalog_json(false, effective_date, nil, options)
438
438
  rescue StandardError
439
439
  catalog = []
440
440
  end
@@ -475,7 +475,7 @@ module Kaui
475
475
  options[:api_key] = @tenant.api_key
476
476
  options[:api_secret] = @tenant.api_secret
477
477
 
478
- latest_catalog = Kaui::Catalog.get_catalog_json(true, nil, options)
478
+ latest_catalog = Kaui::Catalog.get_catalog_json(true, nil, nil, options)
479
479
  @all_plans = latest_catalog ? (latest_catalog.products || []).map(&:plans).flatten.map(&:name) : []
480
480
 
481
481
  @ao_mapping = Kaui::Catalog.build_ao_mapping(latest_catalog)
@@ -18,7 +18,7 @@ module Kaui
18
18
  bundle_id = params.require(:bundle_id)
19
19
 
20
20
  tags = []
21
- params.each do |tag, _tag_name|
21
+ params.each_key do |tag|
22
22
  tag_info = tag.split('_')
23
23
  next if (tag_info.size != 2) || (tag_info[0] != 'tag')
24
24
 
@@ -37,7 +37,7 @@ module Kaui
37
37
  pages ||= []
38
38
 
39
39
  # Until we support server-side sorting
40
- ordering = ((params[:order] || {})[:'0'] || {})
40
+ ordering = (params[:order] || {})[:'0'] || {}
41
41
  ordering_column = (ordering[:column] || 0).to_i
42
42
  ordering_dir = ordering[:dir] || 'asc'
43
43
  unless search_key.nil?