using tabbed pane for the 3 different info parts on about, removed debugs, cleaned up ignore files to remove the new files for the about info
This commit is contained in:
@@ -18,5 +18,6 @@ db-container
|
||||
.dockerignore
|
||||
Dockerfile
|
||||
internal/git-log.txt
|
||||
internal/build-date.txt
|
||||
internal/TODO
|
||||
internal/BUGs
|
||||
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -3,8 +3,11 @@ photos/
|
||||
storage/
|
||||
images_to_process/
|
||||
DB_BACKUP/
|
||||
internal/git-log.txt
|
||||
internal/upstream
|
||||
internal/git-log.txt
|
||||
internal/build-date.txt
|
||||
internal/TODO
|
||||
internal/BUGs
|
||||
static/
|
||||
.pa_metadata/
|
||||
.python/
|
||||
|
||||
4
TODO
4
TODO
@@ -1,4 +1,4 @@
|
||||
## GENERAL
|
||||
### GENERAL
|
||||
* after move, instead of back to home page, go to an ammended view of the thumbs to keep moving
|
||||
|
||||
* ignore face should ignore ALL matching faces (re: Declan)
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
* real first-run, 'no or empty settings' -- need to think this through
|
||||
|
||||
## DB
|
||||
### DB
|
||||
* Dir can have date in the DB, so we can do Oldest/Newest dirs in Folder view
|
||||
|
||||
### BACKEND
|
||||
|
||||
1
main.py
1
main.py
@@ -178,7 +178,6 @@ def about():
|
||||
with open( 'internal/BUGs', 'r' ) as fp:
|
||||
can_add=False
|
||||
for l in fp:
|
||||
print(l)
|
||||
if not l.startswith( 'BUG' ):
|
||||
if can_add:
|
||||
b['str']=b['str']+'<br>'+l
|
||||
|
||||
@@ -10,27 +10,31 @@
|
||||
{{build_info}}
|
||||
</div>
|
||||
</div>
|
||||
<h5><b>
|
||||
Recent commits:
|
||||
</b></h5>
|
||||
<nav>
|
||||
<div class="nav nav-tabs" id="nav-tab" role="tablist">
|
||||
<button class="nav-link active" id="nav-commits-tab" data-bs-toggle="tab" data-bs-target="#nav-commits" type="button" role="tab" aria-controls="nav-commits" aria-selected="true">Commits</button>
|
||||
<button class="nav-link" id="nav-bugs-tab" data-bs-toggle="tab" data-bs-target="#nav-bugs" type="button" role="tab" aria-controls="nav-bugs" aria-selected="false">Known Bugs</button>
|
||||
<button class="nav-link" id="nav-todo-tab" data-bs-toggle="tab" data-bs-target="#nav-todo" type="button" role="tab" aria-controls="nav-todo" aria-selected="false">TODO</button>
|
||||
</div>
|
||||
</nav>
|
||||
<div class="tab-content" id="nav-tabContent">
|
||||
<div class="tab-pane fade show active" id="nav-commits" role="tabpanel" aria-labelledby="nav-commits-tab">
|
||||
{% for c in commits %}
|
||||
<dl class="row">
|
||||
<div class="dt col-3 bg-light">{{c.date}}</div>
|
||||
<div class="dd col-9 bg-light">{{c.str}}</div>
|
||||
</dl>
|
||||
{% endfor %}
|
||||
<h5><b>
|
||||
Known Bugs:
|
||||
</b></h5>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="nav-bugs" role="tabpanel" aria-labelledby="nav-bugs-tab">
|
||||
{% for b in bugs %}
|
||||
<dl class="row bg-light">{{b.str|safe}}</dl>
|
||||
{% endfor %}
|
||||
<h5><b>
|
||||
TODO:
|
||||
</b></h5>
|
||||
<pre>
|
||||
{{todo}}
|
||||
</pre>
|
||||
</div>
|
||||
<div class="tab-pane fade" id="nav-todo" role="tabpanel" aria-labelledby="nav-todo-tab">
|
||||
<pre>{{todo}}</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div class="container">
|
||||
|
||||
{% endblock main_content %}
|
||||
|
||||
Reference in New Issue
Block a user