add some padding, and set root_eid - Its 0 when nothing at all in Path (first run/empty). Also, started override for marshmallow, but overrides wont work yet

This commit is contained in:
2025-10-07 00:00:50 +11:00
parent 7f13d78700
commit eb7bb84e09
3 changed files with 24 additions and 12 deletions

View File

@@ -19,7 +19,7 @@
</div class="input-group...">
</div class="col col-auto">
</div class="container">
<div id="file_list_div" class="container-fluid">
<div id="file_list_div" class="container-fluid pt-2">
</div class="container">
<div class="container-fluid">
<input type="hidden" name="cwd" id="cwd" value="{{OPT.cwd}}">
@@ -40,6 +40,7 @@
// this is the list of entry ids for the images for ALL matches for this query
var entryList={{query_data.entry_list}}
var OPT = {{ OPT.to_dict()|tojson }};
OPT.root_eid = {{ query_data.root_eid }};
// pageList is just those entries shown on this page from the full entryList
var pageList=[]