master
Aevann1 2021-10-04 01:02:41 +02:00
parent 1378854337
commit f8c89b1b1c
11 changed files with 14 additions and 16 deletions

View File

@ -3,7 +3,7 @@
{% block pagetitle %}Changelog{% endblock %}
{% block desktopBanner %}
<script src="/assets/js/changelog.js"></script>
<script src="/assets/js/changelog.js?v=1"></script>
<div class="row" style="overflow: visible;padding-top:5px;">
<div class="col">

View File

@ -33,14 +33,14 @@
{% if v %}
{% include "award_modal.html" %}
<script src="/assets/js/comments_v.js?v=2"></script>
<script src="/assets/js/comments_v.js?v=3"></script>
{% endif %}
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
{% if v and v.admin_level == 6 %}
<script src="/assets/js/comments_admin.js"></script>
<script src="/assets/js/comments_admin.js?v=1"></script>
{% endif %}
<script>

View File

@ -67,7 +67,7 @@
{% if v %}
<script>function formkey() {return '{{v.formkey}}';}</script>
<script src="/assets/js/default.js?v=1"></script>
<script src="/assets/js/default.js?v=2"></script>
{% endif %}

View File

@ -1,4 +1,4 @@
<script src="/assets/js/gif_modal.js"></script>
<script src="/assets/js/gif_modal.js?v=1"></script>
<div class="modal fade" id="gifModal" tabindex="-1" role="dialog" aria-labelledby="gifModalTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable modal-dialog-centered p-5" role="document">

View File

@ -1,4 +1,4 @@
<script src="/assets/js/header.js"></script>
<script src="/assets/js/header.js?v=1"></script>
<nav class="shadow shadow-md fixed-top">
{% if "rdrama" in request.host %}

View File

@ -1,4 +1,4 @@
<script src="/assets/js/mobile_navigation_bar.js"></script>
<script src="/assets/js/mobile_navigation_bar.js?v=1"></script>
<style>
.btn-dead:hover, .active.btn-dead:hover, .active.btn-dead {

View File

@ -10,8 +10,6 @@
var exileForm = document.getElementById("exile-form");
var exileError = document.getElementById("toast-error-message");
var usernameField = document.getElementById("exile-username");
var isValidUsername = usernameField.checkValidity();
@ -35,7 +33,7 @@
myToast.hide();
var myToast = new bootstrap.Toast(document.getElementById('toast-post-error'));
myToast.show();
exileError.textContent = JSON.parse(xhr.response)["error"];
document.getElementById("toast-error-message").textContent = "Error. Please try again later.";
}
}
xhr.send(f)

View File

@ -6,7 +6,7 @@
{% include "emoji_modal.html" %}
{% include "gif_modal.html" %}
<script src="/assets/js/setting_profile.js"></script>
<script src="/assets/js/setting_profile.js?v=1"></script>
<div id="posts" class="row">

View File

@ -4,7 +4,7 @@
<head>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"></script>
<script src="/assets/js/signup.js"></script>
<script src="/assets/js/signup.js?v=1"></script>
{% if hcaptcha %}
<script src="https://hcaptcha.com/1/api.js"></script>

View File

@ -36,7 +36,7 @@
{% if 'marsey.tech' in request.host %}
{% if v %}
<script src="/assets/js/comments_v.js?v=2"></script>
<script src="/assets/js/comments_v.js?v=3"></script>
{% include "award_modal.html" %}
{% include "emoji_modal.html" %}
{% include "gif_modal.html" %}
@ -48,7 +48,7 @@
{% endif %}
{% if p.award_count("shit") %}
<script src="/assets/js/bug-min.js"></script>
<script src="/assets/js/bug-min.js?v=1"></script>
{% set minbugs = 10*p.award_count("shit") if p.award_count("shit") < 3 else 20 %}
{% set maxbugs = 20*p.award_count("shit") if p.award_count("shit") < 3 else 40 %}
<script>
@ -64,7 +64,7 @@
{% if p.award_count("fireflies") %}
<script src="/assets/js/fireflies.js"></script>
<script src="/assets/js/fireflies.js?v=1"></script>
{% set minbugs = 10*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 20 %}
{% set maxbugs = 20*p.award_count("fireflies") if p.award_count("fireflies") < 3 else 40 %}
<script>

View File

@ -18,7 +18,7 @@
{% block pagetype %}userpage{% endblock %}
{% block title %}
<script src="/assets/js/userpage.js?v=1"></script>
<script src="/assets/js/userpage.js?v=2"></script>
<title>{{u.username}}'s profile - {{'SITE_NAME' | app_config}}</title>
{% if u.is_private %}
<meta name="robots" content="noindex">