updated files.py and files.html to add a context menu submenu to look for faces in an image. Doesnt work yet, but the context menu works

This commit is contained in:
c-d-p
2021-06-27 14:27:46 +10:00
parent ade3745024
commit 26ba27cc0d
2 changed files with 14 additions and 3 deletions

View File

@@ -269,6 +269,8 @@ def files_sp():
noo, grouping, how_many, offset, size, folders, cwd, root = ViewingOptions( request )
entries=[]
people = Person.query.all()
# per storage path, add entries to view
settings=Settings.query.first()
paths = settings.storage_path.split("#")
@@ -279,7 +281,7 @@ def files_sp():
else:
entries+=GetEntriesInFlatView( cwd, prefix, noo, offset, how_many )
return render_template("files.html", page_title='View Files (Storage Path)', entry_data=entries, noo=noo, grouping=grouping, how_many=how_many, offset=offset, size=size, folders=folders, cwd=cwd, root=root )
return render_template("files.html", page_title='View Files (Storage Path)', entry_data=entries, noo=noo, grouping=grouping, how_many=how_many, offset=offset, size=size, folders=folders, cwd=cwd, root=root, people=people )
################################################################################