1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 23:00:57 -05:00

web front design tweaks and favicon added

This commit is contained in:
RaidMax
2018-02-22 00:06:21 -06:00
parent 357790c4fc
commit 8368add46a
23 changed files with 204 additions and 63 deletions

View File

@ -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);