re ans-post
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2024-01-30 00:02:38 +10:00
parent e34be51a16
commit 25e5430b4c
2 changed files with 5 additions and 4 deletions

3
app.py
View File

@ -116,7 +116,8 @@ def post_to_post(post_key):
metadata = postos.insert({ metadata = postos.insert({
'texto': data, 'texto': data,
'parent_post': f'{post_key}' 'parent_post': f'{post_key}',
'images': []
}, overwrite_mode='update') }, overwrite_mode='update')
metadata = db.collection('post_parents').insert({ metadata = db.collection('post_parents').insert({

View File

@ -7,9 +7,9 @@
<div class="card s5 blue-grey darken-1"> <div class="card s5 blue-grey darken-1">
{% endif %} {% endif %}
<div class="row" id="post-{{ posto._key }}"> <div class="row" id="post-{{ posto._key }}">
<div class="col s4">
{% if posto.images[0] | length > 0 %} {% if posto.images[0] | length > 0 %}
<div class="col s4">
<div class="card-image"> <div class="card-image">
<!-- <div class="hex-main"> <!-- <div class="hex-main">
<div class="hex-container"> <div class="hex-container">
@ -23,8 +23,8 @@
<span class="card-title"><a class="card-action" href="#post-{{ posto.parent_post }}"> >>{{ posto.parent_post }} </a> </span> <span class="card-title"><a class="card-action" href="#post-{{ posto.parent_post }}"> >>{{ posto.parent_post }} </a> </span>
</div> </div>
</div> </div>
{% endif %}
</div> </div>
{% endif %}
<div class="col s8"> <div class="col s8">
<div class="card-content white-text"> <div class="card-content white-text">
<span class="card-title">#{{ posto._key }} <span class="card-title">#{{ posto._key }}