padma-assets 0.1.32 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/app/abilities/general_ability.rb +2 -1
  3. data/app/assets/javascripts/bootstrap-multiselect.js +1401 -0
  4. data/app/assets/javascripts/bootstrap.min.js +12 -0
  5. data/app/assets/javascripts/jquery-2.1.4.min.js +4 -0
  6. data/app/assets/javascripts/jquery-iframe-transport.js +156 -0
  7. data/app/assets/javascripts/jquery-tmpl-min.js +1 -0
  8. data/app/assets/javascripts/jquery.common.js +12 -0
  9. data/app/assets/javascripts/jquery.iframe-transport.js +156 -0
  10. data/app/assets/javascripts/jquery.postmessage-transport.js +108 -0
  11. data/app/assets/javascripts/jquery.rest_in_place.js +233 -0
  12. data/app/assets/javascripts/jquery.stickyheader.js +7 -5
  13. data/app/assets/javascripts/jquery.tipsy.js +243 -0
  14. data/app/assets/javascripts/jquery.xdr-transport.js +76 -0
  15. data/app/assets/javascripts/padma-assets.js +14 -2
  16. data/app/assets/stylesheets/bootstrap-multiselect.css +1 -0
  17. data/app/assets/stylesheets/common/custom.scss +1611 -0
  18. data/app/assets/stylesheets/common/ui.css.scss +488 -0
  19. data/app/assets/stylesheets/common/variables.scss +68 -0
  20. data/app/assets/stylesheets/custom/colors.css.scss +13 -0
  21. data/app/assets/stylesheets/custom/form.css.scss +37 -0
  22. data/app/assets/stylesheets/custom/tabs.scss +7 -0
  23. data/app/assets/stylesheets/header.css.erb +8 -148
  24. data/app/assets/stylesheets/header.scss +364 -0
  25. data/app/assets/stylesheets/layout_application.css +0 -5
  26. data/app/assets/stylesheets/layout_users.css +29 -28
  27. data/app/assets/stylesheets/pm-modal.scss +15 -9
  28. data/app/views/layouts/_header.html.erb +24 -20
  29. data/app/views/layouts/_lists_list.html.erb +39 -25
  30. data/app/views/layouts/_module_box.html.erb +70 -58
  31. metadata +21 -7
  32. data/app/assets/stylesheets/button.css.scss +0 -344
  33. data/app/assets/stylesheets/padma-accounts.scss +0 -3
  34. data/app/assets/stylesheets/reset.css +0 -102
  35. data/app/assets/stylesheets/tables.css.scss +0 -154
  36. data/app/views/layouts/_alpha_lists_list.html.erb +0 -46
