Fix bugs, use plural post slugs, move actions and filters into hooks folder

This commit is contained in:
Brian Miyaji
2014-01-09 02:37:13 +11:00
parent e76d392726
commit bfcf6e9b38
32 changed files with 390 additions and 312 deletions

View File

@@ -14,6 +14,10 @@ table.widefat.sp-data-table input[type="number"] {
min-width: 14px;
width: 100%;
}
table.widefat.sp-data-table input.name {
min-width: 0;
width: auto;
}
.sp-admin-config-table th,
.sp-admin-config-table td {
width: 20%;

View File

@@ -1,12 +1,27 @@
/* SportsPress */
/* Data Tables */
.sp-data-table thead .sorting {
.sp-data-table thead .sorting,
.sp-data-table thead .sorting_asc,
.sp-data-table thead .sorting_desc {
cursor: pointer;
}
.sp-data-table .sorting:after,
.sp-data-table .sorting_asc:after,
.sp-data-table .sorting_desc:after {
font-family: 'Courier New', Courier, monospace;
}
.sp-data-table .sorting:after {
content: ' \A0';
}
.sp-data-table .sorting_asc:after {
content: ' \25B2';
}
.sp-data-table .sorting_desc:after {
content: ' \25BC';
}
.sp-data-table .column-name .logo {
vertical-align: middle;
height: 2em;
width: auto;
}

View File

@@ -3,6 +3,7 @@
// Data tables
$('.sp-data-table').dataTable({
'aaSorting': [],
'bAutoWidth': false,
'bFilter': false,
'bInfo': false,
'bPaginate': false,