From edc3417eb2ffc066dd4646f09690ad8e3588145a Mon Sep 17 00:00:00 2001 From: John Piaszynski Date: Sun, 24 Sep 2023 13:49:25 -0500 Subject: [PATCH] tickets page hard coded examples --- frontend/static/style.css | 70 +++++++++++++++++++++++++++++ frontend/templates/tickets.html | 79 +++++++++++++++++++++++++-------- 2 files changed, 131 insertions(+), 18 deletions(-) diff --git a/frontend/static/style.css b/frontend/static/style.css index 939bc8d..c319e78 100644 --- a/frontend/static/style.css +++ b/frontend/static/style.css @@ -695,6 +695,76 @@ input[type=checkbox]{ border-top: none; } + .tickets-container { + display: flex; + } + .ticket { + width: 400px; + height: 400px; + border: 1px solid black; + border-radius:5%; + padding: 10px; + margin: 20px; + } + .ticket img { + max-width: 100%; + padding-top: 50px; + } + .ticket p { + text-align: center; + } + .ticket_title { + font-size: 20px; + font-weight: bold; + } + + .active-bids-container { + display: flex; + align-items: center; + flex-direction: column; + } + .active-bids-header { + border-bottom: 1px solid black; + } + .active-bids-header, .bids-row { + display: flex; + justify-content: space-between; + width: 100%; + padding: 5px 0; + } + .active-bids-header p { + font-weight: bold; + font-size: 20px; + } + .active-bids-header p, .bids-row p { + flex: 1; + text-align: center; + padding: 5px; + } + + .active-asks-container { + display: flex; + align-items: center; + flex-direction: column; + } + .active-asks-header { + border-bottom: 1px solid black; + } + .active-asks-header, .asks-row { + display: flex; + justify-content: space-between; + width: 100%; + padding: 5px 0; + } + .active-asks-header p { + font-weight: bold; + font-size: 20px; + } + .active-asks-header p, .asks-row p { + flex: 1; + text-align: center; + padding: 5px; + } diff --git a/frontend/templates/tickets.html b/frontend/templates/tickets.html index 0ef3074..b255058 100644 --- a/frontend/templates/tickets.html +++ b/frontend/templates/tickets.html @@ -36,24 +36,67 @@ -
-

London

-

London is the capital city of England.

-
- -
-

Paris

-

Paris is the capital of France.

-
- -
-

Tokyo

-

Tokyo is the capital of Japan.

-
-
-

Tokyo

-

Tokyo is the capital of Japan.

-
+
+
+
+

Iowa vs Purdue

+

September 30, 2023

+

N65X-HTRM-675B-HT98

+ +
+
+

Iowa vs Minnesota

+

October 7, 2023

+

N65X-HTRM-675B-HT98

+ +
+
+
+ +
+
+
+

User

+

Offer

+

Ticket

+
+
+

Joe Doe

+

$45

+

Iowa vs Minnesota

+
+
+

Jane Smith

+

$50

+

Iowa vs Minnesota

+
+
+

Alex Smith

+

$70

+

Iowa vs Purdue

+
+
+
+ +
+
+
+

Ticket

+

Ask

+
+
+

Iowa vs Minnesota

+

$55

+
+
+

Iowa vs Purdue

+

$50

+
+
+
+
+

No previous transactions

+