web front design tweaks and favicon added
This commit is contained in:
@ -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