18 Commits

Author SHA1 Message Date
ekzyis
50244ee9ca Update HTML and CSS 2023-09-14 01:15:30 +02:00
ekzyis
7558655458 refactor: Structure code into different packages
I have put too much code into the same files.

Also, I put everything into the same package: main.

This package is only meant for executables.

Therefore, I have refactored my code to use multiple packages. These packages also guarantee separation of concerns since Golang doesn't allow cyclic imports.
2023-09-10 23:13:08 +02:00
ekzyis
e34b5826fa Remove hidden attr from order form 2023-09-09 22:52:51 +02:00
ekzyis
82f6f9698e Fix ReferenceError 2023-09-09 22:52:51 +02:00
ekzyis
de42a7435b Use as unit symbol 2023-09-09 22:52:51 +02:00
ekzyis
a01d4488cc Render or poll invoice status 2023-09-09 22:52:51 +02:00
ekzyis
d987934ba4 Add user page 2023-09-09 22:52:51 +02:00
ekzyis
e6aec21aff Add share pointer to type Order 2023-09-09 22:52:51 +02:00
ekzyis
e5f5759871 Redirect after payment 2023-09-09 22:52:51 +02:00
ekzyis
921623ee4d Respond with 402 Payment Required 2023-09-09 22:52:51 +02:00
ekzyis
f09beb1a4a Implement POST /market/:id/order 2023-09-09 22:52:51 +02:00
ekzyis
c948d7babf Use collapsibles 2023-09-09 22:52:51 +02:00
ekzyis
76309c4153 Show order book + focus on binary market 2023-09-09 22:52:51 +02:00
ekzyis
04ce96069b Add order page 2023-09-09 22:52:50 +02:00
ekzyis
bbe831bf03 Refactor bmarket.js 2023-09-09 22:52:50 +02:00
ekzyis
5ffc35a94f Rename to bmarket 2023-09-09 22:52:50 +02:00
ekzyis
e14a3c824d Format HTML 2023-09-09 22:52:50 +02:00
ekzyis
011b2eff0a Move HTML to pages/ 2023-09-09 22:52:50 +02:00