spiderfw 0.6.26.pre1 → 0.6.26
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/VERSION +1 -1
- data/apps/app_server/lib/git_app.rb +1 -1
- data/apps/core/admin/admin.rb +2 -1
- data/apps/core/components/public/bootstrap/LICENSE +0 -0
- data/apps/core/components/public/bootstrap/README.md +3 -2
- data/apps/core/components/public/bootstrap/img/glyphicons-halflings-white.png +0 -0
- data/apps/core/components/public/bootstrap/img/glyphicons-halflings.png +0 -0
- data/apps/core/components/public/bootstrap/js/README.md +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-alert.js +8 -5
- data/apps/core/components/public/bootstrap/js/bootstrap-button.js +5 -3
- data/apps/core/components/public/bootstrap/js/bootstrap-carousel.js +5 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-collapse.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-dropdown.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-modal.js +6 -5
- data/apps/core/components/public/bootstrap/js/bootstrap-popover.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-scrollspy.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-tab.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-tooltip.js +2 -2
- data/apps/core/components/public/bootstrap/js/bootstrap-transition.js +3 -3
- data/apps/core/components/public/bootstrap/js/bootstrap-typeahead.js +2 -2
- data/apps/core/components/public/bootstrap/js/tests/index.html +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-alert.js +2 -2
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-button.js +25 -2
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-collapse.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-dropdown.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-modal.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-popover.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-scrollspy.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-tab.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-tooltip.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-transition.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/unit/bootstrap-typeahead.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/vendor/jquery.js +0 -0
- data/apps/core/components/public/bootstrap/js/tests/vendor/qunit.css +0 -0
- data/apps/core/components/public/bootstrap/js/tests/vendor/qunit.js +0 -0
- data/apps/core/components/public/bootstrap/scss/_accordion.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_alerts.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_breadcrumbs.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_button-groups.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/_buttons.scss +25 -7
- data/apps/core/components/public/bootstrap/scss/_carousel.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/_close.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_code.scss +13 -0
- data/apps/core/components/public/bootstrap/scss/_component-animations.scss +2 -2
- data/apps/core/components/public/bootstrap/scss/_dropdowns.scss +2 -3
- data/apps/core/components/public/bootstrap/scss/_forms.scss +50 -44
- data/apps/core/components/public/bootstrap/scss/_grid.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_hero-unit.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_labels.scss +23 -7
- data/apps/core/components/public/bootstrap/scss/_layouts.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_mixins.scss +83 -68
- data/apps/core/components/public/bootstrap/scss/_modals.scss +11 -0
- data/apps/core/components/public/bootstrap/scss/_navbar.scss +11 -3
- data/apps/core/components/public/bootstrap/scss/_navs.scss +27 -17
- data/apps/core/components/public/bootstrap/scss/_pager.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_pagination.scss +38 -47
- data/apps/core/components/public/bootstrap/scss/_popovers.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_print.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_progress-bars.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_reset.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/_scaffolding.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_sprites.scss +7 -5
- data/apps/core/components/public/bootstrap/scss/_tables.scss +14 -3
- data/apps/core/components/public/bootstrap/scss/_thumbnails.scss +2 -2
- data/apps/core/components/public/bootstrap/scss/_tooltip.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_type.scss +3 -2
- data/apps/core/components/public/bootstrap/scss/_utilities.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/_variables.scss +12 -4
- data/apps/core/components/public/bootstrap/scss/_wells.scss +0 -0
- data/apps/core/components/public/bootstrap/scss/bootstrap.css +290 -820
- data/apps/core/components/public/bootstrap/scss/bootstrap.scss +1 -1
- data/apps/core/components/public/bootstrap/scss/{bootstrap-responsive.css → responsive.css} +42 -31
- data/apps/core/components/public/bootstrap/scss/{bootstrap-responsive.scss → responsive.scss} +10 -6
- data/apps/core/components/public/css/table_base.css +0 -4
- data/apps/core/components/public/js/jquery/jquery-ui-1.8.11/ui/jquery.ui.sortable.js +10 -2
- data/apps/core/components/public/js/plugins/sortable.js +4 -4
- data/apps/core/components/public/js/spider.js +3 -1
- data/apps/core/components/widgets/confirm/confirm.rb +20 -7
- data/apps/core/components/widgets/table/table.shtml +1 -1
- data/apps/core/forms/public/html_area.js +5 -4
- data/apps/core/forms/public/input.js +28 -28
- data/apps/core/forms/public/search_select.js +131 -131
- data/apps/core/forms/public/select.js +16 -16
- data/apps/core/forms/widgets/form/form.rb +11 -7
- data/apps/core/forms/widgets/inputs/date_time/date_time.rb +1 -1
- data/apps/core/forms/widgets/inputs/html_area/html_area.shtml +2 -2
- data/apps/core/forms/widgets/inputs/input/input.rb +3 -1
- data/apps/messenger/lib/backends/mobyt.rb +11 -0
- data/apps/messenger/test/features/sms_mobyt.feature +24 -0
- data/apps/messenger/test/features/step_definitions/sms_mobyt.rb +21 -0
- data/apps/messenger/views/index.shtml +2 -2
- data/apps/soap/controllers/soap_controller.rb +5 -2
- data/lib/spiderfw/app.rb +13 -0
- data/lib/spiderfw/config/configuration.rb +4 -1
- data/lib/spiderfw/config/options/spider.rb +1 -1
- data/lib/spiderfw/controller/http_controller.rb +2 -0
- data/lib/spiderfw/http/adapters/rack.rb +1 -1
- data/lib/spiderfw/i18n/cldr.rb +1 -1
- data/lib/spiderfw/model/base_model.rb +5 -0
- data/lib/spiderfw/model/mappers/mapper.rb +3 -1
- data/lib/spiderfw/model/mixins/tree.rb +11 -1
- data/lib/spiderfw/model/model.rb +7 -5
- data/lib/spiderfw/model/query_set.rb +6 -0
- data/lib/spiderfw/setup/app_server_client.rb +1 -1
- data/lib/spiderfw/spider.rb +9 -9
- data/lib/spiderfw/templates/layout.rb +5 -3
- data/lib/spiderfw/templates/resources/sass.rb +31 -3
- data/lib/spiderfw/templates/template.rb +10 -9
- data/lib/spiderfw/widget/widget.rb +2 -2
- metadata +13 -17
- data/apps/core/components/public/bootstrap/scss/_custom.css +0 -0
- data/apps/core/components/public/bootstrap/scss/_patterns.scss +0 -13
- data/apps/core/components/public/bootstrap/scss/config.rb +0 -36
@@ -4,61 +4,52 @@
|
|
4
4
|
.pagination {
|
5
5
|
height: $baseLineHeight * 2;
|
6
6
|
margin: $baseLineHeight 0;
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
li {
|
7
|
+
}
|
8
|
+
.pagination ul {
|
9
|
+
display: inline-block;
|
10
|
+
@include ie7-inline-block();
|
11
|
+
margin-left: 0;
|
12
|
+
margin-bottom: 0;
|
13
|
+
@include border-radius(3px);
|
14
|
+
@include box-shadow(0 1px 2px rgba(0,0,0,.05));
|
15
|
+
}
|
16
|
+
.pagination li {
|
18
17
|
display: inline;
|
19
18
|
}
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
border-left-width: 1px;
|
49
|
-
@include border-radius(3px 0 0 3px);
|
50
|
-
}
|
51
|
-
|
52
|
-
li:last-child a {
|
53
|
-
@include border-radius(0 3px 3px 0);
|
54
|
-
}
|
19
|
+
.pagination a {
|
20
|
+
float: left;
|
21
|
+
padding: 0 14px;
|
22
|
+
line-height: ($baseLineHeight * 2) - 2;
|
23
|
+
text-decoration: none;
|
24
|
+
border: 1px solid #ddd;
|
25
|
+
border-left-width: 0;
|
26
|
+
}
|
27
|
+
.pagination a:hover,
|
28
|
+
.pagination .active a {
|
29
|
+
background-color: #f5f5f5;
|
30
|
+
}
|
31
|
+
.pagination .active a {
|
32
|
+
color: $grayLight;
|
33
|
+
cursor: default;
|
34
|
+
}
|
35
|
+
.pagination .disabled a,
|
36
|
+
.pagination .disabled a:hover {
|
37
|
+
color: $grayLight;
|
38
|
+
background-color: transparent;
|
39
|
+
cursor: default;
|
40
|
+
}
|
41
|
+
.pagination li:first-child a {
|
42
|
+
border-left-width: 1px;
|
43
|
+
@include border-radius(3px 0 0 3px);
|
44
|
+
}
|
45
|
+
.pagination li:last-child a {
|
46
|
+
@include border-radius(0 3px 3px 0);
|
55
47
|
}
|
56
48
|
|
57
49
|
// Centered
|
58
50
|
.pagination-centered {
|
59
51
|
text-align: center;
|
60
52
|
}
|
61
|
-
|
62
53
|
.pagination-right {
|
63
54
|
text-align: right;
|
64
55
|
}
|
File without changes
|
File without changes
|
File without changes
|
@@ -108,7 +108,7 @@ input[type="button"],
|
|
108
108
|
input[type="reset"],
|
109
109
|
input[type="submit"] {
|
110
110
|
cursor: pointer; // Cursors on all buttons applied consistently
|
111
|
-
-webkit-appearance: button; // Style
|
111
|
+
-webkit-appearance: button; // Style clickable inputs in iOS
|
112
112
|
}
|
113
113
|
input[type="search"] { // Appearance in Safari/Chrome
|
114
114
|
-webkit-appearance: textfield;
|
File without changes
|
@@ -9,24 +9,26 @@
|
|
9
9
|
// All icons receive the styles of the <i> tag with a base class
|
10
10
|
// of .i and are then given a unique class to add width, height,
|
11
11
|
// and background-position. Your resulting HTML will look like
|
12
|
-
// <i class="
|
12
|
+
// <i class="icon-inbox"></i>.
|
13
13
|
|
14
14
|
// For the white version of the icons, just add the .icon-white class:
|
15
|
-
// <i class="
|
15
|
+
// <i class="icon-inbox icon-white"></i>
|
16
16
|
|
17
|
-
[class^="icon-"]
|
17
|
+
[class^="icon-"],
|
18
|
+
[class*=" icon-"] {
|
18
19
|
display: inline-block;
|
19
20
|
width: 14px;
|
20
21
|
height: 14px;
|
22
|
+
line-height: 14px;
|
21
23
|
vertical-align: text-top;
|
22
|
-
background-image: url(
|
24
|
+
background-image: url($iconSpritePath);
|
23
25
|
background-position: 14px 14px;
|
24
26
|
background-repeat: no-repeat;
|
25
27
|
|
26
28
|
@include ie7-restore-right-whitespace();
|
27
29
|
}
|
28
30
|
.icon-white {
|
29
|
-
background-image: url(
|
31
|
+
background-image: url($iconWhiteSpritePath);
|
30
32
|
}
|
31
33
|
|
32
34
|
.icon-glass { background-position: 0 0; }
|
@@ -25,14 +25,15 @@ table {
|
|
25
25
|
padding: 8px;
|
26
26
|
line-height: $baseLineHeight;
|
27
27
|
text-align: left;
|
28
|
+
vertical-align: top;
|
28
29
|
border-top: 1px solid #ddd;
|
29
30
|
}
|
30
31
|
th {
|
31
32
|
font-weight: bold;
|
32
|
-
vertical-align: bottom;
|
33
33
|
}
|
34
|
-
|
35
|
-
|
34
|
+
// Bottom align for column headings
|
35
|
+
thead th {
|
36
|
+
vertical-align: bottom;
|
36
37
|
}
|
37
38
|
// Remove top border from thead by default
|
38
39
|
thead:first-child tr th,
|
@@ -113,6 +114,16 @@ table {
|
|
113
114
|
}
|
114
115
|
|
115
116
|
|
117
|
+
// HOVER EFFECT
|
118
|
+
// ------------
|
119
|
+
// Placed here since it has to come after the potential zebra striping
|
120
|
+
.table {
|
121
|
+
tbody tr:hover td,
|
122
|
+
tbody tr:hover th {
|
123
|
+
background-color: #f5f5f5;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
|
116
127
|
|
117
128
|
// TABLE CELL SIZING
|
118
129
|
// -----------------
|
@@ -2,13 +2,13 @@
|
|
2
2
|
// ----------
|
3
3
|
|
4
4
|
.thumbnails {
|
5
|
-
margin-left:
|
5
|
+
margin-left: -$gridGutterWidth;
|
6
6
|
list-style: none;
|
7
7
|
@include clearfix();
|
8
8
|
}
|
9
9
|
.thumbnails > li {
|
10
10
|
float: left;
|
11
|
-
margin: 0 0 $baseLineHeight
|
11
|
+
margin: 0 0 $baseLineHeight $gridGutterWidth;
|
12
12
|
}
|
13
13
|
.thumbnail {
|
14
14
|
display: block;
|
File without changes
|
@@ -110,7 +110,8 @@ ol {
|
|
110
110
|
li {
|
111
111
|
line-height: $baseLineHeight;
|
112
112
|
}
|
113
|
-
ul.unstyled
|
113
|
+
ul.unstyled,
|
114
|
+
ol.unstyled {
|
114
115
|
margin-left: 0;
|
115
116
|
list-style: none;
|
116
117
|
}
|
@@ -137,7 +138,7 @@ dd {
|
|
137
138
|
hr {
|
138
139
|
margin: $baseLineHeight 0;
|
139
140
|
border: 0;
|
140
|
-
border-top: 1px solid
|
141
|
+
border-top: 1px solid $hrBorder;
|
141
142
|
border-bottom: 1px solid $white;
|
142
143
|
}
|
143
144
|
|
File without changes
|
@@ -4,13 +4,13 @@
|
|
4
4
|
|
5
5
|
|
6
6
|
|
7
|
-
//
|
8
|
-
//
|
7
|
+
// GLOBAL VALUES
|
8
|
+
// --------------------------------------------------
|
9
9
|
|
10
|
+
// Links
|
10
11
|
$linkColor: #08c !default;
|
11
12
|
$linkColorHover: darken($linkColor, 15) !default;
|
12
13
|
|
13
|
-
|
14
14
|
// Grays
|
15
15
|
$black: #000 !default;
|
16
16
|
$grayDarker: #222 !default;
|
@@ -18,7 +18,7 @@ $grayDark: #333 !default;
|
|
18
18
|
$gray: #555 !default;
|
19
19
|
$grayLight: #999 !default;
|
20
20
|
$grayLighter: #eee !default;
|
21
|
-
$white: #
|
21
|
+
$white: #fff !default;
|
22
22
|
|
23
23
|
// Accent colors
|
24
24
|
$blue: #049cdb !default;
|
@@ -54,13 +54,21 @@ $zindexFixedNavbar: 1030 !default;
|
|
54
54
|
$zindexModalBackdrop: 1040 !default;
|
55
55
|
$zindexModal: 1050 !default;
|
56
56
|
|
57
|
+
// Sprite icons path
|
58
|
+
$iconSpritePath: "../img/glyphicons-halflings.png";
|
59
|
+
$iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
|
60
|
+
|
57
61
|
// Input placeholder text color
|
58
62
|
$placeholderText: $grayLight !default;
|
59
63
|
|
64
|
+
// Hr border color
|
65
|
+
$hrBorder: $grayLighter;
|
66
|
+
|
60
67
|
// Navbar
|
61
68
|
$navbarHeight: 40px !default;
|
62
69
|
$navbarBackground: $grayDarker !default;
|
63
70
|
$navbarBackgroundHighlight: $grayDark !default;
|
71
|
+
$navbarLinkBackgroundHover: transparent;
|
64
72
|
|
65
73
|
$navbarText: $grayLight !default;
|
66
74
|
$navbarLinkColor: $grayLight !default;
|
File without changes
|