kaui 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -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
- }
@@ -1,52 +0,0 @@
1
- $smphone: unquote("max-width: 450px");
2
- $phone: unquote("max-width: 768px");
3
- $tablet: unquote("max-width: 1024px");
4
-
5
- h1 span.account-child-label{
6
- float: right;
7
- }
8
-
9
- .account-child-label{
10
- color: white !important;
11
- }
12
-
13
- .naked {
14
- background-color: transparent;
15
- color: #00919d;
16
- padding: 0;
17
- font-size: inherit;
18
- }
19
-
20
- .naked:hover{
21
- background-color: transparent;
22
- color: #2a6496;
23
-
24
- }
25
-
26
- .title-nav-area {
27
- .container {
28
- p {
29
- padding-left: 20px;
30
- padding-right: 20px;
31
- }
32
-
33
- a {
34
- max-width: 125px;
35
- min-width: 90px;
36
- padding: 12px 12px;
37
- text-align: center;
38
- }
39
-
40
- span.label-danger {
41
- margin: 8px;
42
- }
43
- }
44
- }
45
-
46
- .form-force-inline {
47
- display: inline;
48
- }
49
-
50
- .form-right {
51
- float: right;
52
- }
@@ -1,42 +0,0 @@
1
- $smphone: unquote("max-width: 450px");
2
- $phone: unquote("max-width: 768px");
3
- $tablet: unquote("max-width: 1024px");
4
-
5
- #showHistoryModal
6
- {
7
- #templatesPlaceHolder
8
- {
9
- display: flex;
10
-
11
- .panel {
12
- margin-left: 5px;
13
-
14
- .panel-heading {
15
- white-space: nowrap;
16
- }
17
- }
18
-
19
- .list-group-item {
20
- padding: 5px;
21
- min-height: 32px;
22
- overflow-x: hidden;
23
- white-space: nowrap;
24
- }
25
-
26
- #templateFieldsPlaceHolder {
27
- .list-group-item {
28
- span {
29
- text-transform: capitalize;
30
- font-weight: bold;
31
- }
32
- }
33
- }
34
-
35
- #templatePlaceHolder
36
- {
37
- display: flex;
38
- overflow-x: auto;
39
- }
40
-
41
- }
42
- }