Commit Graph

104 Commits

Author SHA1 Message Date
Thomas Rubini
8ad62d8620
make edit and new actions work 2023-01-25 22:41:22 +01:00
Thomas Rubini
81e67a0bf5
Merge pull request #99 from ThomasRubini/create_recipe 2023-01-25 21:52:00 +01:00
Thomas Rubini
3698a5c860
do not make recipe image required 2023-01-25 21:51:04 +01:00
Thomas Rubini
cba3f90657
add recipe/create action 2023-01-25 21:49:22 +01:00
Capelier-Marla
2293d7378a styled connexion/inscription page (and added titles on top of forms) 2023-01-25 21:31:53 +01:00
Capelier-Marla
0c99d25748 modifier text in header to not take 300000000px 2023-01-25 20:40:40 +01:00
Capelier-Marla
06f80dd58b added missing max value of a note when displaying it 2023-01-25 20:34:47 +01:00
Capelier-Marla
064b55d63f buttons go to actual pages 2023-01-25 20:24:36 +01:00
Capelier-Marla
b96c3c6a4e putted li into ul 2023-01-25 19:18:14 +01:00
Capelier-Marla
ad4352fae5 added class to recipe 2023-01-25 19:18:09 +01:00
Capelier-Marla
9e067464c8 putted each recipe in ul-li 2023-01-25 19:17:19 +01:00
Capelier-Marla
ca47bf6c62 moved category list in main and main content in article 2023-01-25 19:17:19 +01:00
Thomas Rubini
7baf1bdcf3
rename some methods 2023-01-25 16:46:59 +01:00
Thomas Rubini
f08f6ab102
add recipe note 2023-01-25 16:42:30 +01:00
Thomas Rubini
752796fab3
Show 3 random recipes on home page 2023-01-25 16:14:46 +01:00
Thomas Rubini
63f8b9468a
start to adapt views to new Recipe Model 2023-01-25 15:58:07 +01:00
Capelier-Marla
9750af7839 moved from files home/view, recipe/search, recipe/view 2023-01-25 14:53:39 +01:00
Thomas Rubini
d472729992
show controls for every user in search 2023-01-24 21:03:29 +01:00
Thomas Rubini
92544228d2
add method manageUser/update 2023-01-24 21:03:18 +01:00
Thomas Rubini
d0648e30d0
Merge pull request #71 from ThomasRubini/manage-users-view 2023-01-24 21:00:24 +01:00
Thomas Rubini
8871d9bb21
modify structure sent to recipe/edit to include POST_URI 2023-01-24 20:11:12 +01:00
Thomas Rubini
961cd27e88
move debug echo in recipe/edit 2023-01-24 20:03:17 +01:00
Thomas Rubini
7e73139ace
make '+' button redirect to /recipe/new 2023-01-24 20:02:45 +01:00
Thomas Rubini
1abc40da4e
Make 'return_uri' parameter work 2023-01-24 19:58:22 +01:00
Thomas Rubini
4c3590b3a5
update view to user updated model 2023-01-24 19:44:27 +01:00
Thomas Rubini
d3d18020d2
always at least pass a null query to the view 2023-01-24 19:28:10 +01:00
AudricV
b6235d6f9a
Use real data and show username requested in manage users view 2023-01-24 19:20:12 +01:00
AudricV
28a7e5d084
Add manage users view
Also remove the search view, merged into this new view.
2023-01-24 19:20:10 +01:00
Thomas Rubini
8e387abaed
modify view to fit new user model 2023-01-24 19:13:10 +01:00
Thomas Rubini
6f57b5a189
link model controller and view to be able to post an appr 2023-01-24 18:39:47 +01:00
Thomas Rubini
899e6e0559
pass the whole structure from recipe view to all apprs view 2023-01-24 18:39:15 +01:00
Thomas Rubini
5e5c2a00ba
update user svg location in header 2023-01-24 18:10:12 +01:00
Capelier-Marla
b5015ecc86 made footer stick to the bottom 2023-01-24 16:23:08 +01:00
Capelier-Marla
94ca8a2798 defined header css style, renamed some css vars (wi
ll redefine some latr), edited default profil svg to use a file instead of hard code
2023-01-24 15:43:17 +01:00
Capelier-Marla
a193a1652d added style in head of html and setted global font 2023-01-24 15:35:28 +01:00
Thomas Rubini
ddaecac0f1
Implement error handling system 2023-01-24 09:49:02 +01:00
Thomas Rubini
84788b31e2
use model for recipe/edit 2023-01-23 22:50:12 +01:00
Thomas Rubini
a4fcfb08e3
store profile picture in database when uploaded 2023-01-23 18:55:13 +01:00
Thomas Rubini
f41e476d1f
rename appreciation view files 2023-01-23 15:33:57 +01:00
Capelier-Marla
9cf82497a6 fixed typo + changed placeholder name 2023-01-23 15:13:34 +01:00
Capelier-Marla
78d1704d6e
added ADMIN entry for each appr to display or no the button to
remove a comment
2023-01-23 15:01:54 +01:00
Thomas Rubini
158e3c9ecf
replace "URL" with "LINK" 2023-01-23 14:21:17 +01:00
Thomas Rubini
ac78ec31fd
make final version of structure send to recipe view 2023-01-23 13:33:22 +01:00
Thomas Rubini
46d0e38050
add a button to manage user for admins 2023-01-20 19:21:23 +01:00
Thomas Rubini
58e47ccb94
refactor view manageUser/default to manageUser/search 2023-01-20 19:12:54 +01:00
Thomas Rubini
3361babf05
finish controller manageUser/search 2023-01-20 19:12:54 +01:00
Thomas Rubini
b290394181
start to make manageUser/search 2023-01-20 19:12:54 +01:00
Thomas Rubini
fd9e25ca8c
create ManageUserController and admin-only access 2023-01-20 19:12:54 +01:00
Thomas Rubini
7c6a5441a7
refactor 'search_term' to 'query' 2023-01-20 18:25:32 +01:00
Thomas Rubini
38e4e16856
add search action 2023-01-20 18:08:27 +01:00