From df01a859999ec19f487b42f2dff4cc9490cbd283 Mon Sep 17 00:00:00 2001 From: Corey Applegate Date: Sat, 30 Nov 2024 13:04:07 -0600 Subject: [PATCH] Field Monitor Help File --- static/css/Field_monitor_display_help.css | 51 ++++++++++++++++ templates/Field_monitor_display_help.html | 60 +++++++++++++++++++ templates/base.html | 6 ++ .../templates/Field_monitor_display_help.html | 0 web/field_monitor_display_help.go | 33 ++++++++++ web/web.go | 1 + 6 files changed, 151 insertions(+) create mode 100644 static/css/Field_monitor_display_help.css create mode 100644 templates/Field_monitor_display_help.html create mode 100644 templates/templates/Field_monitor_display_help.html create mode 100644 web/field_monitor_display_help.go diff --git a/static/css/Field_monitor_display_help.css b/static/css/Field_monitor_display_help.css new file mode 100644 index 00000000..13ac1a9e --- /dev/null +++ b/static/css/Field_monitor_display_help.css @@ -0,0 +1,51 @@ +/* Global body styles */ +body { + font-family: Arial, sans-serif; + margin: 20px; + padding: 0; +} + +/* Header styling */ +h1 { + text-align: center; + color: #ffffff; +} + +/* Container for all status items */ +.status-container { + margin-top: 20px; +} + +/* Individual status item styling */ +.team-id { + display: flex; + align-items: center; + margin: 10px 0; + padding: 10px; + border-radius: 5px; + color: #333; +} + +/* Color box for each status */ +.status-color-box { + width: 50px; + height: 50px; + margin-right: 20px; + border-radius: 5px; +} + +/* Description area for each status */ +.status-description { + font-size: 16px; +} + +/* Name of the status (bold) */ +.status-name { + font-weight: bold; +} + +/* Color code (italic) */ +.status-code { + font-style: italic; + margin-left: 10px; +} \ No newline at end of file diff --git a/templates/Field_monitor_display_help.html b/templates/Field_monitor_display_help.html new file mode 100644 index 00000000..3e7a1771 --- /dev/null +++ b/templates/Field_monitor_display_help.html @@ -0,0 +1,60 @@ + + + + + + Team Status Color Legend + + + + + +

Team Status Color Legend

+ +
+
+
+ No Link: +

This status indicates that the team is not connected to the system.

+
+
+ +
+
+ DS Linked: +

This status indicates that the team is linked to the Driver Station (DS).

+
+
+ +
+ +
+ Robot Linked: +

This status indicates that the team's robot is linked and ready to operate.

+
+
+ +
+
+ RIO Linked: +

This status indicates that the team's Robot Interface (RIO) is linked.

+
+
+ +
+
+ Radio Linked: +

This status indicates that the team's robot is successfully linked to the radio.

+
+
+ +
+
+ Wrong Station: +

This status indicates that the team is in the wrong station.

+
+
+
+ + + diff --git a/templates/base.html b/templates/base.html index 85d37f4c..5c4d938a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -109,6 +109,12 @@ Blue Score +