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>
|
||||
{% endblock %}
|
||||
|
||||
{% if request.user.is_superuser %}
|
||||
{% block content %}
|
||||
<div class="centered">
|
||||
|
||||
{% block content %}
|
||||
<div class="centered">
|
||||
{% if image %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
{% if image %}
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
<div class="choice">
|
||||
<img src="/media/{{ image }}" width="500" width="500" >
|
||||
</div><br>
|
||||
</div>
|
||||
<div class="choiceButtons">
|
||||
|
||||
<div class="choice">
|
||||
<img src="/media/{{ image }}" width="500" width="500" >
|
||||
</div><br>
|
||||
</div>
|
||||
<input name="isValid" type="submit" value="Valid">
|
||||
<input name="isValid" type="submit" value="Invalid">
|
||||
</form>
|
||||
|
||||
|
||||
{% 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>
|
||||
|
||||
<input name="isValid" type="submit" value="Valid">
|
||||
<input name="isValid" type="submit" value="Invalid">
|
||||
</form>
|
||||
{% 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>
|
||||
{% endblock %}
|
||||
|
||||
{% endif %}
|
||||
{% else %}
|
||||
|
||||
<h1>Unauthorized</h1>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user