Commit Graph

52 Commits

Author SHA1 Message Date
JP1998 110f862bc3 Change the SignedInEnforcer to a more flexible and versatile UserRestrictor 2019-04-08 10:20:31 +02:00
JP1998 4dc55a93d2 Remove the edit button from tournaments that the user is not the owner of 2019-04-08 09:43:42 +02:00
JP1998 41eacfc999 Add first prototype of the restriction of content 2019-04-08 09:21:37 +02:00
JP1998 069c2c2148 Fix an issue with some buttons that appeared in grey instead of white 2019-04-03 11:12:04 +02:00
JP1998 d307cdb907 Resolve conflicts and style issues 2018-12-13 08:49:01 +01:00
Jonny 4ecd4bd207
Merge branch 'master' into ticket/TURNIERE-113 2018-12-13 08:12:06 +01:00
JP1998 fb69be4735 Assign a unique id to elements on /t/:code/edit 2018-12-12 22:44:52 +01:00
JP1998 498e0353c1 Resolve conflicts and fix style issues 2018-12-12 21:54:07 +01:00
Jonny e77e3f6dc8
Merge branch 'master' into ticket/TURNIERE-105 2018-12-12 21:32:02 +01:00
JP1998 8612b88ff7 Resolve conflicts and style issues 2018-12-12 21:25:01 +01:00
Jonny 4dd5298176
Merge branch 'master' into ticket/TURNIERE-104 2018-12-12 21:12:36 +01:00
JP1998 e66638dcc0 Fix code style issues 2018-12-12 20:59:37 +01:00
JP1998 cbaa1b8270 Fix issue with order of mounting of components
Since the credentials were checked in the componentDidMount of the App
but the tournamen was loaded in the componentDidMount of the EditTournament component,
which was done first. Thus the auth headers were cleared, and the user was logged out.
2018-12-12 20:47:45 +01:00
Felix Hamme 5c55ff025b Update data processing in public tournament list due to changed api 2018-12-12 18:43:53 +01:00
JP1998 ec0a75e5df Implement editing of team names 2018-12-12 17:50:03 +01:00
JP1998 30b2891b72 Add display of team names 2018-12-12 16:23:23 +01:00
Felix Hamme 68aeade599 Fix footer spacing on tournament edit page 2018-12-12 16:02:16 +01:00
JP1998 909faff65c Create a first draft of the edit-tournament-page 2018-12-12 15:43:34 +01:00
Felix Hamme 21d43ab641 Minor design tweak for matches 2018-12-11 22:04:36 +01:00
Felix Hamme 0eb4df58cf Write the name of the tournament owner in the tournament view 2018-12-11 16:05:44 +01:00
Felix Hamme 115df26572 Make code for MatchTable in tournament view more readable (fFix react error message) 2018-12-11 16:01:25 +01:00
Felix Hamme b30971385f Fetch single tournaments from the api in tournament view 2018-12-11 15:56:56 +01:00
Felix Hamme a9f38ce6f6 In tournament view: Iterate over stages and write method for level name 2018-12-11 13:52:39 +01:00
JP1998 9124edc3f2 Fix all the styling issues in all the files 2018-12-09 23:46:21 +01:00
Felix Hamme 8cc2647258 Design score edit input fields in tournament view 2018-12-09 00:48:35 +01:00
Felix Hamme 0bbaaa4d3b Change match hover design 2018-12-08 00:44:49 +01:00
Felix Hamme 7bbeee9e25 Design matches on the tournament page 2018-12-07 14:49:47 +01:00
JP1998 13f7373f6f Add a functioning registration 2018-12-03 15:29:26 +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
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
Felix Hamme f7d532dc21 Implement team names editor for tournament creation 2018-11-15 15:46:46 +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
Felix Hamme 61e0c82619 Add bootstrap to index page, begin redesign 2018-11-08 11:38:47 +01:00
JP1998 2d1bad3fde Add support for custom css files 2018-11-08 11:20:36 +01:00