Commit graph

77 commits

Author SHA1 Message Date
ccd53bc2a1 replaced useState from dev.react to stable
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2021-07-13 20:04:56 +02:00
fb5675eebd changed some unused things 2021-07-12 01:06:53 +02:00
d1d213ac9d Added copy paste things :-) 2021-07-12 01:06:23 +02:00
ca25e3bcf8 renamed to normal 2021-07-12 01:05:48 +02:00
1691500883 Renamed Behavior to behaviorNormal 2021-07-12 01:04:50 +02:00
8bc7076e86 Removed some console.log() 2021-07-12 00:14:47 +02:00
e934ae98ec double click after registering (fix #121) 2021-07-11 02:40:27 +02:00
b213f22c22 Removed some unused things.. 2021-07-11 00:40:27 +02:00
4e2ef3fd4d logout will redirect to startpage (fix #126) 2021-07-11 00:35:47 +02:00
00aa826971 Added Button if the user is logged in and css
Added a button if the user is already logged in which will directly go to the study
- make buttons minimal width
2021-07-11 00:08:11 +02:00
4391cf790c Check if the user is already logged in and do not show all options (fix #122) 2021-07-11 00:04:00 +02:00
bd96d0c7fa Merged main into current branch 2021-07-10 23:46:00 +02:00
33f5262eee CSS and Refactoring
- added some css so that everything will become better
- refactored some things
2021-07-10 23:44:37 +02:00
9e3b08ea95 Merged from main branch 2021-07-09 01:46:31 +02:00
15b2697622 redirection and merge resolve (fix #113)
This commit will add
- redirections to behaviour page

- resolving a merge conflict
2021-07-09 01:01:17 +02:00
232212a5da Merge branch 'main' into feature/logging 2021-07-06 02:43:30 +02:00
04cd56e188 add register option in navbar 2021-07-06 02:41:24 +02:00
de2e797bfb merged things.. 2021-07-06 02:33:10 +02:00
29165ef69a Added text in the survey that the registration was ok 2021-07-06 02:24:10 +02:00
18f76d8cd6 After the registration user will be logged in and redirected to survey (fix #77 and fix #74) 2021-07-06 02:12:32 +02:00
b03523cb8d Refactor the error messages (fix #102)
All the errormessages use now the component ErrorMessage as it will be easier like this
2021-07-05 18:00:01 +02:00
699b6fae52 Add backend validation if the survey input is correct 2021-07-05 17:51:49 +02:00
1ce5b467be Removed unneccessary else statement 2021-07-05 01:32:23 +02:00
0ecb73cbe7 Use const for survey validity and change smaller things 2021-07-05 01:19:26 +02:00
6e9219fa7c Added frontend validation in the survey without backend 2021-07-05 01:07:50 +02:00
9cd22e7d7d Added the login feedback in the frontend 2021-07-05 00:01:50 +02:00
160e4d936e Added login feedback in the backend 2021-07-04 23:35:20 +02:00
3cbfd949e4 Give feedback when someone wants to register 2021-07-04 23:31:18 +02:00
fcdb20e69f Made the font size of buttons more flexible 2021-07-04 21:40:27 +02:00
d047e99113 Reformatted all the necessary files 2021-06-30 02:14:42 +02:00
a5a76836c5 Adjust design for licenses page (close #88)
The design should now be more or less the same as on the other pages. There's still some work to make it more beautiful and more readable (see #90)
2021-06-30 01:53:29 +02:00
b7197fd6f7 Privacy site now looks the same as other sites (fix #87) 2021-06-30 01:37:47 +02:00
a2e1ada3af Merge branch 'main' into feature/registerFeedback (Fix #84)
Adds some design specific things
2021-06-30 01:24:15 +02:00
ec96bb4b43 Make font size a bit larger in input fields 2021-06-30 01:18:00 +02:00
63c13d7e63 Survey and register/login button should be the same width (fix #84) 2021-06-30 01:12:40 +02:00
f2bd1b882e Rename button at registering (close #83)
The button at the registering page was wrong. should be correct now
2021-06-30 01:00:33 +02:00
f79959d531 Reformatted register so it's the same as everywhere 2021-06-30 00:58:44 +02:00
dd139c6712 Feedback color when registering 2021-06-30 00:41:58 +02:00
ea7be2283e Return error message if username is already taken during register
This will return an error message if the username is already registered. The user should choose another name
2021-06-30 00:03:34 +02:00
44e6293e43 Added some debug things to get feedback on the frontend after register 2021-06-28 04:16:46 +02:00
a032ca946e Starting to add feedback in the registration (fixes #78) 2021-06-28 03:46:27 +02:00
cf3e0b8043 Add login / logout to navbar
This commit will add a login or logout button in the navbar so that the user can decide what the person wants to do . (solves #68)
2021-06-27 01:50:45 +02:00
85c3b5a227 Only allow to click submit button if validation is correct 2021-06-27 01:16:40 +02:00
73b30a776f Design things in the input field
This commit will do some design things
- Solves #61
- makes the app more consistent
2021-06-27 00:58:47 +02:00
d48278acab Added auth to navbar to decide what should be displayed 2021-06-27 00:45:25 +02:00
7d8975ed69 Merge branch 'main' into feature/umfrage 2021-06-26 22:41:41 +00:00
f4e460123f backend will only receive the request (see #62)
This commit will solve the issue #62 so that not every click in the form will trigger a request to the backend
2021-06-27 00:41:17 +02:00
e0ffe1a79b Added survey to web application with the backend working 2021-06-27 00:39:28 +02:00
d8ce50a897 Formatting some things 2021-06-27 00:29:29 +02:00
8424cb346f Added some more questions and fixed some css 2021-06-24 02:53:42 +02:00