Commit Graph

165 Commits

Author SHA1 Message Date
Capelier-Marla
8418df91e3 removed :has() css attributes to use classes (because f firefox) 2023-01-26 13:31:27 +01:00
Thomas Rubini
0f8a113583
fix recipe/search view call 2023-01-26 13:25:43 +01:00
Thomas Rubini
47b5a6c52a
Merge pull request #109 from ThomasRubini/category_view 2023-01-26 12:01:48 +01:00
Thomas Rubini
e4a3c9665a
make category view use model 2023-01-26 12:01:19 +01:00
Capelier-Marla
13b3b58fb0 styled user/view (user/edit) 2023-01-26 11:39:26 +01:00
Capelier-Marla
47c733547f added classes to use css easier 2023-01-26 00:48:28 +01:00
Thomas Rubini
4342c56f4d
fix recipe_id hidden key in form 2023-01-25 23:17:48 +01:00
Thomas Rubini
7fca2e6d78
loop over difficulties 2023-01-25 23:07:45 +01:00
Thomas Rubini
ececccc3a0
handle deleted users (null author) 2023-01-25 22:54:06 +01:00
Thomas Rubini
dc9465495a
replace DESC with DESCR 2023-01-25 22:49:58 +01:00
Thomas Rubini
488fc7c510
Use plain HTML in the header + only show 'Nouvelle recette' if user is login 2023-01-25 22:45:35 +01:00
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
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