Added the sidebar to add images, and modals to manage photo

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda
2025-06-27 17:08:20 -03:00
parent 14055770e7
commit 84b0397263
5 changed files with 738 additions and 54 deletions
+5
View File
@@ -1,4 +1,5 @@
from pilgrim.service.entry_service import EntryService
from pilgrim.service.photo_service import PhotoService
from pilgrim.service.travel_diary_service import TravelDiaryService
@@ -17,3 +18,7 @@ class ServiceManager:
if self.session is not None:
return TravelDiaryService(self.session)
return None
def get_photo_service(self):
if self.session is not None:
return PhotoService(self.session)
return None