renamed pa_pref to better named pa_user_state, changed code to adapt and made new_view and viewlist work with newer Options/pa_user_state - still more work but it should be functional again
This commit is contained in:
@@ -119,7 +119,7 @@
|
||||
<svg width="20" height="20" fill="currentColor"><use xlink:href="{{url_for('internal', filename='icons.svg')}}#user"/></svg>
|
||||
</a>
|
||||
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdownMenuLink">
|
||||
<div><a class="dropdown-item" href="{{url_for('prefs')}}">{{current_user|Username}}</a></div>
|
||||
<div><a class="dropdown-item" href="{{url_for('states')}}">{{current_user|Username}}</a></div>
|
||||
<div><a class="dropdown-item" href="{{url_for('logout')}}">Logout</a></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block main_content %}
|
||||
<h3>Simple Pref page</h3>
|
||||
|
||||
<table id="prefs_table" 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><th>View eids</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for pref in prefs %}
|
||||
<tr>
|
||||
<td>{{pref.path_type}}</td>
|
||||
<td>{{pref.noo}}</td>
|
||||
<td>{{pref.how_many}}</td>
|
||||
<td>{{pref.folders}}</td>
|
||||
<td>{{pref.grouping}}</td>
|
||||
<td>{{pref.size}}</td>
|
||||
<td>{{pref.fullscreen}}</td>
|
||||
<td>{{pref.st_offset}}</td>
|
||||
<td>{{pref.root}}</td>
|
||||
<td>{{pref.cwd}}</td>
|
||||
<td>{{pref.view_eids}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock main_content %}
|
||||
Reference in New Issue
Block a user