my_dashboard 0.8.1 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/app/assets/javascripts/my_dashboard/application.js +0 -1
- data/app/views/my_dashboard/dashboards/sample.html.erb +12 -12
- data/app/views/my_dashboard/widgets/comments.html +2 -2
- data/app/views/my_dashboard/widgets/graph.html +3 -3
- data/app/views/my_dashboard/widgets/list.html +3 -3
- data/app/views/my_dashboard/widgets/meter.html +3 -3
- data/app/views/my_dashboard/widgets/number.html +7 -6
- data/app/views/my_dashboard/widgets/text.html +4 -4
- data/lib/generators/templates/dashboards/sample.html.erb +12 -12
- data/lib/my_dashboard/version.rb +1 -1
- data/my_dashboard.gemspec +1 -1
- data/vendor/assets/javascripts/my_dashboard/index.js +0 -1
- data/vendor/assets/stylesheets/my_dashboard/index.css +0 -1
- metadata +3 -7
- data/app/assets/javascripts/my_dashboard/my_dashboard.coffee +0 -23
- data/lib/assets/javascripts/my_dashboard.gridster.coffee +0 -51
- data/vendor/assets/javascripts/my_dashboard/jquery.gridster.js +0 -5098
- data/vendor/assets/stylesheets/my_dashboard/jquery.gridster.css +0 -108
@@ -1,108 +0,0 @@
|
|
1
|
-
/*! gridster.js - v0.6.10 - 2015-05-31
|
2
|
-
* https://dsmorse.github.io/gridster.js/
|
3
|
-
* Copyright (c) 2015 ducksboard; Licensed MIT */
|
4
|
-
.gridster {
|
5
|
-
position: relative;
|
6
|
-
}
|
7
|
-
.gridster > * {
|
8
|
-
-webkit-transition: height .4s, width .4s;
|
9
|
-
-moz-transition: height .4s, width .4s;
|
10
|
-
-o-transition: height .4s, width .4s;
|
11
|
-
-ms-transition: height .4s, width .4s;
|
12
|
-
transition: height .4s, width .4s;
|
13
|
-
}
|
14
|
-
.gridster .gs-w {
|
15
|
-
z-index: 2;
|
16
|
-
position: absolute;
|
17
|
-
}
|
18
|
-
.gridster .preview-holder {
|
19
|
-
z-index: 1;
|
20
|
-
position: absolute;
|
21
|
-
background-color: #fff;
|
22
|
-
border-color: #fff;
|
23
|
-
opacity: 0.3;
|
24
|
-
}
|
25
|
-
.gridster .player-revert {
|
26
|
-
z-index: 10!important;
|
27
|
-
-webkit-transition: left .3s, top .3s!important;
|
28
|
-
-moz-transition: left .3s, top .3s!important;
|
29
|
-
-o-transition: left .3s, top .3s!important;
|
30
|
-
transition: left .3s, top .3s!important;
|
31
|
-
}
|
32
|
-
.gridster.collapsed {
|
33
|
-
height: auto !important;
|
34
|
-
}
|
35
|
-
.gridster.collapsed .gs-w {
|
36
|
-
position: static !important;
|
37
|
-
}
|
38
|
-
.ready .gs-w:not(.preview-holder) {
|
39
|
-
-webkit-transition: opacity .3s, left .3s, top .3s;
|
40
|
-
-moz-transition: opacity .3s, left .3s, top .3s;
|
41
|
-
-o-transition: opacity .3s, left .3s, top .3s;
|
42
|
-
transition: opacity .3s, left .3s, top .3s;
|
43
|
-
}
|
44
|
-
.ready .gs-w:not(.preview-holder),
|
45
|
-
.ready .resize-preview-holder {
|
46
|
-
-webkit-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
47
|
-
-moz-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
48
|
-
-o-transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
49
|
-
transition: opacity .3s, left .3s, top .3s, width .3s, height .3s;
|
50
|
-
}
|
51
|
-
.gridster .dragging,
|
52
|
-
.gridster .resizing {
|
53
|
-
z-index: 10!important;
|
54
|
-
-webkit-transition: all 0s !important;
|
55
|
-
-moz-transition: all 0s !important;
|
56
|
-
-o-transition: all 0s !important;
|
57
|
-
transition: all 0s !important;
|
58
|
-
}
|
59
|
-
.gs-resize-handle {
|
60
|
-
position: absolute;
|
61
|
-
z-index: 1;
|
62
|
-
}
|
63
|
-
.gs-resize-handle-both {
|
64
|
-
width: 20px;
|
65
|
-
height: 20px;
|
66
|
-
bottom: -8px;
|
67
|
-
right: -8px;
|
68
|
-
background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=');
|
69
|
-
background-position: top left;
|
70
|
-
background-repeat: no-repeat;
|
71
|
-
cursor: se-resize;
|
72
|
-
z-index: 20;
|
73
|
-
}
|
74
|
-
.gs-resize-handle-x {
|
75
|
-
top: 0;
|
76
|
-
bottom: 13px;
|
77
|
-
right: -5px;
|
78
|
-
width: 10px;
|
79
|
-
cursor: e-resize;
|
80
|
-
}
|
81
|
-
.gs-resize-handle-y {
|
82
|
-
left: 0;
|
83
|
-
right: 13px;
|
84
|
-
bottom: -5px;
|
85
|
-
height: 10px;
|
86
|
-
cursor: s-resize;
|
87
|
-
}
|
88
|
-
.gs-w:hover .gs-resize-handle,
|
89
|
-
.resizing .gs-resize-handle {
|
90
|
-
opacity: 1;
|
91
|
-
}
|
92
|
-
.gs-resize-handle,
|
93
|
-
.gs-w.dragging .gs-resize-handle {
|
94
|
-
opacity: 0;
|
95
|
-
}
|
96
|
-
.gs-resize-disabled .gs-resize-handle {
|
97
|
-
display: none!important;
|
98
|
-
}
|
99
|
-
[data-max-sizex="1"] .gs-resize-handle-x,
|
100
|
-
[data-max-sizey="1"] .gs-resize-handle-y,
|
101
|
-
[data-max-sizey="1"][data-max-sizex="1"] .gs-resize-handle {
|
102
|
-
display: none !important;
|
103
|
-
}
|
104
|
-
/* Uncomment this if you set helper : "clone" in draggable options */
|
105
|
-
/*.gridster .player {
|
106
|
-
opacity:0;
|
107
|
-
}
|
108
|
-
*/
|