feat(web): ssti comments:3
This commit is contained in:
parent
a1eb5e8c27
commit
cbb5f7cffe
@ -170,9 +170,16 @@
|
||||
|
||||
.comments {
|
||||
background-color: rgb(35, 33, 54);
|
||||
height: 60%;
|
||||
width: 80%;
|
||||
height: 12rem;
|
||||
width: 95%;
|
||||
text-align: left;
|
||||
border-radius: 0.5rem;
|
||||
overflow-y: auto;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.comment {
|
||||
margin: 2rem;
|
||||
}
|
||||
|
||||
.navgoodlinks {
|
||||
|
@ -6,19 +6,33 @@
|
||||
<span class="close-btn usable-context" onclick="hidePopup()">скрыть</span>
|
||||
</div>
|
||||
<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>
|
||||
<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" ><p>Комментарий:<input class="inpt" type="text" name="user_comment" style="width: 100%; height: 1.25rem; margin: 0"></p></div>
|
||||
<input type="submit" value="Submit" class="btn1" style="margin-top: 1.25rem">
|
||||
<div class="small-container" style="justify-content: space-between;"><p>Имя:</p> <input type="text" name="username" class="inpt" /></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="Отправить" class="btn1" style="margin-top: 1.25rem">
|
||||
</form>
|
||||
<div class="comments">
|
||||
<div class="comment">
|
||||
{% for (username, comment) in comments -%}
|
||||
<p class="header" style="text-align: left">{{ username }}</p>
|
||||
<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 class="flag-input">
|
||||
<h3 class="header" style="text-align:left">Введите ответ:</h3>
|
||||
|
Loading…
x
Reference in New Issue
Block a user