Commit graph

622 commits

Author SHA1 Message Date
Mattias
aae05acedb Added the register component to content 2024-03-16 18:38:42 +01:00
Mattias
a225020f6f Visual fixes 2024-03-16 18:38:42 +01:00
Mattias
2ce480707a Removed duplicate path 2024-03-16 18:38:42 +01:00
pavel Hamawand
17edf6b911 backButton 2024-03-16 18:01:14 +01:00
pavel Hamawand
31e3b99448 backbutton 2024-03-16 18:00:10 +01:00
pavel Hamawand
38378c7a10 babkbutton 2024-03-16 17:59:25 +01:00
pavel Hamawand
92336ff4fd backbutton 2024-03-16 17:58:27 +01:00
pavel Hamawand
17e9fa9d0a backbutton 2024-03-16 17:57:51 +01:00
pavel Hamawand
bdd6f68470 Time / role link 2024-03-16 17:56:59 +01:00
pavel Hamawand
9aa5087871 time / activity link 2024-03-16 17:54:34 +01:00
pavel Hamawand
8164ba9040 fix back button 2024-03-16 17:50:15 +01:00
pavel Hamawand
49305d507f link to projectMembers 2024-03-16 17:48:23 +01:00
Imbus
3526decbad Merge imbs 2024-03-16 17:46:08 +01:00
Imbus
151d6de39b Tygo for go->typescript type generation 2024-03-16 17:43:38 +01:00
Imbus
3c87fd4d8c New api interface 2024-03-16 17:42:28 +01:00
pavel Hamawand
e837f6e746 link to your time Reports 2024-03-16 17:37:09 +01:00
pavel Hamawand
a6846ad7a4 fix backbutton 2024-03-16 17:28:45 +01:00
pavel Hamawand
dc84bc997e link to unsigned reports 2024-03-16 17:25:43 +01:00
pavel Hamawand
554cf9b12e remove backbutton 2024-03-16 17:20:14 +01:00
Peter KW
9ff3e9314c Small change to header; uses useLocation() to get correct name 2024-03-16 02:27:33 +01:00
Peter KW
edf503776a Changed design a little so that it uses the projectlist component, added some fake projects 2024-03-16 02:23:52 +01:00
Peter KW
4a864e1ab5 Finished design and added fake users for testing 2024-03-16 02:20:36 +01:00
Peter KW
8fdd6c0b1f Finished basic view for this page 2024-03-16 02:18:28 +01:00
Peter KW
466c25a7c2 A component for listing an array of users where every user gets a link, made for AdminManageUsers.tsx 2024-03-16 02:16:06 +01:00
Peter KW
f963ca6ae5 A component for listing an array of projects where every project gets a link, made for YourProjectsPage.tsx 2024-03-16 02:15:39 +01:00
Peter KW
f0fc465d1a Merge remote-tracking branch 'origin/frontend' into gruppPP 2024-03-15 16:54:26 +01:00
pavel Hamawand
2da40e1f54 change back button UserViewTimeReportsPage 2024-03-15 15:32:06 +01:00
pavel Hamawand
8430d88a07 change back button UserProjectPage 2024-03-15 15:28:35 +01:00
pavel Hamawand
a26499bde9 change backbutton UserEditTimeReport and UserNewTimeReport 2024-03-15 15:22:55 +01:00
Peter KW
6789cc97ce Added back button to page 2024-03-15 14:57:49 +01:00
Mattias
4920966388 Additional register-layout changes 2024-03-15 14:52:05 +01:00
Peter KW
44aea9b765 Made a back button component since we will have one on almost every page 2024-03-15 14:51:46 +01:00
pavel Hamawand
69b0318eb0 remove edit button and fix back button 2024-03-15 14:48:40 +01:00
Davenludd
a388109a8a Add type attribute to button elements in Admin Pages 2024-03-15 14:34:08 +01:00
Davenludd
a16d1d8011 Add type="button" to buttons in PMChangeRole, PMOtherUsersTR, PMProjectMembers, PMProjectPage, PMTotalTimeActivity, PMTotalTimeRole, PMUnsignedReports, and PMViewUnsignedReport components 2024-03-15 14:32:17 +01:00
Davenludd
855dccdfa4 Add type="button" to buttons 2024-03-15 14:30:53 +01:00
Davenludd
a49cfc9f01 Update button styles and add type prop 2024-03-15 14:30:45 +01:00
Mattias
6a25eca01c Changed layout for register-component 2024-03-15 14:16:11 +01:00
pavel Hamawand
dc902855f4 add edit button to viewTimeReport 2024-03-15 04:42:38 +01:00
pavel Hamawand
901bcd39c5 link to viewTimeReport 2024-03-15 04:42:38 +01:00
Peter KW
cd1dbb494c Small fix to links in admin-menu page 2024-03-15 02:29:25 +01:00
Peter KW
2ad7146588 Added some functionality to login page. Checks username + password and compares with "fake" users to determine which page to get 2024-03-15 02:28:28 +01:00
pavel Hamawand
ef28e1743e links to all projects 2024-03-15 02:03:22 +01:00
pavel Hamawand
92cf36d178 increased responsiveness - outer div 2024-03-15 01:42:43 +01:00
Imbus
df7ca1ab90 Merge branch 'frontend' into dev 2024-03-14 18:40:07 +01:00
Imbus
baade40d77 Merge branch 'gruppDM' into frontend 2024-03-14 18:39:51 +01:00
Imbus
7f6a9f6fd1 Merge frontend with dev 2024-03-14 18:38:25 +01:00
Imbus
3bf0c34a5f Merge branch 'gruppDM' into frontend 2024-03-14 18:36:27 +01:00
Imbus
1c0884bb5d Formatting and edits to make linter happy 2024-03-14 18:32:56 +01:00
Imbus
6cd940866e Merge frontend into dev 2024-03-14 18:31:00 +01:00
Davenludd
8690e381c8 Add links to navigate between pages projectPage & NewTimeReport 2024-03-14 15:49:13 +01:00
Davenludd
41e1c32ee0 Added time report component to various pages 2024-03-14 15:17:38 +01:00
Mattias
46c4a5dc92 Added more paths in main 2024-03-14 14:59:57 +01:00
Davenludd
03e2be0a46 Add AdminProjectChangeUserRole page & buttons 2024-03-14 14:53:51 +01:00
Davenludd
39edc419df Add AdminProjectViewMemberInfo page & buttons 2024-03-14 14:53:51 +01:00
Davenludd
027bce6dfc Add AdminProjectAddMember page & buttons 2024-03-14 14:53:51 +01:00
Davenludd
da730a2d18 Add AdminProjectManageMembers page & buttons 2024-03-14 14:53:51 +01:00
Davenludd
dd370d86e3 Add AdminProjectStatistics page & buttons 2024-03-14 14:53:51 +01:00
Davenludd
ca7e4c6189 Add AdminProjectPage page & buttons 2024-03-14 14:53:51 +01:00
Mattias
19e3567c78 More paths in main 2024-03-14 14:42:26 +01:00
Davenludd
6a68ad1c3f Add AdminAddProject page & buttons 2024-03-14 14:39:34 +01:00
Davenludd
3047db28f6 Add AdminManageProjects page & buttons 2024-03-14 14:39:34 +01:00
Davenludd
2d5de569ae Add AdminChangeUsername page & buttons 2024-03-14 14:39:34 +01:00
Davenludd
5a6fe1c472 Add AdminViewUserInfo page & buttons 2024-03-14 14:39:34 +01:00
Mattias
1b3660eb83 Added more paths in main 2024-03-14 14:33:43 +01:00
Davenludd
69df212fde Add AdminAddUser page & buttons 2024-03-14 14:30:56 +01:00
Davenludd
434879c26c Add AdminManageUsers page & buttons 2024-03-14 14:30:56 +01:00
Mattias
c5d5c389dd Added new paths in main 2024-03-14 14:29:10 +01:00
Davenludd
03f350f303 Made a new component for time reporting 2024-03-14 13:21:19 +01:00
Hollgy
327f90e448 Co-authored-by: Imbus <imbus64@users.noreply.github.com> 2024-03-14 11:24:31 +01:00
Hollgy
1f2bff62f9 Refactor, lint removal 2024-03-14 11:23:57 +01:00
Davenludd
7e319e34c9 Change logo 2024-03-14 11:08:07 +01:00
Mattias
60774f6324 Added more paths in main 2024-03-14 11:00:55 +01:00
Mattias
db647c6e7c Added buttons 2024-03-14 11:00:55 +01:00
Mattias
45749afe69 Added buttons 2024-03-14 11:00:55 +01:00
Davenludd
2cce3f3ab4 Add time/activity and time/role buttons to PMProjectMembers page 2024-03-14 10:59:51 +01:00
Davenludd
a67e43e537 Add back button to PMUnsignedReports component 2024-03-14 10:57:42 +01:00
Davenludd
ce5d6d2837 Add "Back" button to PMTotalTimeRole component 2024-03-14 10:56:01 +01:00
Davenludd
f9260976df Add "Back" button to PMTotalTimeActivity component 2024-03-14 10:55:30 +01:00
Davenludd
5c0cf5fc33 Add buttons to PMViewUnsignedReport component 2024-03-14 10:54:37 +01:00
Davenludd
8a2724de5e Add save and back buttons to PMChangeRole component 2024-03-14 10:52:48 +01:00
Davenludd
7aa83b1d99 Add back button to PMOtherUsersTR component 2024-03-14 10:50:52 +01:00
Davenludd
2c9d3baafa Added button to PMProjectMembers 2024-03-14 10:49:15 +01:00
Davenludd
a5f15e5c06 Create all files for ProjectManagerPages 2024-03-14 10:41:10 +01:00
Mattias
c1aa0769bb Added path in main 2024-03-14 10:33:00 +01:00
Mattias
6be1060cff Added buttons to UserEditTimeReportPage 2024-03-14 10:32:39 +01:00
Imbus
6afe6345cf renewToken API interface 2024-03-13 20:56:47 +01:00
Hollgy
e1bf25148e Co-authored-by: Imbus <imbus64@users.noreply.github.com> 2024-03-13 17:56:31 +01:00
Hollgy
a4b19e32eb Boilerplate added for register, non functional 2024-03-13 17:56:04 +01:00
Imbus
b5c2987281 Add project API interface in frontend 2024-03-13 17:52:56 +01:00
Imbus
974d86c2d9 Merge branch 'dev' into frontend 2024-03-13 17:07:12 +01:00
Imbus
3a7663124d Basic api funcitonality in frontend 2024-03-13 17:06:26 +01:00
Imbus
6b09cfbf23 New directories for Types and API in frontned 2024-03-13 16:25:50 +01:00
Mattias
42498ca1c4 Changed name on exampletext 2024-03-13 16:18:06 +01:00
Davenludd
029fdd85b9 Minor change LoginPage 2024-03-13 16:11:36 +01:00
Davenludd
8bb4a1c893 Change logo to svg 2024-03-13 16:07:52 +01:00
Mattias
7c51f586ce Created three new empty pages for basic user 2024-03-13 14:18:06 +01:00
Mattias
41674c3969 Removed example pages Home and Settings aswell as the react-logo 2024-03-13 14:17:11 +01:00
Peter KW
1672b100d9 added new page for admin and path in main 2024-03-13 14:17:11 +01:00
Mattias
ac6638b344 Removed example pages Home and Settings aswell as the react-logo 2024-03-08 11:36:36 +01:00
Peter KW
d7cf291836 added new page for admin and path in main 2024-03-07 17:48:43 +01:00
Imbus
3e000358a7 Formatting and using for-of loop 2024-03-07 11:53:06 +01:00
Imbus
09ec0a0bb0 Merge 2024-03-07 11:49:31 +01:00
Imbus
40f7241550 Formatting and typing 2024-03-07 11:48:34 +01:00
Mattias
25284bb10e More formatting 2024-03-07 11:43:19 +01:00
Mattias
9c824f1d7b Slight formatting 2024-03-07 11:39:29 +01:00
Davenludd
42a0745102 Small additional changes to YourProjectsPage 2024-03-07 10:45:23 +01:00
Mattias
7879394da3 Added a few pages and components to the frontend 2024-03-07 10:05:45 +01:00
Imbus
dcd9879d8d Demo of components with children and other props 2024-03-06 11:14:57 +01:00
Imbus
43afae5d77 Cleaning up CSS, minor refactor into pages Home & Settings, better docs 2024-03-06 11:14:08 +01:00
Imbus
56693350be Pulling in and configuring react-router-dom 2024-03-06 10:09:59 +01:00
Imbus
4878ce1c39 Useless fix for the vite default template with tailwind 2024-03-06 09:51:26 +01:00
Imbus
54cca2b151 Pulling in jest as a dependency for the frontent, example test included 2024-03-02 03:47:53 +01:00
Imbus
360689ce0c Configure tailwind for the frontend 2024-02-28 20:35:53 +01:00
Imbus
1e96bbe3b6 Fixed double fetch 2024-02-20 18:41:12 +01:00
Imbus
d0d1a1dfaa Gluing together the frontend and backend 2024-02-20 15:27:15 +01:00
Imbus
801d5cdb88 Better frontend docs 2024-02-20 14:17:52 +01:00
Imbus
fef0a7d0f5 Build instructions for frontend 2024-02-13 15:28:32 +01:00
Imbus
2632aa458c Further tuning the formatting and linting rules 2024-02-13 15:02:41 +01:00
Imbus
e0f39375ba Prettier for formatting and some stricter linting rules 2024-02-13 14:47:36 +01:00
Imbus
1bd92fc729 Package locks for npm 2024-02-12 13:13:17 +01:00
Imbus
116bd87354 Plain typescript+swc vite react template as frontend 2024-02-12 12:47:46 +01:00