From d14bcae5bfa34d81d6531647671f340155be9c9e Mon Sep 17 00:00:00 2001 From: Liam Stamper <136619788+liamstamper@users.noreply.github.com> Date: Sun, 24 Sep 2023 13:41:17 -0500 Subject: [PATCH] market changes --- frontend/static/style.css | 44 +++++++++++++++++++++++++++--- frontend/templates/marketdata.html | 33 +++++++++++++++++----- 2 files changed, 66 insertions(+), 11 deletions(-) diff --git a/frontend/static/style.css b/frontend/static/style.css index 9dd5a39..939bc8d 100644 --- a/frontend/static/style.css +++ b/frontend/static/style.css @@ -722,16 +722,52 @@ input[type=checkbox]{ /* ***************** FOOTER ************************ */ .market-data-container{ - display:flex; - justify-content: center; - align-items: center; width:90%; max-width: 900px; padding-left: 20px; } .market-data-title{ font-size: 30px; - justify-content: center; + float:left; +} + + +table { + width: 100%; + border-collapse: collapse; + margin-top: 20px; /* Add margin for spacing */ +} + +th, td { + border: 1px solid #ddd; /* Add borders to cells */ + padding: 8px; + text-align: left; +} + +th { + background-color: #f2f2f2; +} + +/* Add inner lines to cells */ +th:first-child, td:first-child { + border-left: none; +} + +th:last-child, td:last-child { + border-right: none; +} + +/* Style the table header */ +th { + background-color: #f2f2f2; + font-weight: bold; + text-align: center; + padding: 12px; +} + +/* Add some spacing between cells */ +td { + padding: 10px; } diff --git a/frontend/templates/marketdata.html b/frontend/templates/marketdata.html index b358300..2e3cbc3 100644 --- a/frontend/templates/marketdata.html +++ b/frontend/templates/marketdata.html @@ -13,7 +13,7 @@ SeatStock {% if session %} - ({{ session.userinfo.name }}) Sign Out + Sign Out {% else %} Sign In {% endif %} @@ -21,13 +21,32 @@ My Tickets - -
-
-

Market Data: -
-
+ +
+



Market Data: +
+

+ + + + + + + + + + + + + + + + + + +
Date:Price
Data 1Data 2
Data 4Data 5
+