Source

cciw-website2 / templates / cciw / members / index.html

{% extends "cciw/standard.html" %}
{% load view_extras %}
{% load standardpage %}
{% load forums %}

{% block content %}
  <form method='get' action='/members/'>
    <p>
    <label>Search:
    <input type='text' name='search' id='search' value="{{ request.GET.search }}" /></label><br/>
    <label>Online users only: <input type="checkbox" name="online" value="1"
      {% if request.GET.online %}
        checked="checked"
      {% endif %} /></label> <input type="submit" name="go" value="Go" />
    </p>
    {% forward_query_param "order" %}
  </form>
  {% if object_list %}
  <div class="paging">{% paging_control %}</div>
  <table class="topheaders">
    <tr>
      <th scope="col">Icon</th>
      <th scope="col">Member name&nbsp;{% sorting_control "aun" "dun" "Sort by user name ascending" "Sort by user name descending" %}</th>
      <th scope="col">'Real' name&nbsp;{% sorting_control "arn" "drn" "Sort by real name ascending" "Sort by real name descending" %}</th>
      <th scope="col">Comments</th>
      <th scope="col">Joined&nbsp;{% sorting_control "adj" "ddj" "Sort by 'date joined' ascending" "Sort by 'date joined' descending" %}</th>
      <th scope="col">Last seen&nbsp;{% sorting_control "als" "dls" "Sort by 'last seen' ascending" "Sort by 'last seen' descending" %}</th>
    </tr>

    {% for member in object_list %}
    <tr>
      <td>{{ member.get_icon }}</td>
      <td>{{ member.get_link }}{% if member.hidden %}<br/>HIDDEN{% endif %}{% if member.banned %}<br/>BANNED{% endif %}</td>
      <td>{{ member.real_name }}</td>
      <td>{{ member.comments|bb2html }}</td>
      <td>
      {% if member.date_joined %}
        {{ member.date_joined|date:"d M Y" }}
      {% endif %}
      </td>
      <td>
      {% if member.last_seen %}
        {{ member.last_seen|date:"d M Y H:i" }}
      {% endif %}
      </td>
    </tr>
    {% endfor %}
  </table>
  <div class="paging">{% paging_control %}</div>
  {% else %}
  <p>No members found.</p>
  {% endif %}

{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.