Commit Graph

354 Commits

Author SHA1 Message Date
Thomas Rubini
154f731fef
Merge pull request #115 from ThomasRubini/error-pages-improvements 2023-01-26 16:30:15 +01:00
Thomas Rubini
9e2981275a
Merge pull request #120 from ThomasRubini/ingr_model_get 2023-01-26 16:30:03 +01:00
Thomas Rubini
4bf6cda6d9
use recipe_id in IngredientModel::getByRecipeAndName 2023-01-26 16:29:49 +01:00
Thomas Rubini
81dbc8a68c
Merge pull request #118 from ThomasRubini/recipe_preload 2023-01-26 16:27:38 +01:00
Thomas Rubini
fcf69dad56
remove all functions to preload recipe attributes 2023-01-26 16:25:59 +01:00
Thomas Rubini
ddc2c72d58
use function to get difficulty 2023-01-26 16:25:42 +01:00
Thomas Rubini
0155e29e91
Merge pull request #117 from ThomasRubini/edit_delete_recipe 2023-01-26 16:19:48 +01:00
Thomas Rubini
2898ca3345
add recipe/delete action 2023-01-26 16:19:11 +01:00
Thomas Rubini
85a7ba34f3
add buttons ot edit and delete in recipe view 2023-01-26 16:19:00 +01:00
Thomas Rubini
f6a6ebb40f
fix missing quote 2023-01-26 16:12:02 +01:00
Thomas Rubini
751530ef49
Merge pull request #116 from ThomasRubini/ingredient__model_refactor 2023-01-26 15:59:34 +01:00
0eb560c8b8
fixed wrong id being passed 2023-01-26 15:59:14 +01:00
f70465a17a
refactored ingredient model 2023-01-26 15:59:14 +01:00
Thomas Rubini
ee7be3d7e2
Merge pull request #112 from ThomasRubini/appreciation_model_refactor 2023-01-26 15:58:03 +01:00
5d0e19b45f refactored appr model references 2023-01-26 15:47:10 +01:00
332a98958f refactored appr model 2023-01-26 15:47:10 +01:00
AudricV
84bc05a976
Center error messages horizontally and vertically 2023-01-26 15:45:46 +01:00
AudricV
5b9e412ca2
Improve error pages
- Wrap messages into a main element
- Add classes for all texts except the back to home link
- Translate everything in French
2023-01-26 15:41:53 +01:00
Marla
b33a6346bd
Merge pull request #113 from ThomasRubini/css_search
Css search style
2023-01-26 15:33:11 +01:00
Capelier-Marla
cbf5d2c0d2 shared some attributes to other objects to add style to search results 2023-01-26 15:32:21 +01:00
Capelier-Marla
a7060f46dd styled search part of search page 2023-01-26 13:34:24 +01:00
Marla
b0b91cd513
Merge pull request #111 from ThomasRubini/css_has_workaround
removed :has() css attributes to use classes
2023-01-26 13:32:30 +01:00
Capelier-Marla
8418df91e3 removed :has() css attributes to use classes (because f firefox) 2023-01-26 13:31:27 +01:00
Thomas Rubini
a984ed82aa
Merge pull request #110 from ThomasRubini/recipe_search 2023-01-26 13:26:03 +01:00
Thomas Rubini
0f8a113583
fix recipe/search view call 2023-01-26 13:25:43 +01:00
Thomas Rubini
13ba0056da
Fix recipe search query 2023-01-26 13:24: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
Marla
0e8f4cbf0b
Merge pull request #108 from ThomasRubini/css_user_view
styled user/view (user/edit)
2023-01-26 11:40:02 +01:00
Capelier-Marla
13b3b58fb0 styled user/view (user/edit) 2023-01-26 11:39:26 +01:00
Marla
a64c4b9055
Merge pull request #107 from ThomasRubini/css_selector_form_update
added classes to use css easier
2023-01-26 11:17:54 +01:00
Capelier-Marla
47c733547f added classes to use css easier 2023-01-26 00:48:28 +01:00
Thomas Rubini
86e76cbb6c
Merge pull request #106 from ThomasRubini/appr_recipe_id 2023-01-25 23:18:05 +01:00
Thomas Rubini
4342c56f4d
fix recipe_id hidden key in form 2023-01-25 23:17:48 +01:00
Thomas Rubini
ab45425529
Merge pull request #105 from ThomasRubini/fixes 2023-01-25 23:13:33 +01:00
Thomas Rubini
00e62b7a3e
fix typo in SQL query 2023-01-25 23:12:08 +01:00
Thomas Rubini
83b3cd0bd5
fix ID variable 2023-01-25 23:12:02 +01:00
Thomas Rubini
3160b12455
pass recipe ID to edit in URL param 2023-01-25 23:11:53 +01:00
Thomas Rubini
300f11bb06
rename getRecipeByID() to getByID() 2023-01-25 23:08:09 +01:00
Thomas Rubini
7fca2e6d78
loop over difficulties 2023-01-25 23:07:45 +01:00
Thomas Rubini
7810918617
Merge pull request #104 from ThomasRubini/fixes 2023-01-25 22:54:29 +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
c66fa2f015
Merge pull request #103 from ThomasRubini/getbyid 2023-01-25 22:48:23 +01:00
Thomas Rubini
fd879d4671
do not make getByName call getByID 2023-01-25 22:48:07 +01:00
Thomas Rubini
e69a4cbc68
Merge pull request #102 from ThomasRubini/header 2023-01-25 22:46:05 +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
fce1da9070
Merge pull request #101 from ThomasRubini/recipe_edit 2023-01-25 22:42:18 +01:00
Thomas Rubini
8ad62d8620
make edit and new actions work 2023-01-25 22:41:22 +01:00
Thomas Rubini
6f66a44e69
do not store difficulty as author 2023-01-25 22:40:58 +01:00