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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,4 +6,5 @@ DB_BACKUP/
|
||||
new_img_dir/
|
||||
static/
|
||||
internal/upstream
|
||||
internal/git-log.txt
|
||||
.pa_metadata
|
||||
|
||||
2
main.py
2
main.py
@@ -152,7 +152,7 @@ def about():
|
||||
if can_add:
|
||||
commits.append(o)
|
||||
o={}
|
||||
o['date']=l.replace("Date: ", "")
|
||||
o['date']=l.replace("Date: ", "").split("+")[0]
|
||||
o['str']=''
|
||||
can_add=True
|
||||
else:
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
</b></h4>
|
||||
{% for c in commits %}
|
||||
<dl class="row">
|
||||
<div class="dt col-4 bg-light">{{c.date}}</div>
|
||||
<div class="dd col-8 bg-light">{{c.str}}</div>
|
||||
<div class="dt col-3 bg-light">{{c.date}}</div>
|
||||
<div class="dd col-9 bg-light">{{c.str}}</div>
|
||||
</dl>
|
||||
{% endfor %}
|
||||
</div class="row">
|
||||
|
||||
Reference in New Issue
Block a user