@@ -1,3 +0,0 @@
1
- ul.nav.nav-tabs{ margin:20px 0 0;}
2
- #invoice-actions{ margin:20px 0 0;}
3
- #pendientes input[type="submit"], #pendientes input[type="button"], #pendientes button{ padding:4px 10px 6px;}
@@ -1,102 +0,0 @@
1
- /*
2
-
3
- HTML5 CSS Reset
4
- Based on Eric Meyer's CSS Reset
5
- and html5doctor.com HTML5 Reset
6
-
7
- Copyright (c) 2010 736 Computing Services Limited
8
- Released under the MIT license. http://736cs.com/mit-license.php?2010
9
-
10
- */
11
-
12
- html, body, div, span, applet, object, iframe,
13
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
14
- a, abbr, acronym, address, big, cite, code,
15
- del, dfn, em, font, img, ins, kbd, q, s, samp,
16
- small, strike, strong, sub, sup, tt, var,
17
- b, i, center, dl, dt, dd, ol, ul, li,
18
- fieldset, form, label, legend,
19
- table, caption, tbody, tfoot, thead, tr, th, td,
20
- article, aside, audio, canvas, details, figcaption,
21
- figure, footer, header, hgroup, mark, menu, meter, nav,
22
- output, progress, section, summary, time, video {
23
- margin: 0;
24
- padding: 0;
25
- border: 0;
26
- outline: 0;
27
- text-decoration: none;
28
- font-size: 100%;
29
- vertical-align: baseline;
30
- background: transparent;
31
- }
32
-
33
- body {
34
- line-height: 1;
35
- }
36
-
37
- article, aside, dialog, figure, footer, header,
38
- hgroup, nav, section, blockquote {
39
- display: block;
40
- }
41
-
42
- nav ul {
43
- list-style: none;
44
- }
45
-
46
- ol {
47
- list-style: decimal;
48
- }
49
-
50
- ul {
51
- list-style: disc;
52
- }
53
-
54
- ul ul {
55
- list-style: circle;
56
- }
57
-
58
- blockquote, q {
59
- quotes: none;
60
- }
61
-
62
- blockquote:before, blockquote:after,
63
- q:before, q:after {
64
- content: '';
65
- content: none;
66
- }
67
-
68
- ins {
69
- text-decoration: underline;
70
- }
71
-
72
- del {
73
- text-decoration: line-through;
74
- }
75
-
76
- mark {
77
- background: none;
78
- }
79
-
80
- abbr[title], dfn[title] {
81
- border-bottom:1px dotted #000;
82
- cursor:help;
83
- }
84
-
85
- /* tables still need 'cellspacing="0"' in the markup */
86
- table {
87
- border-collapse: collapse;
88
- border-spacing: 0;
89
- }
90
-
91
- hr {
92
- display: block;
93
- height: 1px;
94
- border: 0;
95
- border-top: 1px solid #ccc;
96
- margin: 1em 0;
97
- padding: 0;
98
- }
99
-
100
- input, select, a img {
101
- vertical-align: middle;
102
- }
@@ -1,154 +0,0 @@
1
- // Place all the styles related to the invoices controller here.
2
- // They will automatically be included in application.css.
3
- // You can use Sass (SCSS) here: http://sass-lang.com/
4
- table.padma-table {
5
- overflow:hidden;
6
- border-top-width: 1px;
7
- border-top-style: solid;
8
- border-top-color: #d3d3d3;
9
- border-right-width: 2px;
10
- border-right-style: solid;
11
- border-right-color: #d3d3d3;
12
- border-left-width: 1px;
13
- border-left-style: solid;
14
- border-left-color: #d3d3d3;
15
- border-bottom-width: 2px;
16
- border-bottom-style: solid;
17
- border-bottom-color: #d3d3d3;
18
- width:100%;
19
- margin:0 auto 0;
20
- th {
21
- background:rgba(0, 0, 0, 0) -moz-linear-gradient(100% 100% 90deg, #f1f2f2, white) repeat scroll 0 0!important;
22
- color: #4D4D4D;
23
- font-family: Arial,Helvetica,sans-serif;
24
- font-size: 12px;
25
- font-weight: bold;
26
- vertical-align: top;
27
- border-right: 1px solid #CFCFCF;
28
- border-bottom: 1px solid #CFCFCF;
29
- text-align:left;
30
- padding-top:10px;
31
- padding-bottom:8px;
32
- padding-left:10px;
33
- padding-right:10px;
34
- }
35
-
36
- td {
37
- padding-top:10px;
38
- padding-bottom:8px;
39
- padding-left:10px;
40
- padding-right:10px;
41
- border-top:0px solid #e0e0e0;
42
- border-right:1px solid #CFCFCF;
43
- color: #4D4D4D;
44
- font-family: Arial,Helvetica,sans-serif;
45
- font-size: 12px;
46
- font-weight: normal;
47
- }
48
-
49
- td {
50
- background: #FFFFFF;
51
- }
52
-
53
- tr:nth-child(odd) td {
54
- background: #F2F2F2;
55
- }
56
-
57
- th {
58
- background: -moz-linear-gradient(100% 100% 90deg, #F1F2F2, #FFFFFF);
59
- background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FFFFFF), to(#F1F2F2));
60
- }
61
-
62
- input[type="checkbox"] {
63
- margin-left: -7px;
64
- }
65
-
66
- .delete {
67
- margin-left: -4px;
68
- margin-right: 3px;
69
- }
70
-
71
- th .current {
72
- padding-right: 40px;
73
- background-repeat: no-repeat;
74
- background-position: right center;
75
- }
76
-
77
- th .asc {
78
- background-image: url('arrow_up.png');
79
- }
80
-
81
- th .desc {
82
- background-image: url('arrow_down.png');
83
- }
84
- }
85
-
86
- .sticky-wrap {
87
- overflow-x: auto;
88
- overflow-y: hidden;
89
- position: relative;
90
- width: 100%;
91
- }
92
- .sticky-wrap .sticky-thead,
93
- .sticky-wrap .sticky-col,
94
- .sticky-wrap .sticky-intersect {
95
- opacity: 0;
96
- position: absolute;
97
- top: 0;
98
- left: 0;
99
- transition: all .125s ease-in-out;
100
- z-index: 50;
101
- width: auto; /* Prevent table from stretching to full size */
102
- }
103
- .sticky-wrap .sticky-thead {
104
- box-shadow: 0 0.25em 0.1em -0.1em rgba(0,0,0,.125);
105
- z-index: 100;
106
- width: 100%; /* Force stretch */
107
- }
108
- .sticky-wrap .sticky-intersect {
109
- opacity: 1;
110
- z-index: 150;
111
-
112
- }
113
- .sticky-wrap .sticky-intersect th {
114
- background-color:#f2f2f2;
115
- color: #4D4D4D;
116
- }
117
- .sticky-wrap td,
118
- .sticky-wrap th {
119
- box-sizing: border-box;
120
-
121
- }
122
- .sticky-thead thead td,
123
- .sticky-thead thead th {
124
- box-sizing: border-box;
125
- background: #ffffff; /* Old browsers */
126
- background: -moz-linear-gradient(top, #ffffff 0%, #f1f2f2 100%); /* FF3.6+ */
127
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f1f2f2)); /* Chrome,Safari4+ */
128
- background: -webkit-linear-gradient(top, #ffffff 0%,#f1f2f2 100%); /* Chrome10+,Safari5.1+ */
129
- background: -o-linear-gradient(top, #ffffff 0%,#f1f2f2 100%); /* Opera 11.10+ */
130
- background: -ms-linear-gradient(top, #ffffff 0%,#f1f2f2 100%); /* IE10+ */
131
- background: linear-gradient(to bottom, #ffffff 0%,#f1f2f2 100%); /* W3C */
132
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f1f2f2',GradientType=0 ); /* IE6-9 */
133
- color: #4D4D4D;
134
- font-size:12px;
135
- border-bottom:1px solid #cccccc;
136
- border-top:1px solid #cccccc;
137
- border-left:1px solid #cccccc;
138
- padding:10px 8px 8px 8px;
139
- line-height:14px;
140
- font-family: Arial,Helvetica,sans-serif;
141
- }
142
-
143
- .sticky-thead thead th:first-child{ padding:0 12px 0 4px;}
144
-
145
-
146
- /* Not needed for sticky header/column functionality */
147
- td.user-name {
148
- text-transform: capitalize;
149
- }
150
- .sticky-wrap.overflow-y {
151
- overflow-y: auto;
152
- max-height: 50vh;
153
- }
154
-
@@ -1,46 +0,0 @@
1
- <li><%= link_to t('header-menu.lists.lists.new_list'), "#{APP_CONFIG['crm-url']}/contacts/search" %></li>
2
- <li><%= link_to t('header-menu.lists.lists.all_lists'), "#{APP_CONFIG['crm-url']}/persistent_contact_searches" %></li>
3
-
4
- <li class='dropdown-form'>
5
- <input id="menu-lists-filter" class='form-control' type='text' placeholder='<%= t('header-menu.lists.lists.find_list') %>' />
6
- </li>
7
- <li class="dropdown-header">
8
- <a id="refresh-lists-list-menu" class='pull-right tipsyS' original-title="<%= t('header-menu.lists.refresh_tipsy') %>"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span></a>
9
- <%= t('header-menu.lists.lists.saved_lists') %>
10
- </li>
11
- <div id="all-available-lists-menu">
12
- <div id="menu-saved-lists"
13
- class="cached-async-render"
14
- data-cache-expires-in="120"
15
- data-cache-key="saved-lists-for-<%= current_user.current_account.name%>"
16
- data-url="<%= APP_CONFIG['crm-url' ] %>/persistent_contact_searches/menu?account_name=<%= current_user.current_account.name %>">
17
- <li><a><%= image_tag 'spinner.gif' %></a></li>
18
- </div>
19
- <li class="dropdown-header"><%= t('header-menu.lists.lists.system_lists') %></li>
20
- <%- %W(students former_students prospects).each do |st| -%>
21
- <li>
22
- <%= link_to t("header-menu.lists.contacts.#{st}"), "#{APP_CONFIG['crm-url']}/contacts/#{st}" %>
23
- </li>
24
- <%- end -%>
25
- <li>
26
- <%= link_to t('header-menu.lists.contacts.current_month_birthdays'), "#{APP_CONFIG['crm-url']}/contacts?contact_search%5Bchosen_columns%5D%5B%5D=full_name&contact_search%5Bchosen_columns%5D%5B%5D=birthday&contact_search%5Bdate_attribute%5D%5Bcategory%5D=birthday&contact_search%5Bdate_attribute%5D%5Bmonth%5D=#{Time.zone.now.month}&column=birthday&direction=asc" %>
27
- </li>
28
-
29
- <li class="dropdown-header"><%= t('header-menu.lists.subscription_changes.title') %></li>
30
-
31
- <li><%= link_to t('header-menu.lists.subscription_changes.enrollments'), "#{APP_CONFIG['crm-url']}/enrollments" %></li>
32
- <li><%= link_to t('header-menu.lists.subscription_changes.dropouts'), "#{APP_CONFIG['crm-url']}/drop_outs" %></li>
33
-
34
- <li class="dropdown-header"><%= t('header-menu.lists.communications.title') %></li>
35
- <li><%= link_to t('header-menu.lists.communications.all'), "#{APP_CONFIG['crm-url']}/communications" %></li>
36
- <li><%= link_to t('header-menu.lists.communications.visits'), "#{APP_CONFIG['crm-url']}/communications/interviews" %></li>
37
- <li><%= link_to t('header-menu.lists.communications.phonecalls'), "#{APP_CONFIG['crm-url']}/communications/phone_calls" %></li>
38
- <li><%= link_to t('header-menu.lists.communications.emails'), "#{APP_CONFIG['crm-url']}/communications/emails" %></li>
39
- <li><%= link_to t('header-menu.lists.communications.web'), "#{APP_CONFIG['crm-url']}/communications/web" %></li>
40
-
41
- <li class="dropdown-header"><%= t('header-menu.lists.comments.title') %></li>
42
- <li><%= link_to t('header-menu.lists.comments.all'), "#{APP_CONFIG['crm-url']}/comments" %></li>
43
- <% %W(FollowUp Gestion Revisacion Reunion).each do |t| -%>
44
- <li><%= link_to t("header-menu.lists.comments.#{t}"), "#{APP_CONFIG['crm-url']}/comments?comment_search%5Bcomment_types%5D%5B%5D=#{t}" %></li>
45
- <% end -%>
46
- </div>