From 856e284de9129c96f69132c642350492ff43c7fc Mon Sep 17 00:00:00 2001 From: Joy <138333978+joypan1@users.noreply.github.com> Date: Wed, 27 Mar 2024 13:40:02 -0400 Subject: [PATCH] aesthetic changes --- css/matchsummary.css | 13 +++++++++++++ pages/matchsummary.html | 2 +- pages/matchsummary.js | 24 ++++++++++++------------ 3 files changed, 26 insertions(+), 13 deletions(-) diff --git a/css/matchsummary.css b/css/matchsummary.css index f59f8cf..355c61d 100644 --- a/css/matchsummary.css +++ b/css/matchsummary.css @@ -49,6 +49,19 @@ p { margin-bottom:15px; } +.matchlistbyteam { + text-align: center; + +} + +.datatablecell { + border: 1px solid black; + border-radius: 10px; + border-collapse: collapse; + padding:5px; + +} + #largedatatable { text-align: center; } \ No newline at end of file diff --git a/pages/matchsummary.html b/pages/matchsummary.html index eeb861a..10de0c7 100644 --- a/pages/matchsummary.html +++ b/pages/matchsummary.html @@ -32,7 +32,7 @@

Match Summary

-

Match List by Team

+

Match List by Team

diff --git a/pages/matchsummary.js b/pages/matchsummary.js index 1462a90..dfc1407 100644 --- a/pages/matchsummary.js +++ b/pages/matchsummary.js @@ -37,20 +37,20 @@ const getTeams = async () => { - - - - - - + + + + + + - - - - - - + + + + + +
Autonomous Shots AttemptedAutonomous Shots MadeSpeaker Shots AttemptedSpeaker Shots MadeAmp Shots AttemptedAmp Shots MadeAutonomous Shots AttemptedAutonomous Shots MadeSpeaker Shots AttemptedSpeaker Shots MadeAmp Shots AttemptedAmp Shots Made
${await sumColumnForGlobalId(team.globalid, 'count1')}${await sumColumnForGlobalId(team.globalid, 'count2')}${await sumColumnForGlobalId(team.globalid, 'count3')}${await sumColumnForGlobalId(team.globalid, 'count4')}${await sumColumnForGlobalId(team.globalid, 'count5')}${await sumColumnForGlobalId(team.globalid, 'count6')}${await sumColumnForGlobalId(team.globalid, 'count1')}${await sumColumnForGlobalId(team.globalid, 'count2')}${await sumColumnForGlobalId(team.globalid, 'count3')}${await sumColumnForGlobalId(team.globalid, 'count4')}${await sumColumnForGlobalId(team.globalid, 'count5')}${await sumColumnForGlobalId(team.globalid, 'count6')}