mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
finish implementation of per server top stats page
This commit is contained in:
17
WebfrontCore/wwwroot/css/bootstrap-custom.css
vendored
17
WebfrontCore/wwwroot/css/bootstrap-custom.css
vendored
@ -6418,20 +6418,27 @@ form *, select {
|
||||
right: 1em; }
|
||||
|
||||
.nav-tabs, .nav-tabs .nav-link.active {
|
||||
border-color: #007ACC;
|
||||
border-width: 0;
|
||||
color: #007ACC;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
color: #fff !important; }
|
||||
|
||||
.nav-tabs .nav-link.active {
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-color: #007ACC !important; }
|
||||
|
||||
.nav-tabs .nav-link:hover {
|
||||
border-color: #007ACC;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border-width: 2px; }
|
||||
background-color: #222222;
|
||||
color: #007ACC;
|
||||
border-width: 0 0 1px 0;
|
||||
border-bottom-color: #007ACC; }
|
||||
|
||||
.nav-tabs .nav-link {
|
||||
border-radius: 0;
|
||||
padding: 1rem;
|
||||
color: #6c757d;
|
||||
border-width: 2px; }
|
||||
border-width: 0 0 1px 0;
|
||||
border-bottom-color: transparent; }
|
||||
|
||||
.nav-tabs .nav-link.active {
|
||||
border-bottom-color: transparent; }
|
||||
|
19
WebfrontCore/wwwroot/css/bootstrap-custom.scss
vendored
19
WebfrontCore/wwwroot/css/bootstrap-custom.scss
vendored
@ -221,22 +221,31 @@ form *, select {
|
||||
}
|
||||
|
||||
.nav-tabs, .nav-tabs .nav-link.active {
|
||||
border-color: $blue;
|
||||
border-width: 0;
|
||||
color: $blue;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
color: $white !important;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-link.active
|
||||
{
|
||||
border-bottom-width: 1px;
|
||||
border-bottom-color: $blue !important;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-link:hover {
|
||||
border-color: $blue;
|
||||
background-color: rgba(0, 0, 0, 0.2);
|
||||
border-width: 2px;
|
||||
background-color: #222222;
|
||||
color: $blue;
|
||||
border-width: 0 0 1px 0;
|
||||
border-bottom-color: $blue;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-link {
|
||||
border-radius: 0;
|
||||
padding: 1rem;
|
||||
color: #6c757d;
|
||||
border-width: 2px;
|
||||
border-width: 0 0 1px 0;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
|
||||
.nav-tabs .nav-link.active {
|
||||
|
@ -4,11 +4,11 @@ let isLoaderLoading = false;
|
||||
let loadUri = '';
|
||||
let loaderResponseId = '';
|
||||
|
||||
function initLoader(location, loaderId, count = 10) {
|
||||
function initLoader(location, loaderId, count = 10, start = count) {
|
||||
loadUri = location;
|
||||
loaderResponseId = loaderId;
|
||||
loadCount = count;
|
||||
loaderOffset = count;
|
||||
loaderOffset = start;
|
||||
setupListeners();
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,9 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
$('.top-players-link').click(function (event) {
|
||||
initLoader('/Stats/GetTopPlayersAsync?serverId=' + $(this).data('serverid'), $(this).attr('href'), 50);
|
||||
$($(this).attr('href')).html('');
|
||||
initLoader('/Stats/GetTopPlayersAsync?serverId=' + $(this).data('serverid'), $(this).attr('href'), 10, 0);
|
||||
loadMoreItems();
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user