padma-assets 0.2.1 → 0.2.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ecc667ea2d58224efbc5c762f61b620f5566c0d1
|
|
4
|
+
data.tar.gz: f1a35aead7cdb12d44e028893e7dae7a926b0081
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6bafa255e793ab102a3d5faa1d8d4658f53cb688d27892dc6cd53b2175547c0bac2cc1bc0bd3ebc5dc46037847e18a333f8992afb2236bc68914bc872b334150
|
|
7
|
+
data.tar.gz: 910ed05acb672bd1e729223d2d413987ec76c681cf72b6191b124063a1101e5d0822c541972510116b8b49a0a44943966a2ba4f5a6d85d0934d9e08410753519
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
// Custom TableSorter
|
|
2
|
+
.tablesorter-blue {
|
|
3
|
+
.header,
|
|
4
|
+
.tablesorter-header {
|
|
5
|
+
background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==); // black (unsorted) double arrow
|
|
6
|
+
background-repeat: no-repeat;
|
|
7
|
+
background-position: center right;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
padding-right: 18px;
|
|
10
|
+
white-space: normal;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.headerSortUp,
|
|
14
|
+
.tablesorter-headerSortUp,
|
|
15
|
+
.tablesorter-headerAsc {
|
|
16
|
+
background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7); // black asc arrow
|
|
17
|
+
color: #000;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.headerSortDown,
|
|
21
|
+
.tablesorter-headerSortDown,
|
|
22
|
+
.tablesorter-headerDesc {
|
|
23
|
+
background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7); // black desc arrow
|
|
24
|
+
color: #000;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
thead {
|
|
28
|
+
.sorter-false {
|
|
29
|
+
background-image: none;
|
|
30
|
+
cursor: default;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
tfoot {
|
|
35
|
+
.tablesorter-headerSortUp,
|
|
36
|
+
.tablesorter-headerSortDown,
|
|
37
|
+
.tablesorter-headerAsc,
|
|
38
|
+
.tablesorter-headerDesc {
|
|
39
|
+
background-image: none; // remove sort arrows from footer
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
caption {
|
|
44
|
+
background-color: #fff;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// table processing indicator
|
|
48
|
+
.tablesorter-processing {
|
|
49
|
+
background-position: center center !important;
|
|
50
|
+
background-repeat: no-repeat !important;
|
|
51
|
+
background-image: url(data:image/gif;base64,R0lGODlhFAAUAKEAAO7u7lpaWgAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQBCgACACwAAAAAFAAUAAACQZRvoIDtu1wLQUAlqKTVxqwhXIiBnDg6Y4eyx4lKW5XK7wrLeK3vbq8J2W4T4e1nMhpWrZCTt3xKZ8kgsggdJmUFACH5BAEKAAIALAcAAAALAAcAAAIUVB6ii7jajgCAuUmtovxtXnmdUAAAIfkEAQoAAgAsDQACAAcACwAAAhRUIpmHy/3gUVQAQO9NetuugCFWAAAh+QQBCgACACwNAAcABwALAAACE5QVcZjKbVo6ck2AF95m5/6BSwEAIfkEAQoAAgAsBwANAAsABwAAAhOUH3kr6QaAcSrGWe1VQl+mMUIBACH5BAEKAAIALAIADQALAAcAAAIUlICmh7ncTAgqijkruDiv7n2YUAAAIfkEAQoAAgAsAAAHAAcACwAAAhQUIGmHyedehIoqFXLKfPOAaZdWAAAh+QQFCgACACwAAAIABwALAAACFJQFcJiXb15zLYRl7cla8OtlGGgUADs=) !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// filters
|
|
55
|
+
.tablesorter-filter {
|
|
56
|
+
background-color: #fff;
|
|
57
|
+
-webkit-box-sizing: border-box;
|
|
58
|
+
-moz-box-sizing: border-box;
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
border: 1px solid #bbb;
|
|
61
|
+
color: #333;
|
|
62
|
+
height: auto;
|
|
63
|
+
margin: 0;
|
|
64
|
+
padding: 4px;
|
|
65
|
+
-webkit-transition: height .1s ease;
|
|
66
|
+
-moz-transition: height .1s ease;
|
|
67
|
+
-o-transition: height .1s ease;
|
|
68
|
+
transition: height .1s ease;
|
|
69
|
+
width: 98%;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// filter widget
|
|
73
|
+
.tablesorter-filter-row {
|
|
74
|
+
td {
|
|
75
|
+
background-color: #eee;
|
|
76
|
+
line-height: normal;
|
|
77
|
+
text-align: center; // center the input
|
|
78
|
+
-webkit-transition: line-height .1s ease;
|
|
79
|
+
-moz-transition: line-height .1s ease;
|
|
80
|
+
-o-transition: line-height .1s ease;
|
|
81
|
+
transition: line-height .1s ease;
|
|
82
|
+
.disabled { // optional disabled input styling
|
|
83
|
+
cursor: not-allowed;
|
|
84
|
+
opacity: 0.5;
|
|
85
|
+
filter: alpha(opacity=50);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
&.hideme,
|
|
89
|
+
&.hidden {
|
|
90
|
+
td {
|
|
91
|
+
// change this padding to modify the thickness
|
|
92
|
+
// of the closed filter row (height = padding x 2)
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
line-height: 0;
|
|
95
|
+
margin: 0;
|
|
96
|
+
padding: 2px;
|
|
97
|
+
}
|
|
98
|
+
.tablesorter-filter {
|
|
99
|
+
border: 0;
|
|
100
|
+
height: 1px;
|
|
101
|
+
margin: 0;
|
|
102
|
+
min-height: 0;
|
|
103
|
+
opacity: 0; // don't use visibility: hidden because it disables tabbing
|
|
104
|
+
filter: alpha(opacity=0);
|
|
105
|
+
padding: 0;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// Zebra widget - column sort colors
|
|
111
|
+
tr.odd td.primary,
|
|
112
|
+
td.primary {
|
|
113
|
+
background-color: #b0b0b0;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
tr.even td.primary,
|
|
117
|
+
tr.odd td.secondary,
|
|
118
|
+
td.secondary {
|
|
119
|
+
background-color: #ccc;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
tr.odd td,
|
|
123
|
+
tr.even td.tertiary {
|
|
124
|
+
background-color: #f5f5f5;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
tr.even td.secondary,
|
|
128
|
+
tr.odd td.tertiary,
|
|
129
|
+
td.tertiary {
|
|
130
|
+
background-color: #d9d9d9;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// tbody
|
|
135
|
+
// hovered row colors
|
|
136
|
+
// you'll need to add additional lines for
|
|
137
|
+
// rows with more than 2 child rows
|
|
138
|
+
.tablesorter-blue tbody > tr:hover > td,
|
|
139
|
+
.tablesorter-blue tbody > tr:hover + tr.tablesorter-childRow > td,
|
|
140
|
+
.tablesorter-blue tbody > tr:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td,
|
|
141
|
+
.tablesorter-blue tbody > tr.even:hover > td,
|
|
142
|
+
.tablesorter-blue tbody > tr.even:hover + tr.tablesorter-childRow > td,
|
|
143
|
+
.tablesorter-blue tbody > tr.even:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
|
|
144
|
+
background: #f5f5f5;
|
|
145
|
+
}
|
|
146
|
+
.tablesorter-blue tbody > tr.odd:hover > td,
|
|
147
|
+
.tablesorter-blue tbody > tr.odd:hover + tr.tablesorter-childRow > td,
|
|
148
|
+
.tablesorter-blue tbody > tr.odd:hover + tr.tablesorter-childRow + tr.tablesorter-childRow > td {
|
|
149
|
+
background: #bfbfbf;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
// ajax error row
|
|
153
|
+
.tablesorter {
|
|
154
|
+
.tablesorter-errorRow td {
|
|
155
|
+
background-color: #e6bf99;
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
text-align: center;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -1,22 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
</li>
|
|
9
|
-
<li>
|
|
10
|
-
<%= link_to t('header-menu.mailing.scheduled_mails_all'),
|
|
11
|
-
"#{APP_CONFIG['mailing-url']}/scheduled_mails/history" %>
|
|
12
|
-
</li>
|
|
13
|
-
<li>
|
|
14
|
-
<%= link_to t('header-menu.mailing.scheduled_mails_future'),
|
|
15
|
-
"#{APP_CONFIG['mailing-url']}/scheduled_mails/pending" %>
|
|
16
|
-
</li>
|
|
17
|
-
<% if can?(:manage, :mailchimp) -%>
|
|
18
|
-
<li>
|
|
19
|
-
<%= link_to t('header-menu.mailing.mailchimp_configuration'),
|
|
20
|
-
"#{APP_CONFIG['mailing-url']}/mailchimp/configuration" %>
|
|
21
|
-
</li>
|
|
22
|
-
<% end -%>
|
|
1
|
+
<li><%= link_to t('header-menu.mailing.templates'), "#{APP_CONFIG['mailing-url']}/templates" %></li>
|
|
2
|
+
<li><%= link_to t('header-menu.mailing.triggers'), "#{APP_CONFIG['mailing-url']}/triggers" %></li>
|
|
3
|
+
<li><%= link_to t('header-menu.mailing.scheduled_mails_all'), "#{APP_CONFIG['mailing-url']}/scheduled_mails/history" %></li>
|
|
4
|
+
<li><%= link_to t('header-menu.mailing.scheduled_mails_future'), "#{APP_CONFIG['mailing-url']}/scheduled_mails/pending" %></li>
|
|
5
|
+
<% if 'mailchimp'.in?(current_user.current_account.padma.enabled_petals||[]) -%>
|
|
6
|
+
<li><%= link_to t('header-menu.mailing.mailchimp_configuration'), "#{APP_CONFIG['mailing-url']}/mailchimp/configuration" %></li>
|
|
7
|
+
<% end -%>
|
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
<ul class="dropdown-menu" role="menu">
|
|
49
49
|
<li><%= link_to t('header-menu.modules.fnz'), APP_CONFIG['fnz-url'] %></li>
|
|
50
50
|
<li><%= link_to t('header-menu.modules.planning'), APP_CONFIG['planning-url'] %></li>
|
|
51
|
+
<% if can?(:manage, :mailchimp) -%>
|
|
52
|
+
<li><%= link_to t('header-menu.mailing.mailchimp_configuration'), "#{APP_CONFIG['mailing-url']}/mailchimp/configuration" %></li>
|
|
53
|
+
<% end -%>
|
|
51
54
|
</ul>
|
|
52
55
|
</li>
|
|
53
56
|
</ul>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: padma-assets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dwayne Macgowan
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-02-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -91,6 +91,7 @@ files:
|
|
|
91
91
|
- app/assets/stylesheets/common/variables.scss
|
|
92
92
|
- app/assets/stylesheets/custom/colors.css.scss
|
|
93
93
|
- app/assets/stylesheets/custom/form.css.scss
|
|
94
|
+
- app/assets/stylesheets/custom/table-sorter.scss
|
|
94
95
|
- app/assets/stylesheets/custom/tabs.scss
|
|
95
96
|
- app/assets/stylesheets/fonts.css.erb
|
|
96
97
|
- app/assets/stylesheets/footer.css
|