diff --git a/app/backend/src/assets/custom.css b/app/backend/src/assets/custom.css index 1231861..51a7661 100644 --- a/app/backend/src/assets/custom.css +++ b/app/backend/src/assets/custom.css @@ -679,7 +679,6 @@ h4, h5 { font-size: 11px; border-radius: 3px; padding:3px 6px 3px 6px; - text-transform: uppercase; cursor: help; } @@ -689,7 +688,6 @@ h4, h5 { font-size: 11px; border-radius: 3px; padding:3px 6px 3px 6px; - text-transform: uppercase; cursor: help; } .misp-name { diff --git a/app/backend/src/views/iocs-misp.vue b/app/backend/src/views/iocs-misp.vue index c0edeb2..4becd1a 100644 --- a/app/backend/src/views/iocs-misp.vue +++ b/app/backend/src/views/iocs-misp.vue @@ -54,8 +54,8 @@ {{ i.url.replace('https://', '') .replace('http://', '') }} {{ i.apikey.slice(0,5) }} [...] {{ i.apikey.slice(35,40) }} - ✓ Online - ⚠ Offline + ✓ ONLINE + ⚠ OFFLINE @@ -133,7 +133,10 @@ export default { .then(response => { if(response.data.results){ this.instances = response.data.results; - this.instances.forEach(e => { e.lastsync = "Last-sync: "+ new Date(e.lastsync * 1000).toDateString() } ) + this.instances.forEach(e => { + var lastsync = parseInt((Date.now()/1000 - e.lastsync) / 86400) + e.lastsync = (!lastsync)? "Synchronized today" : `Synchronized ${lastsync} day(s) ago` + } ) } this.loading = false })