first quick pass of user menu in navbar which shows simple read only prefs content, and a logout option that works
This commit is contained in:
25
templates/prefs.html
Normal file
25
templates/prefs.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% 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></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>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock main_content %}
|
||||
Reference in New Issue
Block a user