yeet
This commit is contained in:
parent
b9d91ad7dc
commit
ef87f0ec24
Binary file not shown.
BIN
reValuate/media/images/1/1259275_KvRAl23.jpg
Normal file
BIN
reValuate/media/images/1/1259275_KvRAl23.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 MiB |
BIN
reValuate/media/images/1/1259275_YSwW78a.jpg
Normal file
BIN
reValuate/media/images/1/1259275_YSwW78a.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.7 MiB |
@ -40,39 +40,47 @@
|
|||||||
</style>
|
</style>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% if request.user.is_superuser %}
|
||||||
|
{% block content %}
|
||||||
|
<div class="centered">
|
||||||
|
|
||||||
{% block content %}
|
{% if image %}
|
||||||
<div class="centered">
|
<form method="post">
|
||||||
|
{% csrf_token %}
|
||||||
|
|
||||||
{% if image %}
|
<div class="choice">
|
||||||
<form method="post">
|
<img src="/media/{{ image }}" width="500" width="500" >
|
||||||
{% csrf_token %}
|
</div><br>
|
||||||
|
</div>
|
||||||
|
<div class="choiceButtons">
|
||||||
|
|
||||||
<div class="choice">
|
<input name="isValid" type="submit" value="Valid">
|
||||||
<img src="/media/{{ image }}" width="500" width="500" >
|
<input name="isValid" type="submit" value="Invalid">
|
||||||
</div><br>
|
</form>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
|
<h1>Congratulations, there is no work left</h1>
|
||||||
<div class="choiceButtons">
|
<div class="choiceButtons">
|
||||||
|
<h1 class="emoji">🎉</h1>
|
||||||
<input name="isValid" type="submit" value="Valid">
|
<h1 class="emoji">🥳</h1>
|
||||||
<input name="isValid" type="submit" value="Invalid">
|
<h1 class="emoji">🎉</h1>
|
||||||
</form>
|
</div>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
{% else %}
|
|
||||||
|
|
||||||
<h1>Congratulations, there is no work left</h1>
|
|
||||||
<div class="choiceButtons">
|
|
||||||
<h1 class="emoji">🎉</h1>
|
|
||||||
<h1 class="emoji">🥳</h1>
|
|
||||||
<h1 class="emoji">🎉</h1>
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endblock %}
|
||||||
{% endif %}
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
</div>
|
<h1>Unauthorized</h1>
|
||||||
{% endblock %}
|
</div>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user