Commit Graph

165 Commits

Author SHA1 Message Date
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
Capelier-Marla
cafd0d2f51 moved search to recipe folder and moved category_list 2023-01-20 10:47:29 +01:00
Capelier-Marla
24afac65b6 moved appreciations array to recipe view before calling appreciations view 2023-01-20 10:34:04 +01:00
AudricV
d35a39644e
Add search results view 2023-01-20 10:27:33 +01:00
Marla
891f694561
Merge pull request #34 from ThomasRubini/fix_categories
Fix categories
2023-01-20 10:17:46 +01:00
AntLafI
240497a6f7 adding appreciations after recipes 2023-01-20 10:12:48 +01:00
Capelier-Marla
441f7fad48 added list of categories in category page 2023-01-20 10:12:30 +01:00
Capelier-Marla
eb8490332e display each category in a section instead of of ul/li 2023-01-20 10:10:23 +01:00
Capelier-Marla
95f86e77a4 added id for each category to go directly to the section wanted 2023-01-20 10:04:14 +01:00
Capelier-Marla
f8e81d6136 renamed all categories in category 2023-01-20 09:50:54 +01:00
Thomas Rubini
6a91c2a9be
change keys passed to the view 2023-01-20 09:20:57 +01:00
Capelier-Marla
5d7c4628c6 move category_list to common and added it to pages where we will see it (+ fixed home view array) 2023-01-20 09:07:10 +01:00
Capelier-Marla
3b8207d3b1 moved and fixed category_list 2023-01-20 09:02:57 +01:00
Nicolas
21f40c7ee5 category_list implemented 2023-01-20 09:02:57 +01:00
Nicolas LAURENT
5f8bfa4b11
Merge pull request #30 from ThomasRubini/category_search
Category search
2023-01-19 16:56:16 +01:00
Nicolas
69ee3faa65 fix category page with controller 2023-01-19 16:55:09 +01:00
Thomas Rubini
d468d5fed0
modify key names in common/recipe 2023-01-19 16:18:23 +01:00
Thomas Rubini
4c02a3ec74
add CategoriesController 2023-01-19 16:17:45 +01:00
Nicolas
ca1c97b94d category page 2023-01-19 16:07:54 +01:00
Thomas Rubini
cceec2d943
replace 'account' with 'user' 2023-01-19 15:55:36 +01:00
Nicolas
ab085e8591 implement category with a data example 2023-01-19 15:53:24 +01:00
Capelier-Marla
2bb1eb18d9 fixed recipes view and translations 2023-01-18 14:21:26 +01:00
Capelier-Marla
df286707f7 remove unused style 2023-01-18 13:55:15 +01:00
Capelier-Marla
12a6d649a4 edit page done from data in Database and has dynamic js 2023-01-18 13:54:11 +01:00
Nicolas
26096c3028 fix few features in the architecture, recipe is now in common 2023-01-18 11:33:28 +01:00
AntLafI
f6647577ef added homepage view with recipe preview 2023-01-18 10:06:42 +01:00
Thomas Rubini
19cf44bc00
Create /user/update route 2023-01-17 15:53:15 +01:00
Capelier-Marla
69417ff760
form action redirected to /user/update 2023-01-17 15:24:38 +01:00
Capelier-Marla
2469823f9d
moved edit page to user view, to replace view.php, and edited Controller to show the right page 2023-01-17 15:24:38 +01:00
Thomas Rubini
6652d97c53
Show error message on login and register 2023-01-17 14:30:17 +01:00
Capelier-Marla
681ec995d1 fixed view, display time, diffuculty and author + edited first image 2023-01-17 10:37:07 +01:00
Thomas Rubini
82cb01ff18
Add possibility to logout 2023-01-17 10:06:37 +01:00
Thomas Rubini
7c20f6729a
add IMAGE_URL key for recipe 2023-01-17 09:53:53 +01:00
Thomas Rubini
4481803e60
Only store ID and sessionand get other information dynamically 2023-01-17 09:36:06 +01:00
Thomas Rubini
78bf8554b8
change DB field 'NAME' into 'USERNAME' 2023-01-17 09:25:44 +01:00
Thomas Rubini
7fae33a7b3
make basic account view 2023-01-17 09:00:13 +01:00
Thomas Rubini
0eecd88c31
display the recipe data provided by the backend 2023-01-17 00:22:59 +01:00
Thomas Rubini
b12dd563d8
replace the temporary login page with the final one 2023-01-16 23:38:30 +01:00
Thomas Rubini
0be83d3ecc
migrate common/404 to errors/404 2023-01-16 23:25:00 +01:00
Nicolas
46d09875cd
add labels for form input in login_signin.php 2023-01-16 23:24:04 +01:00
Capelier-Marla
0bc09b340e
added account gestion page 2023-01-16 23:23:16 +01:00
Nicolas
0448f4599c
login and signin page implemented 2023-01-16 23:22:41 +01:00
Capelier-Marla
8c3a6439ff
display recipe from array (for in defined in beggining of php code) 2023-01-16 23:21:38 +01:00
Nicolas
c4dba16084
error 404 page implemented 2023-01-16 23:20:55 +01:00
Capelier-Marla
c90d4e2abb
dynamic header from array 2023-01-16 23:20:48 +01:00
Capelier-Marla
2c06a56656
footer content updated 2023-01-16 23:20:04 +01:00
Thomas Rubini
18d6298330
basic login/register system 2023-01-16 22:46:34 +01:00
Thomas Rubini
8ebfd5c45e
Merge pull request #5 from ThomasRubini/default_page 2023-01-16 21:02:00 +01:00
Thomas Rubini
4c443644b8
implement Default page 2023-01-16 21:01:24 +01:00
Thomas Rubini
6dc7ec3588
Implement example 404 page 2023-01-16 20:58:09 +01:00
Thomas Rubini
3da99a3ac7
Change all models to use the SQL database 2023-01-16 20:53:32 +01:00
Thomas Rubini
87e8f9247e
move recipe data creation to RecipeModel and use real SQL database 2023-01-16 20:29:18 +01:00
Thomas Rubini
95ad2e1d6a
Example implementation of a controller 2023-01-12 17:15:19 +01:00
Thomas Rubini
b66d0e3e5b
remove french comment 2023-01-12 15:13:34 +01:00
Thomas Rubini
94dafd735c
switch code to english 2023-01-12 14:31:06 +01:00