Add option to display player and staff dropdowns in profile

This commit is contained in:
Brian Miyaji
2016-08-20 23:43:03 +10:00
parent 7f97fc9ba0
commit c354f0be6b
6 changed files with 146 additions and 3 deletions

View File

@@ -71,6 +71,11 @@
display: none;
}
/* Profile selector */
.sp-profile-selector {
float: right;
}
/* Data Tables */
.sp-scrollable-table-wrapper {
width: 100%;

View File

@@ -78,8 +78,13 @@ function sp_viewport() {
/* Scrollable Tables */
$(".sp-scrollable-table").wrap("<div class=\"sp-scrollable-table-wrapper\"></div>");
/* Selector Redirect */
$(".sp-selector-redirect").change(function() {
window.location = $(this).val();
});
/* Template tabs */
/* Template Tabs */
$(".sp-tab-menu-item a").click(function() {
$template = $(this).data("sp-tab");
$(this).closest(".sp-tab-menu-item").addClass("sp-tab-menu-item-active").siblings(".sp-tab-menu-item").removeClass("sp-tab-menu-item-active");