30 lines
548 B
HTML
30 lines
548 B
HTML
{% extends 'base.html' %}
|
|
|
|
{% block title %} Update Balance {% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
<div class="centered">
|
|
|
|
{% if request.user.is_superuser %}
|
|
|
|
|
|
<p>Hello, {{ user.username }} !</p>
|
|
|
|
<form method="post" enctype="multipart/form-data">
|
|
{% csrf_token %}
|
|
<input name="user_instance" id="user_instance" placeholder="Pencho Slaveikov"><br>
|
|
<input name="tokens" id="tokens" placeholder="523...">
|
|
<button type="submit">Upload</button>
|
|
</form>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
<h1>Unauthorized</h1>
|
|
</div>
|
|
|
|
{% endif %}
|
|
{% endblock %}
|