feat: done task message

This commit is contained in:
chest 2025-02-04 13:29:17 +03:00 committed by Sweetbread
parent 793962a8e8
commit f5c32f761d
4 changed files with 21 additions and 6 deletions

BIN
static/imgs/main_icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

View File

@ -19,6 +19,19 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: rgba(0,0,0,0.90); background-color: rgba(0,0,0,0.90);
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
}
.done {
position-area: center;
width: 10%;
height: auto;
image-rendering: pixelated;
text-align: center;
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
@ -124,9 +137,10 @@
font-family: Monocraft; font-family: Monocraft;
text-align: center; text-align: center;
color: rgba(225, 225, 225, 0.6); color: rgba(225, 225, 225, 0.6);
text-align: right;
cursor: pointer; cursor: pointer;
transition: 0.3s; transition: 0.3s;
margin: 1rem;
padding: 1rem;
} }
.usable-context:hover { .usable-context:hover {
@ -147,7 +161,6 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
height: 100%; height: 100%;
} }

View File

@ -8,9 +8,9 @@
<div class="small info1 divv" > <div class="small info1 divv" >
<p class="simpletext">Разделы заданий:</p> <p class="simpletext">Разделы заданий:</p>
<nav class="navbtn"> <nav class="navbtn">
<a href="{{ url_for('sql') }}" class="btn1">sql пипка</a> <a href="{{ url_for('sql') }}" class="btn1">Sql-инъекция</a>
<a href="{{ url_for('found') }}" class="btn1">forensic</a> <a href="{{ url_for('found') }}" class="btn1">Форензика</a>
<a href="{{ url_for('decode') }}" class="btn1">encode and decode</a> <a href="{{ url_for('decode') }}" class="btn1">Криптография</a>
<a href="{{ url_for('found') }}" class="btn1">ещё таск</a> <a href="{{ url_for('found') }}" class="btn1">ещё таск</a>
<a href="{{ url_for('decode') }}" class="btn1">и еще один таск</a> <a href="{{ url_for('decode') }}" class="btn1">и еще один таск</a>

View File

@ -24,7 +24,9 @@
<div id="error"> <p>{{ error }}</p> </div> <div id="error"> <p>{{ error }}</p> </div>
{% elif success_flag %} {% elif success_flag %}
<div class="task-done"> <div class="task-done">
<p class="simpletext" style="position-area: center">В прошли задание! выбор следующих и кошки</p> <h1 class="header">Вы прошли задание!</h1>
<img class="done" src="{{ url_for('static', filename='imgs/done_icon.png') }}">
<a href="{{ url_for('index') }}" class="usable-context" style="text-align: canter"> < НА ГЛАВНУЮ > </a>
</div> </div>
{% else %} {% else %}
<div id="success"> <p>Вход произведён успешно!</p> </div> <div id="success"> <p>Вход произведён успешно!</p> </div>