added internal/git-log.txt to .gitignore if there in DEV for testing. Removed timezone from Date in About, and redid columns to 3 and 9 for better spacing in About

This commit is contained in:
2022-12-31 14:35:52 +11:00
parent 385665b702
commit 8232943621
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@@ -6,4 +6,5 @@ DB_BACKUP/
new_img_dir/ new_img_dir/
static/ static/
internal/upstream internal/upstream
internal/git-log.txt
.pa_metadata .pa_metadata

View File

@@ -152,7 +152,7 @@ def about():
if can_add: if can_add:
commits.append(o) commits.append(o)
o={} o={}
o['date']=l.replace("Date: ", "") o['date']=l.replace("Date: ", "").split("+")[0]
o['str']='' o['str']=''
can_add=True can_add=True
else: else:

View File

@@ -37,8 +37,8 @@
</b></h4> </b></h4>
{% for c in commits %} {% for c in commits %}
<dl class="row"> <dl class="row">
<div class="dt col-4 bg-light">{{c.date}}</div> <div class="dt col-3 bg-light">{{c.date}}</div>
<div class="dd col-8 bg-light">{{c.str}}</div> <div class="dd col-9 bg-light">{{c.str}}</div>
</dl> </dl>
{% endfor %} {% endfor %}
</div class="row"> </div class="row">