Display league/season in event blocks close #36

This commit is contained in:
Brian Miyaji
2014-08-24 18:21:23 +10:00
parent 2a2c27ab19
commit 88b528634d
6 changed files with 73 additions and 5 deletions

View File

@@ -186,6 +186,10 @@
padding: 0 20px;
clear: none;
}
.sp-event-blocks .event-league,
.sp-event-blocks .event-season {
text-align: center;
}
.sp-event-blocks .team-logo {
width: 20%;
height: auto;

View File

@@ -432,8 +432,10 @@ jQuery(document).ready(function($){
$(".sp-calendar-table tr").each(function() {
if ( layout == "list" ) {
$(this).find("th input[type=checkbox]").show();
$(this).find("th select").prop("disabled", false);
} else {
$(this).find("th input[type=checkbox]").hide();
$(this).find("th select").prop('selectedIndex', 0).prop("disabled", true);
}
});
});