Commit Graph

340 Commits

Author SHA1 Message Date
JP1998 ba12956abc Add verification of credentials after loading page 2018-12-03 15:48:05 +01:00
JP1998 13f7373f6f Add a functioning registration 2018-12-03 15:29:26 +01:00
JP1998 df75387164 Fix login and logout to actually work
Because of several issues the auth token has not been stored,
which lead to severe errors when trying to log out.
This issue has now been solved.
2018-12-03 15:20:14 +01:00
JP1998 f85863d965 Remove header, that is no longer being transmitted 2018-12-03 14:41:59 +01:00
JP1998 d0337fb640 Add actually working login and logout 2018-12-03 14:33:32 +01:00
Felix Hamme 2e9d6353c4 Design public tournament list 2018-12-03 13:41:28 +01:00
Felix Hamme 0de789b7e3 Begin designing tournament page 2018-12-03 13:04:39 +01:00
Felix Hamme 9dd2466e10 Export request methods in api.js and include the api url in them 2018-12-03 12:46:02 +01:00
JP1998 fdfcd5087d Add saving and sending of authentication headers
The actual authentication headers are now able to be easily sent
and saved for and after every request to the api.
2018-11-30 16:41:28 +01:00
JP1998 a927f97e32 Solve a bug with the error messages of unknown errors when logging in 2018-11-30 13:22:40 +01:00
JP1998 91b532b6cd Add api calls with persistent user data
Added login and registration api calls to the function pool,
while the application state is persistet through localStorage.
Also (if signed in) the username will be displayed in the
navigation bar of the website.
2018-11-29 16:19:02 +01:00
JP1998 f19b2d399c Update README.md 2018-11-20 14:00:18 +01:00
Felix Hamme f7d532dc21 Implement team names editor for tournament creation 2018-11-15 15:46:46 +01:00
JP1998 27e118041e Add dependency for API-calls
This commit adds the axios-dependency, which is used
to call the API-functions. Moreover the README.md has
been updated accordingly.
2018-11-13 15:36:23 +01:00
Felix Hamme 6207049fa1 Design static part of create-tournament page; generify the full page background design (previously login.css) 2018-11-12 23:37:11 +01:00
Felix Hamme 354e364e1d Design FAQ page 2018-11-12 18:18:16 +01:00
Felix Hamme 5acee296ca Design error pages 2018-11-12 16:41:25 +01:00
Felix Hamme b176c6ce65 Design imprint page and generify and remove privacy.css 2018-11-11 13:57:32 +01:00
Felix Hamme 36f4d400f5 Design privacy page 2018-11-11 13:45:43 +01:00
Felix Hamme 7091d735c2 Design the register page and set links to it on the login page 2018-11-11 13:33:34 +01:00
Felix Hamme 923fef795c Design login page (not functional!) 2018-11-11 01:32:07 +01:00
Felix Hamme 3eb4e09424 Simplify code 2018-11-11 00:54:06 +01:00
Felix Hamme 73d1462ac6 Optimize imports 2018-11-11 00:48:05 +01:00
Felix Hamme 20c611f6c4 Fix the slightly altered design to match the old design 2018-11-11 00:43:05 +01:00
JP1998 e430227448 Export some common components to be used in all pages 2018-11-10 17:09:08 +01:00
JP1998 140589960a Refactor index page to use reactstrap 2018-11-10 17:01:29 +01:00
Felix Hamme ac15ac2ee7 Add bootstrap css dependency 2018-11-08 15:46:01 +01:00
JP1998 b3be9d7fe4 Add dependency to reactstrap 2018-11-08 13:36:00 +01:00
Felix Hamme 6ba38d09b9 Redesign index page (add css files and static images & fonts) 2018-11-08 12:41:14 +01:00
JP1998 6fdb72fb80 Update README to tell you to install @zeit/next-css 2018-11-08 12:06:56 +01:00
Felix Hamme 61e0c82619 Add bootstrap to index page, begin redesign 2018-11-08 11:38:47 +01:00
Felix Hamme 0bb356f715 add .idea to gitignore 2018-11-08 11:33:29 +01:00
JP1998 2d1bad3fde Add support for custom css files 2018-11-08 11:20:36 +01:00
JP1998 a954a546f4 Add titles to all the pages and read query parameters 2018-11-08 11:05:21 +01:00
JP1998 ec7db510cb Add Next as package to be installed. 2018-11-08 09:46:15 +01:00
JP1998 8d770fa9fb Update README with an install description 2018-11-07 14:43:54 +01:00
JP1998 625e07d256 Add server-side clean urls
This allows requests at url '/t/<code>' to be mapped to '/tournament?code=<code>'
and '/t/<code>/fullscreen' to be mapped to '/tournament-fullscreen?code=<code>'.
2018-11-07 14:15:26 +01:00
JP1998 ce15ac376b Add .gitignore 2018-11-07 13:59:13 +01:00
JP1998 e0f402f218 Add the initial backbone of the frontend
This commit adds all the pages that are going to exist.
2018-11-07 13:58:22 +01:00
Daniel Schädler 3061a2a4f4
Initial commit 2018-10-29 10:05:55 +01:00