1. Matthew Turk
  2. yt.hub

Source

yt.hub / ythub / templates / users.html

{% extends "layout.html" %}
{% block subpage %} User Listing {% endblock %}
{% block title %} User Listing {% endblock %}

{% block mainbody %}
<section style="padding-top:5.0em;">
  <div class="row">
    <div class="span12">
      <div class="row">
        <div class="span12">
          <h1>User Listing</h1>
          <p>&nbsp;</p>
          <table class="table table-bordered table-striped">
            <thead>
              <tr>
                <th width=80></th>
                <th>Username</th>
                <th>Name</th>
                <th>URL</th>
              </tr>
            </thead>
            <tbody>
              {% for u in users %}
              <tr><td><a href="/users/{{u.username}}"><img src="{{ u.email | gravatar }}" width=80></a>
                  <td><a href="/users/{{u.username}}"><tt>{{ u.username }}</tt></a></td>
                  <td>{{ u.name }}</td>
                  <td><a href="{{ u.url }}"><tt>{{ u.url }}</tt></a></td>
              </tr>
              {% endfor %}
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </div>
</section>
{% endblock %}