Commit graph

132 commits

Author SHA1 Message Date
7dc3729bec Moved get date today to separate component 2023-03-10 23:52:20 +08:00
9f0bbd7a66 Refined logs search function 2023-03-10 21:47:11 +08:00
5b5a699dd8 Some more changes to API.tsx 2023-03-10 21:35:01 +08:00
2f0238e147 Simplified console.logs on APIs 2023-03-10 21:34:50 +08:00
c3c5fafc73 Make registration properly reset forms once register button is pressed 2023-03-10 21:18:47 +08:00
679fdc96e8 Remove max length from login and registration forms 2023-03-10 21:07:09 +08:00
56ea2c4165 Use hashrouter for github pages compatibility and make login and registration forms consistent 2023-03-10 20:47:54 +08:00
e66bff306f Revert login checker to original url 2023-03-10 20:42:15 +08:00
5d8610056b Revert to browser router 2023-03-10 19:36:40 +08:00
8af4b9b3ac Switch to hashrouter for github pages compatibility 2023-03-10 18:30:57 +08:00
db817e3be1 Revert APIs to original version 2023-03-10 18:28:30 +08:00
lemeow125
c8dff76f6a
Merge pull request #7 from lemeow125/deploy_web
Deploy web
2023-03-10 12:56:04 +08:00
91db76cb50 Polished APIs in preparation for online deployment 2023-03-10 12:55:54 +08:00
e5f048e14f Changed to https for api url 2023-03-10 00:54:59 +08:00
8359142936 Fixed base url 2023-03-10 00:52:06 +08:00
105b0ec101 Change url to point to pythonanywhere 2023-03-10 00:37:30 +08:00
e4d3926715 Some more tweaks for github pages 2023-03-10 00:33:45 +08:00
a3766d0718 Added github pages requirements 2023-03-10 00:32:29 +08:00
ca4e724802 Dirty fix to easily changing urls 2023-03-10 00:30:19 +08:00
e4507493f4 Fixed search terms being limitted to 20 characters and added search functionality to logs page 2023-03-09 17:48:58 +08:00
46ddb25709 Cleaned up new delete/new product query refresh and added search to products page 2023-03-09 17:05:15 +08:00
c51c36c367 Polished styles 2023-03-08 23:43:46 +08:00
6ce2d84031 Polished new product page 2023-03-08 23:41:45 +08:00
76d9340e8d Removed unused imports in new product page 2023-03-08 23:41:16 +08:00
5b93ff241c Polished product page 2023-03-08 23:39:41 +08:00
78b2b62137 Polished styling and fixed product page 2023-03-08 23:39:26 +08:00
971a798af0 Refresh logs if new product is added or removed 2023-03-07 23:55:03 +08:00
52f115c610 Fixed some unimplemented login redirects on Inventory and Logs page when not logged in 2023-03-07 23:29:38 +08:00
b5beceff5f Logs now shows user 2023-03-07 22:22:04 +08:00
7fa1ddcd3a Simplified logs page and fixed session stats tracking 2023-03-07 22:11:03 +08:00
3b5fb87099 Separated all the widgets in the dashboard into their own components 2023-03-07 21:17:22 +08:00
6619163abe Made current session stats widget in dashboard functional 2023-03-07 19:52:40 +08:00
fd7891359c Fixed dashboard loading and error pages not showing properly and made lowest stock widget functional 2023-03-07 19:41:28 +08:00
d518abec77 Added error and loading pages to dashboard 2023-03-07 18:40:04 +08:00
f837903392 Recently added widget in dashboard is now working 2023-03-07 18:32:55 +08:00
3b565cfd34 Recent transactions and total products now functional in dashboard 2023-03-07 18:25:38 +08:00
3344ec1510 Merged sidebar logout button style with other sidebar buttons 2023-03-07 18:00:49 +08:00
44bc211e4b Fixed sidebar buttons not scaling properly 2023-03-07 17:24:08 +08:00
1efa8377dd Made activation page font bigger 2023-03-06 22:58:23 +08:00
a66813c184 Fixed registration page font color 2023-03-06 22:54:54 +08:00
012f02d4e7 Added registration page 2023-03-06 22:51:59 +08:00
7b17576add Polished empty inventory page 2023-03-06 22:41:40 +08:00
10a5cf400c Prompt if products are empty in inventory page now shows properly 2023-03-06 22:35:53 +08:00
e4c7c8fc66 Polished new product page 2023-03-06 22:33:06 +08:00
1bdf7356d8 Added quantity editing to inventory 2023-03-06 22:30:35 +08:00
lemeow125
fa9931c948
Merge pull request #6 from lemeow125/feature/products
Feature/products
2023-03-06 21:09:30 +08:00
57f11b024b Made products page fully functional with delete product 2023-03-06 21:06:50 +08:00
3ac7785c3c Fixed products page error and loading status 2023-03-06 20:45:56 +08:00
9065274a18 Polished previous session checker 2023-03-06 20:41:45 +08:00
c3ae196b6c Separated session checker and page login verifier into components 2023-03-06 20:09:14 +08:00