fix
parent
c19a03752d
commit
8ece7add77
|
@ -1,31 +1,3 @@
|
||||||
<style>
|
|
||||||
html {
|
|
||||||
scroll-padding-top: 75px;
|
|
||||||
}
|
|
||||||
.comment {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
.comment .comment-body {
|
|
||||||
padding: 3px 0;
|
|
||||||
}
|
|
||||||
.comment-anchor:target {
|
|
||||||
transition: all 0.25s ease;
|
|
||||||
animation: blink normal 1s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
|
||||||
0% {
|
|
||||||
background-color: rgba(0,0,0,0.1)
|
|
||||||
}
|
|
||||||
50% {
|
|
||||||
background-color: rgba(0,0,0,0.2)
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
background-color: rgba(0,0,0,0.1)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
{% if v %}
|
{% if v %}
|
||||||
{% include "award_modal.html" %}
|
{% include "award_modal.html" %}
|
||||||
<script defer src="https://cdn.jsdelivr.net/npm/marked@3.0.8/lib/marked.min.js"></script>
|
<script defer src="https://cdn.jsdelivr.net/npm/marked@3.0.8/lib/marked.min.js"></script>
|
||||||
|
@ -359,14 +331,7 @@
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span onmouseover="timestamp('timestamp-{{c.id}}','{{c.created_utc}}')" id="timestamp-{{c.id}}" data-bs-toggle="tooltip" data-bs-placement="bottom" class="time-stamp">
|
|
||||||
{{c.age_string}}
|
|
||||||
</span>
|
|
||||||
{% if c.edited_utc %}
|
|
||||||
<span onmouseover="timestamp('time-edit-{{c.id}}','{{c.edited_utc}}')" id="time-edit-{{c.id}}" class="time-edited italic">
|
|
||||||
Edited {{c.edited_string}}
|
|
||||||
</span>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -448,7 +413,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if render_replies %}
|
{% if render_replies %}
|
||||||
{% if level<8 %}
|
{% if level<2 %}
|
||||||
<div id="replies-of-{{c.id}}">
|
<div id="replies-of-{{c.id}}">
|
||||||
{% for reply in replies %}
|
{% for reply in replies %}
|
||||||
{{single_comment(reply, level=level+1)}}
|
{{single_comment(reply, level=level+1)}}
|
||||||
|
@ -472,6 +437,9 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{% include "/modals/ModalCommentActions.html" %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -484,6 +452,41 @@
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if v %}
|
||||||
|
{% include "gif_modal.html" %}
|
||||||
|
{% include "emoji_modal.html" %}
|
||||||
|
{% if v.admin_level > 1 %}
|
||||||
|
{% include "ban_modal.html" %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
<div class="modal fade" id="deleteCommentModal" tabindex="-1" role="dialog" aria-labelledby="deleteCommentModalTitle" aria-hidden="true">
|
||||||
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h5 class="modal-title">Delete comment?</h5>
|
||||||
|
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||||
|
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body text-center">
|
||||||
|
|
||||||
|
<div class="py-4">
|
||||||
|
<i class="fad fa-trash-alt text-muted" style="font-size: 3.5rem;"></i>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>Your comment will be removed everywhere on {{'SITE_NAME' | app_config}}. This action can be undone.</p>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<button type="button" class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
|
||||||
|
<button id="deleteCommentButton" class="btn btn-danger">Delete comment</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% include "/modals/ModalReportComment.html" %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.mod:before {
|
.mod:before {
|
||||||
content: '(((';
|
content: '(((';
|
||||||
|
|
Loading…
Reference in New Issue