-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34d3986
commit 18db778
Showing
10 changed files
with
34 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns) | ||
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns) | ||
* This is an awesome solution for responsive tables with complex data. | ||
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com) | ||
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT) | ||
|
@@ -213,7 +213,7 @@ table.focus-on tbody tr:hover { | |
} | ||
table.focus-on tbody tr.unfocused th, | ||
table.focus-on tbody tr.unfocused td { | ||
color: #999999; | ||
color: #777777; | ||
color: rgba(0, 0, 0, 0.4); | ||
} | ||
table.focus-on tbody tr.focused th, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns) | ||
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns) | ||
* This is an awesome solution for responsive tables with complex data. | ||
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com) | ||
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT) | ||
|
@@ -107,7 +107,12 @@ | |
fixedNavbar: '.navbar-fixed-top', // Is there a fixed navbar? The stickyTableHeader needs to know about it! | ||
addDisplayAllBtn: true, // should it have a display-all button? | ||
addFocusBtn: true, // should it have a focus button? | ||
focusBtnIcon: 'glyphicon glyphicon-screenshot' | ||
focusBtnIcon: 'glyphicon glyphicon-screenshot', | ||
i18n: { | ||
focus : 'Focus', | ||
display : 'Display', | ||
displayAll: 'Display all' | ||
} | ||
}; | ||
|
||
// Wrap table | ||
|
@@ -123,7 +128,7 @@ | |
this.$btnToolbar = $('<div class="btn-toolbar" />'); | ||
|
||
this.$dropdownGroup = $('<div class="btn-group dropdown-btn-group pull-right" />'); | ||
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">Display <span class="caret"></span></button>'); | ||
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">' + this.options.i18n.display + ' <span class="caret"></span></button>'); | ||
this.$dropdownContainer = $('<ul class="dropdown-menu"/>'); | ||
|
||
// Focus btn | ||
|
@@ -132,7 +137,7 @@ | |
this.$focusGroup = $('<div class="btn-group focus-btn-group" />'); | ||
|
||
// Create focus btn | ||
this.$focusBtn = $('<button class="btn btn-default">Focus</button>'); | ||
this.$focusBtn = $('<button class="btn btn-default">' + this.options.i18n.focus + '</button>'); | ||
|
||
if(this.options.focusBtnIcon) { | ||
this.$focusBtn.prepend('<span class="' + this.options.focusBtnIcon + '"></span> '); | ||
|
@@ -157,7 +162,7 @@ | |
// Display-all btn | ||
if(this.options.addDisplayAllBtn) { | ||
// Create display-all btn | ||
this.$displayAllBtn = $('<button class="btn btn-default">Display all</button>'); | ||
this.$displayAllBtn = $('<button class="btn btn-default">' + this.options.i18n.displayAll + '</button>'); | ||
// Add display-all btn to dropdown-btn-group | ||
this.$dropdownGroup.append(this.$displayAllBtn); | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns) | ||
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns) | ||
* This is an awesome solution for responsive tables with complex data. | ||
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com) | ||
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT) | ||
|
@@ -213,7 +213,7 @@ table.focus-on tbody tr:hover { | |
} | ||
table.focus-on tbody tr.unfocused th, | ||
table.focus-on tbody tr.unfocused td { | ||
color: #999999; | ||
color: #777777; | ||
color: rgba(0, 0, 0, 0.4); | ||
} | ||
table.focus-on tbody tr.focused th, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/*! | ||
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns) | ||
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns) | ||
* This is an awesome solution for responsive tables with complex data. | ||
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com) | ||
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT) | ||
|
@@ -107,7 +107,12 @@ | |
fixedNavbar: '.navbar-fixed-top', // Is there a fixed navbar? The stickyTableHeader needs to know about it! | ||
addDisplayAllBtn: true, // should it have a display-all button? | ||
addFocusBtn: true, // should it have a focus button? | ||
focusBtnIcon: 'glyphicon glyphicon-screenshot' | ||
focusBtnIcon: 'glyphicon glyphicon-screenshot', | ||
i18n: { | ||
focus : 'Focus', | ||
display : 'Display', | ||
displayAll: 'Display all' | ||
} | ||
}; | ||
|
||
// Wrap table | ||
|
@@ -123,7 +128,7 @@ | |
this.$btnToolbar = $('<div class="btn-toolbar" />'); | ||
|
||
this.$dropdownGroup = $('<div class="btn-group dropdown-btn-group pull-right" />'); | ||
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">Display <span class="caret"></span></button>'); | ||
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">' + this.options.i18n.display + ' <span class="caret"></span></button>'); | ||
this.$dropdownContainer = $('<ul class="dropdown-menu"/>'); | ||
|
||
// Focus btn | ||
|
@@ -132,7 +137,7 @@ | |
this.$focusGroup = $('<div class="btn-group focus-btn-group" />'); | ||
|
||
// Create focus btn | ||
this.$focusBtn = $('<button class="btn btn-default">Focus</button>'); | ||
this.$focusBtn = $('<button class="btn btn-default">' + this.options.i18n.focus + '</button>'); | ||
|
||
if(this.options.focusBtnIcon) { | ||
this.$focusBtn.prepend('<span class="' + this.options.focusBtnIcon + '"></span> '); | ||
|
@@ -157,7 +162,7 @@ | |
// Display-all btn | ||
if(this.options.addDisplayAllBtn) { | ||
// Create display-all btn | ||
this.$displayAllBtn = $('<button class="btn btn-default">Display all</button>'); | ||
this.$displayAllBtn = $('<button class="btn btn-default">' + this.options.i18n.displayAll + '</button>'); | ||
// Add display-all btn to dropdown-btn-group | ||
this.$dropdownGroup.append(this.$displayAllBtn); | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters