View raw

1 <linkrel= "stylesheet"type= "text/css"href= "{{ url_for('static',filename='styles/default.css') }}"> 2 <linkrel= "stylesheet"type= "text/css"href= "{{ url_for('static',filename='styles/home.css') }}"> 3 4 {% extends "base.html" %} 5 {% block content %} 6 7 <a href="{{ url_for('yes') }}" class="tab-yes"></a> 8 <a href="{{ url_for('no') }}" class="tab-no"></a> 9 10 <div class="feed-post"> 11 {% for post in posts %} 12 <div class="post-wrapper"> 13 <a href="{{ url_for('home') }}" class="btn-yes"></a> 14 <a href="{{ url_for('home') }}" class="btn-no"></a> 15 <div class="post"> 16 <h1>{{post.author}}</h1> 17 <h2>{{post.date}}</h2> 18 <p>{{post.content}}</p> 19 </div> 20 {% if post.type == message %} 21 <!-- implement a drop-down "drawer" quick reply feature --> 22 {% endif %} 23 </div> 24 25 {% endfor %} 26 </div> 27 28 {% endblock content %} 29