feat(web): ssti comments:3
This commit is contained in:
parent
a1eb5e8c27
commit
cbb5f7cffe
@ -170,9 +170,16 @@
|
|||||||
|
|
||||||
.comments {
|
.comments {
|
||||||
background-color: rgb(35, 33, 54);
|
background-color: rgb(35, 33, 54);
|
||||||
height: 60%;
|
height: 12rem;
|
||||||
width: 80%;
|
width: 95%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
overflow-y: auto;
|
||||||
|
padding: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment {
|
||||||
|
margin: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navgoodlinks {
|
.navgoodlinks {
|
||||||
|
@ -6,18 +6,32 @@
|
|||||||
<span class="close-btn usable-context" onclick="hidePopup()">скрыть</span>
|
<span class="close-btn usable-context" onclick="hidePopup()">скрыть</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="small capsule-window info1" style="height: auto">
|
<div class="small capsule-window info1" style="height: auto;">
|
||||||
<p class="simpletext">Приветствую тебя, о сетевой путник! Прошу, оставь упоминание о себе здесь!</p>
|
<p class="simpletext">Приветствую тебя, о сетевой путник! Прошу, оставь упоминание о себе здесь!</p>
|
||||||
<form action="/web/ssti" method="post" class="simpletext">
|
<form action="/web/ssti" method="post" class="simpletext">
|
||||||
<div class="small-container" ><p>Имя:<input class="inpt" type="text" name="username" style="width: 100%; height: 1.25rem; margin: 0"></p></div>
|
<div class="small-container" style="justify-content: space-between;"><p>Имя:</p> <input type="text" name="username" class="inpt" /></div>
|
||||||
<div class="small-container" ><p>Комментарий:<input class="inpt" type="text" name="user_comment" style="width: 100%; height: 1.25rem; margin: 0"></p></div>
|
<div class="small-container" style="justify-content: space-between;"><p>Комментарий:</p> <input type="text" name="user_comment" class="inpt"/></div>
|
||||||
<input type="submit" value="Submit" class="btn1" style="margin-top: 1.25rem">
|
<input type="submit" value="Отправить" class="btn1" style="margin-top: 1.25rem">
|
||||||
</form>
|
</form>
|
||||||
<div class="comments">
|
<div class="comments">
|
||||||
{% for (username, comment) in comments -%}
|
<div class="comment">
|
||||||
<p class="header" style="text-align: left">{{ username }}</p>
|
{% for (username, comment) in comments -%}
|
||||||
<p class="mono">{{ render_template_string(comment) }}</p>
|
<p class="header" style="text-align: left">{{ username }}</p>
|
||||||
{% endfor -%}
|
<p class="mono">{{ render_template_string(comment) }}</p>
|
||||||
|
{% endfor -%}
|
||||||
|
</div>
|
||||||
|
<div class="comment">
|
||||||
|
<p class="header" style="text-align: left">Sup3r_C4t</p>
|
||||||
|
<p class="mono">Мяу-мяу Мяу-мяу</p>
|
||||||
|
</div>
|
||||||
|
<div class="comment">
|
||||||
|
<p class="header" style="text-align: left">Herobrine</p>
|
||||||
|
<p class="mono">▓▒░(°◡°)░▒▓</p>
|
||||||
|
</div>
|
||||||
|
<div class="comment">
|
||||||
|
<p class="header" style="text-align: left">0MegaCTF++</p>
|
||||||
|
<p class="mono">Выходи сюда, глупый Админ! Отдавай флаг!!!!(╮°-°)╮┳━━┳ ( ╯°□°)╯ ┻━━┻</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flag-input">
|
<div class="flag-input">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user