Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
a7f751e
+ Adds a new Tabbed Settings page
shadyvb Aug 25, 2013
a0c2b87
+ Exposes the option of defaulting to exclude the external dependenci…
shadyvb Aug 25, 2013
f290168
* Fix manage_plugins to manage_options
shadyvb Aug 25, 2013
41dd172
Squashed 'bin/' changes from 5614813..774bdc3
westonruter Oct 14, 2013
e1c8ed8
Merge commit '41dd1729ab2967fcc2d553a6b43f1bf786a76a86' into develop
westonruter Oct 14, 2013
8c7cb6e
Add travis, jshint, and phpcs ruleset
westonruter Oct 14, 2013
15a7139
Notices / CS fixes, Related #27
shadyvb Oct 14, 2013
18f79f6
Merge remote-tracking branch 'upstream/develop' into options_ui
shadyvb Oct 14, 2013
caa114b
Default exclude_dependencies to array to prevent notices if no settin…
shadyvb Oct 14, 2013
c02ea10
CS fixes
shadyvb Oct 16, 2013
4f1449c
Fix notices on settings screen on first install.
shadyvb Oct 16, 2013
a18558f
Remove faulty esc_html
shadyvb Oct 16, 2013
65c599c
Merge pull request #27 from shadyvb/options_ui
westonruter Oct 30, 2013
ac189ac
Merge branch 'master' into develop
westonruter Oct 30, 2013
aac4b03
Fix some phpdoc comments
westonruter Oct 30, 2013
ef17d91
Fix small CS issues
shadyvb Nov 4, 2013
910bb6a
Change esc_attr to esc_html
shadyvb Nov 5, 2013
5980d28
Skip escaping args inside of add_query_arg, since it does escaping al…
shadyvb Nov 5, 2013
41cb811
Better sanitizing input var
shadyvb Nov 5, 2013
211c66a
Merge pull request #46 from x-team/cs-fixes
westonruter Nov 5, 2013
d0e06cf
Re-orginze the plugin as instantiated classes - first commit
nash-ye Nov 13, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,16 @@
.fixed .column-expires {
width: 12%;
}

.nav-tab-content {
display: none;
}
.form-table th small {
display: block;
clear: both;
color: #999;
}
.form-table td label {
display: block;
clear:both;
}
20 changes: 20 additions & 0 deletions admin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
jQuery(function($){

// Admin page tabs
var $tabs = $('.nav-tab-wrapper'),
$panels = $('.nav-tab-content'),
currentHash = window.location.hash;

$tabs.on('click', 'a', function(e){
var hash = $(this).attr('href').replace('#tab-', '#tab-content-'); // prevents page scrolling if hash is present
$panels.hide().filter(hash).show();
$tabs.find('a').removeClass('nav-tab-active').filter($(this)).addClass('nav-tab-active');
});
$tabs.find( currentHash ? 'a[href="'+currentHash+'"]' : ':first').trigger('click');

// Fix input-inside-label glitch
$panels.on('click', 'input[type=text]', function(e){
e.preventDefault();
})

});
Loading