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
@@ -1,11 +0,0 @@
|
|
1
|
-
#existing-overdue-config-for-tenants.table tr td>select{
|
2
|
-
max-width: 140px;
|
3
|
-
}
|
4
|
-
|
5
|
-
#existing-overdue-config-for-tenants.table tr td>input[type=number]{
|
6
|
-
max-width: 100px;
|
7
|
-
}
|
8
|
-
|
9
|
-
$smphone: unquote("max-width: 450px");
|
10
|
-
$phone: unquote("max-width: 768px");
|
11
|
-
$tablet: unquote("max-width: 1024px");
|
@@ -1,43 +0,0 @@
|
|
1
|
-
$smphone: unquote("max-width: 450px");
|
2
|
-
$phone: unquote("max-width: 768px");
|
3
|
-
$tablet: unquote("max-width: 1024px");
|
4
|
-
#invoice-payments h3 {
|
5
|
-
text-align: left;
|
6
|
-
border-bottom: 0;
|
7
|
-
margin: 0;
|
8
|
-
padding-bottom: 10px;
|
9
|
-
font-size: 16px;
|
10
|
-
font-weight: 700;
|
11
|
-
color: #777777;
|
12
|
-
}
|
13
|
-
|
14
|
-
.payment-details {
|
15
|
-
padding-bottom: 0;
|
16
|
-
padding-left: 45px;
|
17
|
-
|
18
|
-
table.transparent {
|
19
|
-
margin-bottom: 0;
|
20
|
-
|
21
|
-
th {
|
22
|
-
text-transform: none;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
.payment-method-details {
|
28
|
-
table.transparent {
|
29
|
-
th {
|
30
|
-
text-transform: none;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
.gateway-link {
|
36
|
-
float: right;
|
37
|
-
padding-top: 5px;
|
38
|
-
|
39
|
-
span {
|
40
|
-
padding: 5px 20px;
|
41
|
-
text-align: center;
|
42
|
-
}
|
43
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
table tr.expired {
|
2
|
-
td {
|
3
|
-
color: #cccccc;
|
4
|
-
}
|
5
|
-
}
|
6
|
-
|
7
|
-
#cancel_subscription_by_date_modal {
|
8
|
-
.modal-footer {
|
9
|
-
text-align: left;
|
10
|
-
padding-bottom: 0;
|
11
|
-
|
12
|
-
.alert {
|
13
|
-
margin-bottom: 0;
|
14
|
-
|
15
|
-
.label-default {
|
16
|
-
color: white;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
.price-override-popover {
|
23
|
-
cursor: pointer;
|
24
|
-
}
|
25
|
-
$smphone: unquote("max-width: 450px");
|
26
|
-
$phone: unquote("max-width: 768px");
|
27
|
-
$tablet: unquote("max-width: 1024px");
|
@@ -1,208 +0,0 @@
|
|
1
|
-
$smphone: unquote("max-width: 450px");
|
2
|
-
$phone: unquote("max-width: 768px");
|
3
|
-
$tablet: unquote("max-width: 1024px");
|
4
|
-
|
5
|
-
.tag-bar {
|
6
|
-
border-bottom: 1px solid #ddd;
|
7
|
-
margin-bottom: 0;
|
8
|
-
position: relative;
|
9
|
-
|
10
|
-
.tag-select {
|
11
|
-
display: inline-block;
|
12
|
-
vertical-align: middle;
|
13
|
-
|
14
|
-
@media ($smphone) {
|
15
|
-
width: 35%;
|
16
|
-
}
|
17
|
-
|
18
|
-
span {
|
19
|
-
padding: 5px 20px;
|
20
|
-
text-align: center;
|
21
|
-
display: block;
|
22
|
-
border-right: 1px solid #ddd;
|
23
|
-
|
24
|
-
@media ($phone) {
|
25
|
-
border: 0;
|
26
|
-
}
|
27
|
-
|
28
|
-
i {
|
29
|
-
margin: 0 5px;
|
30
|
-
color: #515151;
|
31
|
-
font-size: 16px;
|
32
|
-
|
33
|
-
&.fa-caret-down {
|
34
|
-
color: #999999;
|
35
|
-
font-size: 12px;
|
36
|
-
}
|
37
|
-
|
38
|
-
&.fa-tag {
|
39
|
-
font-size: 18px;
|
40
|
-
}
|
41
|
-
|
42
|
-
&.fa-money, &.fa-credit-card {
|
43
|
-
font-size: 16px;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
&:hover {
|
49
|
-
.tag-select-box {
|
50
|
-
max-height: 500px;
|
51
|
-
padding: 20px 25px;
|
52
|
-
border: 1px solid #ddd;
|
53
|
-
box-shadow: 1px 3px 2px rgba(0, 0, 0, 0.11);
|
54
|
-
}
|
55
|
-
}
|
56
|
-
|
57
|
-
.tag-select-box {
|
58
|
-
position: absolute;
|
59
|
-
top: 100%;
|
60
|
-
left: -1px;
|
61
|
-
max-height: 0;
|
62
|
-
background-color: #fff;
|
63
|
-
z-index: 100;
|
64
|
-
padding: 0 15px;
|
65
|
-
font-size: 12px;
|
66
|
-
color: #999999;
|
67
|
-
overflow: auto;
|
68
|
-
width: auto;
|
69
|
-
border-bottom: 0;
|
70
|
-
display: inline-block;
|
71
|
-
|
72
|
-
@media ($phone) {
|
73
|
-
border: 0;
|
74
|
-
}
|
75
|
-
|
76
|
-
strong {
|
77
|
-
display: block;
|
78
|
-
font-weight: 400;
|
79
|
-
margin: 0 0 10px;
|
80
|
-
}
|
81
|
-
|
82
|
-
form {
|
83
|
-
display: inline-block;
|
84
|
-
width: 210px;
|
85
|
-
}
|
86
|
-
|
87
|
-
input[type=checkbox] {
|
88
|
-
display: inline-block;
|
89
|
-
width: 9%;
|
90
|
-
margin: 0 1% 0 0;
|
91
|
-
line-height: 20px;
|
92
|
-
vertical-align: middle;
|
93
|
-
}
|
94
|
-
|
95
|
-
label {
|
96
|
-
font-size: 12px;
|
97
|
-
display: inline-block;
|
98
|
-
width: 85%;
|
99
|
-
line-height: 20px;
|
100
|
-
vertical-align: middle;
|
101
|
-
margin: 0;
|
102
|
-
font-weight: 400;
|
103
|
-
}
|
104
|
-
|
105
|
-
textarea {
|
106
|
-
resize: none;
|
107
|
-
height: 80px;
|
108
|
-
margin: 0 0 20px;
|
109
|
-
width: 100%;
|
110
|
-
}
|
111
|
-
|
112
|
-
a {
|
113
|
-
display: block;
|
114
|
-
font-size: 12px;
|
115
|
-
line-height: 20px;
|
116
|
-
}
|
117
|
-
}
|
118
|
-
}
|
119
|
-
|
120
|
-
.tag-selected {
|
121
|
-
display: inline-block;
|
122
|
-
padding: 2px 5px;
|
123
|
-
vertical-align: middle;
|
124
|
-
|
125
|
-
@media ($phone) {
|
126
|
-
width: 64%;
|
127
|
-
padding: 2px;
|
128
|
-
overflow: hidden;
|
129
|
-
border-left: 1px solid #ddd;
|
130
|
-
}
|
131
|
-
|
132
|
-
span {
|
133
|
-
display: inline-block;
|
134
|
-
font-size: 12px;
|
135
|
-
color: #777777;
|
136
|
-
background: #e5e5e5;
|
137
|
-
padding: 3px 20px;
|
138
|
-
margin: 0 5px;
|
139
|
-
transition: all 0.5s;
|
140
|
-
cursor: pointer;
|
141
|
-
|
142
|
-
&:hover {
|
143
|
-
background-color: #cce9eb;
|
144
|
-
}
|
145
|
-
|
146
|
-
@media ($phone) {
|
147
|
-
font-size: 10px;
|
148
|
-
padding: 3px 5px;
|
149
|
-
display: block;
|
150
|
-
margin: 0 0 2px;
|
151
|
-
}
|
152
|
-
}
|
153
|
-
}
|
154
|
-
}
|
155
|
-
|
156
|
-
.tag-bar-breathe {
|
157
|
-
margin-bottom: 30px;
|
158
|
-
}
|
159
|
-
|
160
|
-
.tag-bar-no-border {
|
161
|
-
border-bottom: 0;
|
162
|
-
|
163
|
-
.tag-select {
|
164
|
-
span {
|
165
|
-
border-right: 0;
|
166
|
-
}
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
#main-menu {
|
171
|
-
.tag-bar {
|
172
|
-
.tag-select {
|
173
|
-
position: relative;
|
174
|
-
}
|
175
|
-
.tag-select-box {
|
176
|
-
word-break: keep-all;
|
177
|
-
white-space: nowrap;
|
178
|
-
}
|
179
|
-
}
|
180
|
-
}
|
181
|
-
|
182
|
-
.inline-row-tag-bar{
|
183
|
-
padding-left: 10px !important;
|
184
|
-
|
185
|
-
.tag-bar {
|
186
|
-
|
187
|
-
.tag-select {
|
188
|
-
span {
|
189
|
-
padding: 5px;
|
190
|
-
border-right: none;
|
191
|
-
|
192
|
-
i {
|
193
|
-
margin: 0 3px;
|
194
|
-
font-size: 12px;
|
195
|
-
|
196
|
-
&.fa-tag {
|
197
|
-
font-size: 12px;
|
198
|
-
}
|
199
|
-
}
|
200
|
-
}
|
201
|
-
}
|
202
|
-
.tag-select-box {
|
203
|
-
label {
|
204
|
-
white-space: nowrap;
|
205
|
-
}
|
206
|
-
}
|
207
|
-
}
|
208
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
|
2
|
-
.tooltip-arrow,
|
3
|
-
.kb-tooltip + .tooltip > .tooltip-inner {background-color: #C0E0E3;}
|
4
|
-
.kb-tooltip + .tooltip.top > .tooltip-arrow {background-color: #fff; border-top: #C0E0E3;}
|
5
|
-
|
6
|
-
|
7
|
-
.kb-tooltip + .bs-tooltip-auto[x-placement^=top] .arrow::before,
|
8
|
-
.kb-tooltip + .bs-tooltip-top .arrow::before {
|
9
|
-
border-bottom-color: #C0E0E3;
|
10
|
-
}
|
11
|
-
|
12
|
-
.tooltip .tooltip-arrow {
|
13
|
-
border-top: 5px solid #C0E0E3 !important;}
|
14
|
-
|
15
|
-
|
@@ -1,12 +0,0 @@
|
|
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_self
|
6
|
-
*= require bootstrap-datepicker3
|
7
|
-
*= require dataTables/jquery.dataTables
|
8
|
-
*= require jquery-ui/autocomplete
|
9
|
-
*= require dataTables/bootstrap/3/jquery.dataTables.bootstrap
|
10
|
-
*= require bootstrap_and_overrides
|
11
|
-
*= require kaui/kaui
|
12
|
-
*/
|