mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
web front design tweaks and favicon added
This commit is contained in:
@ -68,7 +68,7 @@
|
||||
}
|
||||
|
||||
.profile-meta-entry {
|
||||
font-size: 1.5em;
|
||||
|
||||
}
|
||||
|
||||
.penalties-color-kick,
|
||||
@ -113,19 +113,17 @@
|
||||
#profile_aliases {
|
||||
position: relative;
|
||||
display: none;
|
||||
top: 0.2em;
|
||||
font-size: 0.5em;
|
||||
line-height: 1.2em;
|
||||
|
||||
}
|
||||
|
||||
#profile_avatar {
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
height: 10.5rem;
|
||||
width: 10.5rem;
|
||||
}
|
||||
|
||||
.profile-shortcode {
|
||||
font-size: 150pt;
|
||||
line-height: 11rem;
|
||||
font-size: 10.5rem;
|
||||
line-height: 10.5rem;
|
||||
color: white;
|
||||
}
|
||||
|
||||
@ -142,9 +140,7 @@
|
||||
|
||||
#profile_level > span.level {
|
||||
color: rgba(236, 130, 222, 0.69);
|
||||
font-weight: bold;
|
||||
font-size: 1.5em;
|
||||
line-height: 1.4em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#profile_wrapper {
|
||||
@ -152,24 +148,9 @@
|
||||
}
|
||||
|
||||
#profile_name {
|
||||
font-size: 4em;
|
||||
margin-top: -2rem;
|
||||
|
||||
}
|
||||
|
||||
#profile_info > .text-muted {
|
||||
font-size: 1.5em;
|
||||
line-height: 2.25rem;
|
||||
|
||||
}
|
||||
|
||||
#profile_aliases_btn {
|
||||
position: absolute;
|
||||
top: auto;
|
||||
margin-top: 2.25rem;
|
||||
font-size: 0.5em;
|
||||
color: rgb(0,122,204);
|
||||
}
|
||||
|
||||
#profile_aliases_btn:hover {
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
@ -3,7 +3,7 @@
|
||||
Expand alias tab if they have any
|
||||
*/
|
||||
$('#profile_aliases_btn').click(function (e) {
|
||||
const aliases = $('#profile_aliases').text();
|
||||
const aliases = $('#profile_aliases').text().trim();
|
||||
if (aliases && aliases.length !== 0) {
|
||||
$('#profile_aliases').slideToggle(150);
|
||||
}
|
||||
@ -69,6 +69,13 @@ $(document).ready(function () {
|
||||
}
|
||||
});
|
||||
|
||||
$.each(clientInfo.Meta, function (index, meta) {
|
||||
if (!meta.key.includes("Event")) {
|
||||
let metaString = `<div class="profile-meta-entry"><span class="profile-meta-value text-primary">${meta.value}</span><span class="profile-meta-title text-muted"> ${meta.key}</span></div>`;
|
||||
$("#profile_meta").append(metaString);
|
||||
}
|
||||
});
|
||||
|
||||
$.each(clientInfo.Meta, function (index, meta) {
|
||||
loadMeta(meta);
|
||||
|
||||
|
@ -71,7 +71,10 @@ function refreshClientActivity() {
|
||||
$('.server-history-row').each(function (index) {
|
||||
let serverId = $(this).data("serverid");
|
||||
|
||||
$.get("/server/clientactivity/" + serverId)
|
||||
$.get({
|
||||
url: "/server/clientactivity/" + serverId,
|
||||
cache: false
|
||||
})
|
||||
.done(function (response) {
|
||||
$('#server_clientactivity_' + serverId).html(response);
|
||||
})
|
||||
|
Reference in New Issue
Block a user