diff --git a/src/components/TheLiveLogs.vue b/src/components/TheLiveLogs.vue index 5912932..bfcb1df 100644 --- a/src/components/TheLiveLogs.vue +++ b/src/components/TheLiveLogs.vue @@ -2,7 +2,7 @@ import { ref, watch, computed } from "vue" import { notifications, userCount, notificationCounter, notificationAPICounter, toggleVerboseMode, toggleApiQueryMode } from "@/socket"; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' - import { faSignal, faCloud, faCog, faUser, faCircle } from '@fortawesome/free-solid-svg-icons' + import { faSignal, faCloud, faCog, faUsers, faCircle } from '@fortawesome/free-solid-svg-icons' import TheLiveLogsActivityGraphVue from "./TheLiveLogsActivityGraph.vue"; @@ -18,7 +18,7 @@ }) function getClassFromResponseCode(response_code) { - if (String(response_code).startsWith('2')) { + if (String(response_code).startsWith('2') || response_code == 302) { return 'text-green-500' } else if (String(response_code).startsWith('5')) { return 'text-red-600' @@ -39,7 +39,7 @@
- + Players: {{ userCount }} diff --git a/src/components/ThePlayerGrid.vue b/src/components/ThePlayerGrid.vue index 99bc327..4ef2c53 100644 --- a/src/components/ThePlayerGrid.vue +++ b/src/components/ThePlayerGrid.vue @@ -2,6 +2,7 @@ import { ref, computed } from "vue"; import { progresses, userCount } from "@/socket"; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' + import { faUsers } from '@fortawesome/free-solid-svg-icons' import { darkModeEnabled } from "@/settings.js" import LiveLogsUserActivityGraph from "./LiveLogsUserActivityGraph.vue" @@ -19,6 +20,16 @@ \ No newline at end of file diff --git a/src/components/TheScores.vue b/src/components/TheScores.vue index ec77ca5..db9e6fd 100644 --- a/src/components/TheScores.vue +++ b/src/components/TheScores.vue @@ -2,7 +2,7 @@ import { ref, computed } from "vue"; import { active_exercises as exercises } from "@/socket"; import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome' - import { faGraduationCap, faUpRightAndDownLeftFromCenter, faDownLeftAndUpRightToCenter, faWarning, faUser } from '@fortawesome/free-solid-svg-icons' + import { faGraduationCap, faUpRightAndDownLeftFromCenter, faDownLeftAndUpRightToCenter, faWarning } from '@fortawesome/free-solid-svg-icons' import TheScoreTable from "./scoreViews/TheScoreTable.vue" import TheFullScreenScoreGrid from "./scoreViews/TheFullScreenScoreGrid.vue" import ThePlayerGrid from "./ThePlayerGrid.vue" @@ -42,17 +42,7 @@ Select an exercise in the Admin panel.
-
-

- - Active Players -

- - -
+