forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-11-30 20:20:56 +02:00
parent aadbc99063
commit f424b52671
5 changed files with 6 additions and 10 deletions

View File

@ -23,7 +23,6 @@
} }
</style> </style>
{% include "expanded_image_modal.html" %}
{% macro single_comment(c, level=1) %} {% macro single_comment(c, level=1) %}
@ -817,6 +816,8 @@ window.addEventListener('DOMContentLoaded', function() {
}); });
</script> </script>
{% include "expanded_image_modal.html" %}
<script> <script>
window.addEventListener('DOMContentLoaded', function() { window.addEventListener('DOMContentLoaded', function() {

View File

@ -1,13 +1,9 @@
<script> <script>
window.addEventListener('DOMContentLoaded', function() {
function expandDesktopImage(image) { function expandDesktopImage(image) {
document.getElementById("desktop-expanded-image").src = image.replace("200w_d.webp", "giphy.webp"); document.getElementById("desktop-expanded-image").src = image.replace("200w_d.webp", "giphy.webp");
document.getElementById("desktop-expanded-image-link").href = image; document.getElementById("desktop-expanded-image-link").href = image;
document.getElementById("desktop-expanded-image-wrap-link").href=image; document.getElementById("desktop-expanded-image-wrap-link").href=image;
}; };
});
</script> </script>

View File

@ -1,6 +1,5 @@
{% extends "default.html" %} {% extends "default.html" %}
{% block title %} {% block title %}
{% include "expanded_image_modal.html" %}
<title>{{'SITE_NAME' | app_config}} - Formatting</title> <title>{{'SITE_NAME' | app_config}} - Formatting</title>
<meta name="description" content="{{'SITE_NAME' | app_config}} Formatting"> <meta name="description" content="{{'SITE_NAME' | app_config}} Formatting">
{% endblock %} {% endblock %}
@ -529,6 +528,8 @@ line breaks
</tbody> </tbody>
</table> </table>
{% include "expanded_image_modal.html" %}
<style> <style>
@media (max-width: 767.98px) { @media (max-width: 767.98px) {
table { table {

View File

@ -15,8 +15,6 @@
<script defer src="/assets/js/new_comments_count.js?v=53"></script> <script defer src="/assets/js/new_comments_count.js?v=53"></script>
{% include "expanded_image_modal.html" %}
{% if p.award_count("train") %} {% if p.award_count("train") %}
<style> <style>
@keyframes train { @keyframes train {
@ -913,6 +911,7 @@ window.addEventListener('DOMContentLoaded', function() {
{% include "ban_modal.html" %} {% include "ban_modal.html" %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% include "expanded_image_modal.html" %}
{% endif %} {% endif %}
{% if p.award_count("shit") %} {% if p.award_count("shit") %}

View File

@ -4,8 +4,6 @@
{% set cc='COUNTRY CLUB' %} {% set cc='COUNTRY CLUB' %}
{% endif %} {% endif %}
{% include "expanded_image_modal.html" %}
<script defer src="/assets/js/new_comments_count.js?v=53"></script> <script defer src="/assets/js/new_comments_count.js?v=53"></script>
{% for p in listing %} {% for p in listing %}
@ -580,6 +578,7 @@ window.addEventListener('DOMContentLoaded', function() {
{% include "ban_modal.html" %} {% include "ban_modal.html" %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% include "expanded_image_modal.html" %}
<style> <style>
.popover { .popover {