From 44d62c54e9dc31a765619c4eea8f43c6beb22e5a Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 22 Nov 2024 17:04:39 -0600 Subject: [PATCH] New bar --- overcomplicatedStatuses.js | 40 +++++++++++++++++++++++--------------- static/js/timeFormatter.js | 10 ++++++++++ static/noScript.css | 4 ++-- static/style.css | 34 +++++++++++++++++++------------- 4 files changed, 57 insertions(+), 31 deletions(-) diff --git a/overcomplicatedStatuses.js b/overcomplicatedStatuses.js index d9601b6..d635e60 100644 --- a/overcomplicatedStatuses.js +++ b/overcomplicatedStatuses.js @@ -71,20 +71,28 @@ module.exports = { if (activity.timestamps.start) { if (activity.timestamps.end) { var timeLeft = Math.round((activity.timestamps.end - Date.now()) / 1000) - var currentPercent = (Date.now() - activity.timestamps.start) / (activity.timestamps.end - activity.timestamps.start) * 100 + var totalTime = Math.round((activity.timestamps.end - activity.timestamps.start) / 1000) return ` -
- ${timeFormatter((Date.now() - activity.timestamps.start))}/${timeFormatter((activity.timestamps.end - activity.timestamps.start))} +
+

${timeFormatter((Date.now() - activity.timestamps.start))}

+
+
+
+

${timeFormatter((activity.timestamps.end - activity.timestamps.start))}

+