mirror of
https://github.com/sb745/NyaaV3.git
synced 2025-03-12 22:06:55 +02:00
39 lines
1,021 B
HTML
39 lines
1,021 B
HTML
{% extends "layout.html" %}
|
|
{% block title %}{{ user.username }} :: {{ config.SITE_NAME }}{% endblock %}
|
|
{% block body %}
|
|
{% from "_formhelpers.html" import render_field %}
|
|
|
|
{% if superadmin %}
|
|
<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>
|
|
{% endif %}
|
|
|
|
<h3>
|
|
Browsing {{user.username}}'s torrents
|
|
</h3>
|
|
|
|
{% include "search_results.html" %}
|
|
|
|
{% endblock %}
|