diff --git a/static/icon-map.js b/static/icon-map.js new file mode 100644 index 0000000..325fae1 --- /dev/null +++ b/static/icon-map.js @@ -0,0 +1,25 @@ +// In this file, you can define the paths to your local icon image files. +const iconMap = { + ltcStatus: { + 'LOCK': 'assets/lock.svg', + 'FREE': 'assets/lock-open.svg', + 'default': 'assets/question-circle.svg' + }, + ntpActive: { + true: 'assets/check-circle.svg', + false: 'assets/times-circle.svg' + }, + syncStatus: { + 'IN SYNC': 'assets/arrows-rotate.svg', + 'CLOCK AHEAD': 'assets/forward.svg', + 'CLOCK BEHIND': 'assets/backward.svg', + 'TIMETURNING': 'assets/wand-magic-sparkles.svg', + 'default': 'assets/question-circle.svg' + }, + jitterStatus: { + 'GOOD': 'assets/thumbs-up.svg', + 'AVERAGE': 'assets/face-meh.svg', + 'BAD': 'assets/thumbs-down.svg', + 'default': 'assets/question-circle.svg' + } +}; diff --git a/static/index.html b/static/index.html index 5b78de8..e67216a 100644 --- a/static/index.html +++ b/static/index.html @@ -5,7 +5,6 @@