following.html (1246B)
1 {% include 'header.html' %} 2 3 <title>Following | Diaspora Diaries</title> 4 5 {% include 'nav.html' %} 6 7 <main role="main" class="container cover"> 8 9 <h1 class="cover-heading">Users you are following</h1> 10 <hr> 11 12 <div class="container-fluid"> 13 {% if following %} 14 15 {% for i in following %} 16 <div class="row"> 17 <form action="/follow" method="POST" id="followform_{{ i[0] }}"> 18 <div class="col"> 19 <input type="hidden" name="Id" value="{{ i[0] }}"> 20 <input type="hidden" name="Act" value="unfollow"> 21 <input type="hidden" name="From" value="/following"> 22 <h2><a href="/profile?id={{ i[0]}}">{{ i[1] }}</a></h2> 23 </div> 24 <div class="col"> 25 {% for j in i[2] %} 26 <img style="height: 2em;" src="/static/img/flags/{{ j[0] }}.png" alt="{{ j[1] }}" title="{{ j[1] }}"> 27 {% endfor %} 28 </div> 29 <div class="col"> 30 <input type="submit" class="btn btn-primary" value="Following" title="Click to unfollow"> 31 </div> 32 </form> 33 </div> 34 <hr> 35 {% endfor %} 36 37 {% else %} 38 <p>You aren't following anyone.</p> 39 {% endif %} 40 </div> 41 </main> 42 43 {% include 'footer.html' %}