my_dashboard 0.7.2 → 0.8.0
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/app/assets/stylesheets/my_dashboard/configurations.scss +5 -0
- data/lib/my_dashboard/version.rb +1 -1
- data/my_dashboard.gemspec +9 -8
- data/vendor/assets/stylesheets/my_dashboard/configurations.scss +5 -0
- data/vendor/assets/stylesheets/my_dashboard/index.css +1 -0
- data/vendor/assets/stylesheets/my_dashboard/my_dashboard.scss +21 -75
- metadata +28 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 653b3c9dc14a4174054d066d97c01d06e1939ec7
|
4
|
+
data.tar.gz: b42734d7c29ee330195b7e8c41f7e075e1656336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57f4c14ccb47be77802de3e23ca85c12fce9b948747561e4bd27e4b8994e8e8102c0a8e7c9a4e77e6534774208acce7cffea929263d91eb21a2948fb7ce32097
|
7
|
+
data.tar.gz: 80272636189ccd3c92cd7bab4941076899bf3ad3a1762f93a8af49c68170a62d8cb79c01b30d51a491b9d03b2d57583d896d7b9a35a88b81542bbf776aced087
|
data/CHANGELOG.md
CHANGED
data/lib/my_dashboard/version.rb
CHANGED
data/my_dashboard.gemspec
CHANGED
@@ -18,14 +18,15 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'rails',
|
22
|
-
spec.add_dependency 'jquery-rails',
|
23
|
-
spec.add_dependency 'coffee-script',
|
24
|
-
spec.add_dependency 'rufus-scheduler',
|
21
|
+
spec.add_dependency 'rails', '~> 4.0'
|
22
|
+
spec.add_dependency 'jquery-rails', '~> 3.0'
|
23
|
+
spec.add_dependency 'coffee-script', '~> 2.0'
|
24
|
+
spec.add_dependency 'rufus-scheduler', '~> 3.2'
|
25
25
|
spec.add_dependency 'redis', '~> 3.2'
|
26
|
-
spec.add_dependency 'connection_pool',
|
26
|
+
spec.add_dependency 'connection_pool', '~> 2.2'
|
27
|
+
spec.add_dependency 'neat', '~> 1.7.4'
|
27
28
|
|
28
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
29
|
-
spec.add_development_dependency 'pry-rails'
|
30
|
-
spec.add_development_dependency 'better_errors'
|
29
|
+
spec.add_development_dependency 'bundler', '~> 1.12.4'
|
30
|
+
spec.add_development_dependency 'pry-rails', '~> 0.3.4'
|
31
|
+
spec.add_development_dependency 'better_errors', '~> 2.1.1'
|
31
32
|
end
|
@@ -108,86 +108,43 @@ h3 {
|
|
108
108
|
// ----------------------------------------------------------------------------
|
109
109
|
// Base widget styles
|
110
110
|
// ----------------------------------------------------------------------------
|
111
|
-
.gridster {
|
112
|
-
margin: 0px auto;
|
113
|
-
}
|
114
111
|
|
115
|
-
.
|
116
|
-
|
117
|
-
|
118
|
-
height: 100%;
|
119
|
-
position: absolute;
|
120
|
-
left: 0;
|
121
|
-
top: 0;
|
122
|
-
opacity: 0.1;
|
123
|
-
font-size: 275px;
|
124
|
-
text-align: center;
|
125
|
-
margin-top: 82px;
|
112
|
+
.cards {
|
113
|
+
@include outer-container;
|
114
|
+
font-family: Arial;
|
126
115
|
}
|
127
116
|
|
128
|
-
.
|
129
|
-
|
117
|
+
.cards > .item {
|
118
|
+
@include span-columns(3);
|
130
119
|
}
|
131
120
|
|
132
|
-
.
|
133
|
-
|
121
|
+
.cards > .item > .content {
|
122
|
+
@include span-columns(3 of 3);
|
134
123
|
}
|
135
124
|
|
136
|
-
.
|
137
|
-
|
138
|
-
display: table;
|
139
|
-
cursor: pointer;
|
125
|
+
.cards > .item > .content {
|
126
|
+
color: #ffffff;
|
140
127
|
}
|
141
128
|
|
142
|
-
.
|
129
|
+
.cards > .item > .content > .title,
|
130
|
+
.cards > .item > .content > .value {
|
131
|
+
font-weight: bold;
|
143
132
|
text-align: center;
|
144
|
-
|
145
|
-
height: inherit;
|
146
|
-
display: table-cell;
|
147
|
-
vertical-align: middle;
|
148
|
-
}
|
149
|
-
|
150
|
-
.widget.status-warning {
|
151
|
-
background-color: $background-warning-color-1;
|
152
|
-
@include animation(status-warning-background, 2s, ease, infinite);
|
153
|
-
|
154
|
-
.icon-warning-sign {
|
155
|
-
display: inline-block;
|
156
|
-
}
|
157
|
-
|
158
|
-
.title, .more-info {
|
159
|
-
color: $text-warning-color;
|
160
|
-
}
|
133
|
+
text-transform: uppercase;
|
161
134
|
}
|
162
135
|
|
163
|
-
.
|
164
|
-
|
165
|
-
|
166
|
-
@include animation(status-danger-background, 2s, ease, infinite);
|
167
|
-
|
168
|
-
.icon-warning-sign {
|
169
|
-
display: inline-block;
|
170
|
-
}
|
171
|
-
|
172
|
-
.title, .more-info {
|
173
|
-
color: $text-danger-color;
|
174
|
-
}
|
136
|
+
.cards > .item > .content > .info,
|
137
|
+
.cards > .item > .content > .updated {
|
138
|
+
font-size: 15px;
|
175
139
|
}
|
176
140
|
|
177
|
-
.
|
178
|
-
|
179
|
-
|
180
|
-
bottom: 32px;
|
181
|
-
left: 0;
|
182
|
-
right: 0;
|
141
|
+
.cards > .item > .content > .title,
|
142
|
+
.cards > .item > .content > .percentage > .value {
|
143
|
+
font-size: 30px;
|
183
144
|
}
|
184
145
|
|
185
|
-
.
|
186
|
-
font-size:
|
187
|
-
position: absolute;
|
188
|
-
bottom: 12px;
|
189
|
-
left: 0;
|
190
|
-
right: 0;
|
146
|
+
.cards > .item > .content > .value {
|
147
|
+
font-size: 75px;
|
191
148
|
}
|
192
149
|
|
193
150
|
#save-gridster {
|
@@ -240,14 +197,3 @@ h3 {
|
|
240
197
|
display: none;
|
241
198
|
}
|
242
199
|
|
243
|
-
#container {
|
244
|
-
padding-top: 5px;
|
245
|
-
}
|
246
|
-
|
247
|
-
|
248
|
-
// ----------------------------------------------------------------------------
|
249
|
-
// Clearfix
|
250
|
-
// ----------------------------------------------------------------------------
|
251
|
-
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
|
252
|
-
.clearfix:after { clear: both; }
|
253
|
-
.clearfix { zoom: 1; }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my_dashboard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danilo Vaz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -94,48 +94,62 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '2.2'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: neat
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.7.4
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 1.7.4
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: bundler
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
117
|
+
version: 1.12.4
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
124
|
+
version: 1.12.4
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: pry-rails
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- - "
|
129
|
+
- - "~>"
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
131
|
+
version: 0.3.4
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- - "
|
136
|
+
- - "~>"
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
138
|
+
version: 0.3.4
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: better_errors
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- - "
|
143
|
+
- - "~>"
|
130
144
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
145
|
+
version: 2.1.1
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- - "
|
150
|
+
- - "~>"
|
137
151
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
152
|
+
version: 2.1.1
|
139
153
|
description: Generate awesome widgets dashboard for Rails with FlexBox.
|
140
154
|
email:
|
141
155
|
- danilo.vaz@mlabs.com.br
|
@@ -153,6 +167,7 @@ files:
|
|
153
167
|
- app/assets/javascripts/my_dashboard/application.js
|
154
168
|
- app/assets/javascripts/my_dashboard/my_dashboard.coffee
|
155
169
|
- app/assets/stylesheets/my_dashboard/application.css
|
170
|
+
- app/assets/stylesheets/my_dashboard/configurations.scss
|
156
171
|
- app/controllers/my_dashboard/application_controller.rb
|
157
172
|
- app/controllers/my_dashboard/dashboards_controller.rb
|
158
173
|
- app/controllers/my_dashboard/events_controller.rb
|
@@ -276,6 +291,7 @@ files:
|
|
276
291
|
- vendor/assets/javascripts/my_dashboard/moment.min.js
|
277
292
|
- vendor/assets/javascripts/my_dashboard/my_dashboard-src.coffee
|
278
293
|
- vendor/assets/javascripts/my_dashboard/rickshaw-1.5.1.min.js
|
294
|
+
- vendor/assets/stylesheets/my_dashboard/configurations.scss
|
279
295
|
- vendor/assets/stylesheets/my_dashboard/font-awesome.scss
|
280
296
|
- vendor/assets/stylesheets/my_dashboard/index.css
|
281
297
|
- vendor/assets/stylesheets/my_dashboard/jquery.gridster.css
|