mirror of
https://github.com/StefBuwalda/cal_counter.git
synced 2025-10-30 11:19:59 +00:00
Refactor add meal flow and remove v2 routes
Migrated add_meal_v2 routes and templates to add_meal, renaming endpoints and updating references throughout the app. Removed legacy daily_log2 route and template, consolidating to daily_log. Moved macro_arr_to_json to utils.py for reuse. Updated navigation and redirect logic to use new routes. Improved item finding and barcode scanning UI.
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
</a>
|
||||
|
||||
<!-- Center Button (highlighted) -->
|
||||
<a id="set_link_date" href="{{ url_for('add_meal_v2.get_barcode') }}"
|
||||
<a id="set_link_date" href="{{ url_for('add_meal.find_item') }}"
|
||||
class="btn btn-success flex-fill mx-2 fw-bold rounded-pill">
|
||||
+ Add Item
|
||||
</a>
|
||||
Reference in New Issue
Block a user