46 lines
1.9 KiB
HTML
46 lines
1.9 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block main_content %}
|
|
<h3>PA User state page</h3>
|
|
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<alert class="alert alert-warning">The following values are based on navigating the application and are not set by hand. This page is for checking/debugging only.</alert>
|
|
</div class="row">
|
|
<div class="row">
|
|
<table id="pa_user_state_tbl" class="table table-striped table-sm" data-toolbar="#toolbar" data-search="true">
|
|
<thead>
|
|
<tr class="table-primary"><th>Path</th><th>New or Oldest</th><th>How Many</th><th>Folders?</th><th>Group by</th><th>Thumb size</th><th>Fullscreen</th><th>DB retrieve offset</th><th>Root</th><th>cwd</th></tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for st in states %}
|
|
<tr>
|
|
<td>{{st.path_type}}
|
|
{% if st.path_type == 'Search' %}
|
|
"{{st.orig_search_term}}"
|
|
{% endif %}
|
|
{% if st.path_type == 'View' %}
|
|
(orig: id={{st.view_eid}} in {{st.orig_ptype}})
|
|
{% if st.orig_ptype == 'Search' %}
|
|
"{{st.orig_search_term}}"
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
</td>
|
|
<td>{{st.noo}}</td>
|
|
<td>{{st.how_many}}</td>
|
|
<td>{{st.folders}}</td>
|
|
<td>{{st.grouping}}</td>
|
|
<td>{{st.size}}</td>
|
|
<td>{{st.fullscreen}}</td>
|
|
<td>{{st.st_offset}}</td>
|
|
<td>{{st.root}}</td>
|
|
<td>{{st.cwd}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div class="row">
|
|
</div class="container-fluid">
|
|
{% endblock main_content %}
|