Skip to content

Commit 18db778

Browse files
committed
Release v5.1.0
1 parent 34d3986 commit 18db778

File tree

10 files changed

+34
-24
lines changed

10 files changed

+34
-24
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "RWD-Table-Patterns",
33
"description": "This is an awesome solution for responsive tables with complex data.",
4-
"version": "5.0.4",
4+
"version": "5.1.0",
55
"keywords": [
66
"RWD",
77
"responsive",

dist/css/rwd-table.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns)
2+
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns)
33
* This is an awesome solution for responsive tables with complex data.
44
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com)
55
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
@@ -213,7 +213,7 @@ table.focus-on tbody tr:hover {
213213
}
214214
table.focus-on tbody tr.unfocused th,
215215
table.focus-on tbody tr.unfocused td {
216-
color: #999999;
216+
color: #777777;
217217
color: rgba(0, 0, 0, 0.4);
218218
}
219219
table.focus-on tbody tr.focused th,

dist/css/rwd-table.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/rwd-table.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns)
2+
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns)
33
* This is an awesome solution for responsive tables with complex data.
44
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com)
55
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
@@ -107,7 +107,12 @@
107107
fixedNavbar: '.navbar-fixed-top', // Is there a fixed navbar? The stickyTableHeader needs to know about it!
108108
addDisplayAllBtn: true, // should it have a display-all button?
109109
addFocusBtn: true, // should it have a focus button?
110-
focusBtnIcon: 'glyphicon glyphicon-screenshot'
110+
focusBtnIcon: 'glyphicon glyphicon-screenshot',
111+
i18n: {
112+
focus : 'Focus',
113+
display : 'Display',
114+
displayAll: 'Display all'
115+
}
111116
};
112117

113118
// Wrap table
@@ -123,7 +128,7 @@
123128
this.$btnToolbar = $('<div class="btn-toolbar" />');
124129

125130
this.$dropdownGroup = $('<div class="btn-group dropdown-btn-group pull-right" />');
126-
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">Display <span class="caret"></span></button>');
131+
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">' + this.options.i18n.display + ' <span class="caret"></span></button>');
127132
this.$dropdownContainer = $('<ul class="dropdown-menu"/>');
128133

129134
// Focus btn
@@ -132,7 +137,7 @@
132137
this.$focusGroup = $('<div class="btn-group focus-btn-group" />');
133138

134139
// Create focus btn
135-
this.$focusBtn = $('<button class="btn btn-default">Focus</button>');
140+
this.$focusBtn = $('<button class="btn btn-default">' + this.options.i18n.focus + '</button>');
136141

137142
if(this.options.focusBtnIcon) {
138143
this.$focusBtn.prepend('<span class="' + this.options.focusBtnIcon + '"></span> ');
@@ -157,7 +162,7 @@
157162
// Display-all btn
158163
if(this.options.addDisplayAllBtn) {
159164
// Create display-all btn
160-
this.$displayAllBtn = $('<button class="btn btn-default">Display all</button>');
165+
this.$displayAllBtn = $('<button class="btn btn-default">' + this.options.i18n.displayAll + '</button>');
161166
// Add display-all btn to dropdown-btn-group
162167
this.$dropdownGroup.append(this.$displayAllBtn);
163168

dist/js/rwd-table.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/css/rwd-table.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns)
2+
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns)
33
* This is an awesome solution for responsive tables with complex data.
44
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com)
55
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
@@ -213,7 +213,7 @@ table.focus-on tbody tr:hover {
213213
}
214214
table.focus-on tbody tr.unfocused th,
215215
table.focus-on tbody tr.unfocused td {
216-
color: #999999;
216+
color: #777777;
217217
color: rgba(0, 0, 0, 0.4);
218218
}
219219
table.focus-on tbody tr.focused th,

docs/css/rwd-table.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/js/rwd-table.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns)
2+
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns)
33
* This is an awesome solution for responsive tables with complex data.
44
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com)
55
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
@@ -107,7 +107,12 @@
107107
fixedNavbar: '.navbar-fixed-top', // Is there a fixed navbar? The stickyTableHeader needs to know about it!
108108
addDisplayAllBtn: true, // should it have a display-all button?
109109
addFocusBtn: true, // should it have a focus button?
110-
focusBtnIcon: 'glyphicon glyphicon-screenshot'
110+
focusBtnIcon: 'glyphicon glyphicon-screenshot',
111+
i18n: {
112+
focus : 'Focus',
113+
display : 'Display',
114+
displayAll: 'Display all'
115+
}
111116
};
112117

113118
// Wrap table
@@ -123,7 +128,7 @@
123128
this.$btnToolbar = $('<div class="btn-toolbar" />');
124129

125130
this.$dropdownGroup = $('<div class="btn-group dropdown-btn-group pull-right" />');
126-
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">Display <span class="caret"></span></button>');
131+
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">' + this.options.i18n.display + ' <span class="caret"></span></button>');
127132
this.$dropdownContainer = $('<ul class="dropdown-menu"/>');
128133

129134
// Focus btn
@@ -132,7 +137,7 @@
132137
this.$focusGroup = $('<div class="btn-group focus-btn-group" />');
133138

134139
// Create focus btn
135-
this.$focusBtn = $('<button class="btn btn-default">Focus</button>');
140+
this.$focusBtn = $('<button class="btn btn-default">' + this.options.i18n.focus + '</button>');
136141

137142
if(this.options.focusBtnIcon) {
138143
this.$focusBtn.prepend('<span class="' + this.options.focusBtnIcon + '"></span> ');
@@ -157,7 +162,7 @@
157162
// Display-all btn
158163
if(this.options.addDisplayAllBtn) {
159164
// Create display-all btn
160-
this.$displayAllBtn = $('<button class="btn btn-default">Display all</button>');
165+
this.$displayAllBtn = $('<button class="btn btn-default">' + this.options.i18n.displayAll + '</button>');
161166
// Add display-all btn to dropdown-btn-group
162167
this.$dropdownGroup.append(this.$displayAllBtn);
163168

docs/js/rwd-table.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "RWD-Table-Patterns",
33
"description": "This is an awesome solution for responsive tables with complex data.",
4-
"version": "5.0.4",
4+
"version": "5.1.0",
55
"keywords": [
66
"RWD",
77
"responsive",

0 commit comments

Comments
 (0)