2017-05-12 20:51:49 +02:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block title %}{{ user.username }} :: {{ config.SITE_NAME }}{% endblock %}
|
|
|
|
{% block body %}
|
2017-05-15 07:49:25 -04:00
|
|
|
{% from "_formhelpers.html" import render_field %}
|
|
|
|
|
|
|
|
{% if superadmin %}
|
2017-05-16 00:20:40 -04:00
|
|
|
<h2>User Information</h2><br>
|
|
|
|
<dl class="dl-horizontal">
|
|
|
|
<dt>User ID:</dt>
|
|
|
|
<dd>{{user.id}}</dd>
|
|
|
|
<dt>Account created on:</dt>
|
|
|
|
<dd>{{user.created_time}}</dd>
|
|
|
|
<dt>Email address:</dt>
|
|
|
|
<dd>{{user.email}}</dd>
|
|
|
|
<dt>User class:</dt>
|
|
|
|
<dd>{{level}}</dd><br>
|
|
|
|
</dl>
|
|
|
|
<form method="POST">
|
|
|
|
{{ form.csrf_token }}
|
|
|
|
|
|
|
|
<div class="form-group row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
{{ render_field(form.user_class, class_='form-control')}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<button type="submit" class="btn btn-primary">Apply</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<br>
|
2017-05-15 07:49:25 -04:00
|
|
|
{% endif %}
|
2017-05-16 00:20:40 -04:00
|
|
|
|
2017-05-12 20:51:49 +02:00
|
|
|
<h3>
|
2017-05-16 00:20:40 -04:00
|
|
|
Browsing {{user.username}}'s torrents
|
2017-05-12 20:51:49 +02:00
|
|
|
</h3>
|
|
|
|
|
|
|
|
{% include "search_results.html" %}
|
|
|
|
|
|
|
|
{% endblock %}
|